Sha256: d475859831882e9c706f9ef26461ac4f23832ace260c5e9bde5611da148a7d74

Contents?: true

Size: 1.16 KB

Versions: 7

Compression:

Stored size: 1.16 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"
    And the configuration contains the Cloudfront distribution id
    Then jekyll-s3 will push my blog to S3 and invalidate the Cloudfront distribution
    And report that it uploaded 2 new and 0 changed files into S3

  @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"
    And the configuration contains the Cloudfront distribution id
    Then jekyll-s3 will push my blog to S3 and invalidate the Cloudfront distribution
    And report that it uploaded 0 new and 1 changed files into S3
    And report that it invalidated only the changed file on Cloudfront

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jekyll-s3-2.2.2 features/jekyll-s3-cloudfront.feature
jekyll-s3-2.2.1 features/jekyll-s3-cloudfront.feature
jekyll-s3-2.2.0 features/jekyll-s3-cloudfront.feature
jekyll-s3-2.1.2 features/jekyll-s3-cloudfront.feature
jekyll-s3-2.1.1 features/jekyll-s3-cloudfront.feature
jekyll-s3-2.1.0 features/jekyll-s3-cloudfront.feature
jekyll-s3-2.0.0 features/jekyll-s3-cloudfront.feature