Sha256: 98e55e33166059c0449e3f77db0df1bc18519958d6553e3b8f16b36bedd6147a

Contents?: true

Size: 1.29 KB

Versions: 12

Compression:

Stored size: 1.29 KB

Contents

Feature: Invalidate the Cloudfront distribution

  In order to publish my posts
  As a blogger who delivers his blog via an S3-based Cloudfront distribution
  I want to run jekyll-s3
  And see, that the items in the distribution were invalidated
  So that my latest updates will be immediately available to readers

  @s3-and-cloudfront
  Scenario: Upload to S3 and then invalidate the Cloudfront distribution
    When my Jekyll site is in "features/support/test_site_dirs/cdn-powered.blog.fi"
    Then jekyll-s3 will push my blog to S3 and invalidate the Cloudfront distribution
    And the output should contain
      """
      Invalidating Cloudfront items...
        /
      succeeded
      """

  @s3-and-cloudfront-when-updating-a-file
  Scenario: Update a blog entry and then upload
    When my Jekyll site is in "features/support/test_site_dirs/cdn-powered.with-one-change.blog.fi"
    Then jekyll-s3 will push my blog to S3 and invalidate the Cloudfront distribution
    And the output should equal
      """
      Deploying _site/* to jekyll-s3-test.net
      Uploading 1 changed file(s)
      Upload index.html: Success!
      Done! Go visit: http://jekyll-s3-test.net.s3-website-us-east-1.amazonaws.com/index.html
      Invalidating Cloudfront items...
        /index.html
        /
      succeeded

      """

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
jekyll-s3-3.2.0 features/jekyll-s3-cloudfront.feature
jekyll-s3-3.1.2 features/jekyll-s3-cloudfront.feature
jekyll-s3-3.1.1 features/jekyll-s3-cloudfront.feature
jekyll-s3-3.1.0 features/jekyll-s3-cloudfront.feature
jekyll-s3-3.0.0 features/jekyll-s3-cloudfront.feature
jekyll-s3-2.8.0 features/jekyll-s3-cloudfront.feature
jekyll-s3-2.7.0 features/jekyll-s3-cloudfront.feature
jekyll-s3-2.6.0 features/jekyll-s3-cloudfront.feature
jekyll-s3-2.5.1 features/jekyll-s3-cloudfront.feature
jekyll-s3-2.5.0 features/jekyll-s3-cloudfront.feature
jekyll-s3-2.4.3 features/jekyll-s3-cloudfront.feature
jekyll-s3-2.4.2 features/jekyll-s3-cloudfront.feature