Archived
1
0
Fork 0
This repository has been archived on 2023-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
psenv-test/README.md

28 lines
844 B
Markdown
Raw Permalink Normal View History

# psenv-test
2019-10-03 22:39:54 -04:00
Used for testing the psenv-rails gem to validate.
2019-10-03 22:39:54 -04:00
## Usage
2019-10-03 22:39:54 -04:00
* Generate new parameter store variable in AWS
* `/psenv/test/API_KEY` with value "api_key_value"
* `PARAMETER_STORE_PATH=/psenv/test bundle exec rails test`
2019-10-03 22:39:54 -04:00
## New Versions
2019-10-03 22:39:54 -04:00
To test new versions of the gem, you can install the psenv-rails gem locally and
reference it:
2019-10-03 22:39:54 -04:00
1. Clone psenv and complete work
1. Likely updating Railtie requirements
1. Update psenv lib/psenv/version.rb
1. Example version name: `0.5.16-local`
1. Run `bundle exec rake install` in psenv directory
1. Note new gem version installed locally
1. Example gem version: `0.5.16.pre.local`
1. Open psenv-test project
1. Update Gemfile with test version
1. `gem 'psenv-rails', '0.5.16.pre.local'`
1. `bundle install`
1. `PARAMETER_STORE_PATH=/psenv/test bundle exec rails test`