README.md in jets_gem_layer-1.0.0 vs README.md in jets_gem_layer-1.0.1
- old
+ new
@@ -53,16 +53,16 @@
```
3. After running `bundle install`, run `rake -T` and you should see this Gem's tasks available for use.
```
➜ rake -T
-rake gem_layer:build_and_publish # Build, publish, and clean (will be a no-op if already published)
-rake gem_layer:build # Build the gem layer zip file
-rake gem_layer:publish # Publish the built gem laye zip to AWS
-rake gem_layer:clean # Clean up the gem's tmp files
-rake gem_layer:cleanup_published # Deletes all prior versions of the lamda layer from AWS
-rake gem_layer:delete_all_published # Deletes all versions of the lamda layer from AWS
+rake gem_layer:build_and_publish # Build and publish a gem layer version, if necessary
+rake gem_layer:build # Build a gem layer zip file
+rake gem_layer:publish # Publish the already built layer zip file
+rake gem_layer:clean # Clean jets_gem_layer tmp files
+rake gem_layer:cleanup_published # Delete old layer versions from AWS (for use after deployment)
+rake gem_layer:delete_all_published # Delete all published versions of the gem layer from AWS
```
## Configuration
The following environmental variables may be used:
@@ -73,14 +73,14 @@
specific to your Gemfile. For example, to build the `mysql2` gem you will need to set `GEM_LAYER_PACKAGE_DEPENDENCIES=mysql-devel`.
Dependencies will be installed within the build container and copied into the published Lambda Layer.
## Deployment
Within your project directory (example for development environment) or through your CI/CD platform:
-1. `JETS_ENV=development JETS_AGREE=no rake gem_layer:build_and_publish`
+1. `JETS_ENV=development rake gem_layer:build_and_publish`
* If needed, builds and publishes a new gem layer version based on the current Jets namespace, Gemfile.lock and Gemfile
2. `JETS_ENV=development JETS_AGREE=no jets deploy`
* Deploy your application
-3. `JETS_ENV=development JETS_AGREE=no rake gem_layer:cleanup_published`
+3. `JETS_ENV=development rake gem_layer:cleanup_published`
* After a successful deploy, you may run this to cleanup the old gem layer version(s) no longer in use
## Acknowledgements
A big thank you to the authors of [Lambda Layer Cake](https://github.com/loganb/lambda-layer-cake), which served as a reference.
\ No newline at end of file