Skip to content

Ask before saving .travis.yml in encrypt* commands#721

Merged
BanzaiMan merged 5 commits intomasterfrom
ha-add-confirm
Mar 23, 2020
Merged

Ask before saving .travis.yml in encrypt* commands#721
BanzaiMan merged 5 commits intomasterfrom
ha-add-confirm

Conversation

@BanzaiMan
Copy link
Contributor

Resolves #651.

@BanzaiMan
Copy link
Contributor Author

$ bin/travis encrypt -a -C foo=bar


Overwrite the config file /Users/asari/Development/src/travis-ci/travis.rb/.travis.yml with the content below?

This reformats the existing file.

---
language: ruby
cache: bundler
os:
- linux
rvm:
- jruby
- 2.2.7
- 2.3.8
- 2.4.5
- 2.5.5
- 2.6.3
jobs:
  include:
  - os: osx
    rvm: 2.5.5
  - os: osx
    rvm: 2.6.3
  - stage: deploy
    if: branch = master and type = push
    os: linux
    rvm: 2.6.3
    deploy:
      provider: rubygems
      api_key:
        secure: KcBpkFaes74KGMm8X/rRA8e13+t3PmkefsAvOAR+iF4g1GyuLSPkP92Fb9vFfsXBph+qmFh5rNa2lIRf/3RXW6COxY7CMMaARxUfJOKE0rmIwF0qfKI+RZDh6abg92iYngunMZVN8WVft6Lv9ZTOYCWxr1Zs1Ll/Rl4PfvHNd1g=
      gem: travis
      true:
        repo: travis-ci/travis.rb
        ruby: 2.6.3
      edge: true
env:
  global:
    secure: cS7fkVbLAE83W7YDwxHju0TkuBEOQdXxBLYZdJ5qESU9GDEHvhDoTrsfShNCDaY+cg9LJFovjfBJqzGnci4Y1Wcv8XKneIUpqZYhp/pAIph4DdjNzRDUvx2sRho2ZkEdLCirAudepeweil/F/hyga59nrQsdiSIGCWFCh2/FKJQ=


(y/N)

@BanzaiMan BanzaiMan merged commit 5f91a87 into master Mar 23, 2020
@BanzaiMan BanzaiMan deleted the ha-add-confirm branch March 23, 2020 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

travis encrypt --add destroys file formatting

2 participants