Sha256: 2188d10a48da9b30f760e707b2df7911e278d558a3e19cca23d5ecdbe948f2ac
Contents?: true
Size: 1.97 KB
Versions: 28
Compression:
Stored size: 1.97 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 s3_website 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 S3 website is in "features/support/test_site_dirs/cdn-powered.blog.fi" And I call the push command Then 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 S3 website is in "features/support/test_site_dirs/cdn-powered.with-one-change.blog.fi" And I call the push command Then the output should equal """ Deploying features/support/test_site_dirs/cdn-powered.with-one-change.blog.fi/_site/* to s3-website-test.net Calculating diff ... done Uploading 1 changed file(s) Upload index.html: Success! Done! Go visit: http://s3-website-test.net.s3-website-us-east-1.amazonaws.com/index.html Invalidating Cloudfront items... /index.html / succeeded """ @s3-and-cloudfront-after-deleting-a-file Scenario: Delete a blog post and then push the website When my S3 website is in "features/support/test_site_dirs/cdn-powered.when-deleted-a-file.blog.fi" And I call the push command Then the output should equal """ Deploying features/support/test_site_dirs/cdn-powered.when-deleted-a-file.blog.fi/_site/* to s3-website-test.net Calculating diff ... done No new or changed files to upload Delete css/styles.css: Success! Done! Go visit: http://s3-website-test.net.s3-website-us-east-1.amazonaws.com/index.html Invalidating Cloudfront items... /css/styles.css / succeeded """
Version data entries
28 entries across 28 versions & 2 rubygems