Skip to content

Commit

Permalink
Merge pull request #1 from rtib/gh223_simplified
Browse files Browse the repository at this point in the history
update to drop deploy parameter
  • Loading branch information
ghoneycutt authored Apr 3, 2019
2 parents 9ab8d3c + e71b7a8 commit ac95194
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,8 @@ Travis uses a .travis.yml file in the root of your repository to learn about you
|remove_branches |Allows you to remove default branches set in config_defaults.yml.|
|notifications |Allows you to specify the notifications configuration in the .travis.yml file.|
|remove_notifications |Allows you to remove default branches set in config_defaults.yml.|
|deploy|Boolean to determine if deploy section should be included to deploy to the Puppet Forge. Defaults to `false`.|
|user|If deploy is `true` this string needs to be set to the Puppet Forge user name.|
|secure|If deploy is `true` this string needs to be set to the encrypted password. See [https://docs.travis-ci.com/user/encryption-keys/#usage](https://docs.travis-ci.com/user/encryption-keys/#usage) for instructions on how to encrypt your password.|
|user|This string needs to be set to the Puppet Forge user name. To enable deployment the secure key also needs to be set.|
|secure|This string needs to be set to the encrypted password to enable deployment. See [https://docs.travis-ci.com/user/encryption-keys/#usage](https://docs.travis-ci.com/user/encryption-keys/#usage) for instructions on how to encrypt your password.|

### .yardopts

Expand Down
1 change: 0 additions & 1 deletion config_defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
stage: spec
- env: DEPLOY_TO_FORGE=yes
stage: deploy
deploy: false
branches:
- master
- /^v\d/
Expand Down
2 changes: 1 addition & 1 deletion moduleroot/.travis.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ notifications:
<% end -%>
<% end -%>
<% end -%>
<% if @configs['deploy'] -%>
<% unless @configs['user'].nil? || @configs['secure'].nil? -%>
deploy:
provider: puppetforge
user: <%= @configs['user'] %>
Expand Down

0 comments on commit ac95194

Please sign in to comment.