Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Conversation

sauloperez
Copy link
Collaborator

@sauloperez sauloperez commented Nov 11, 2019

This way we skip the manual step. We always want the staging server in sync with master so we can test things in a production-like environment.

EDIT

Unfortunatley, Travis does not support encrypting multiple files (see: travis-ci/travis.rb#239) and although it's been solved in travis-ci/travis.rb#678 there's still no release including it. I followed the documentation at https://docs.travis-ci.com/user/encrypting-files/?source=post_page---------------------------#encrypting-multiple-files and encrypted a tar file that contains all files: the deployment private key and the vault password file.

Yet another reason to switch to an alternative like Circe CI or GitLab...

@sauloperez sauloperez force-pushed the stage-after-merge-into-master branch from 2cbeae9 to bcc45b6 Compare November 11, 2019 10:12
This way we skip the manual step. We always want the staging server in
sync with master so we can test things in a production-like environment.

To do that, we need to add an encrypted file to Travis containing the
vault's password.
Unfortunatley, Travis does not support encrypting multiple files (see:
travis-ci/travis.rb#239) and although it's
been solved in travis-ci/travis.rb#678 there's
still no release including it. I followed the documentation at
https://docs.travis-ci.com/user/encrypting-files/?source=post_page---------------------------#encrypting-multiple-files
and encrypted a tar file that contains all files: the deployment private
key and the vault password file.

Yet another reason to switch to an alternative like Circe CI or
GitLab...
@sauloperez sauloperez force-pushed the stage-after-merge-into-master branch from bcc45b6 to e94ea0b Compare November 11, 2019 10:59
@sauloperez
Copy link
Collaborator Author

travis-ci/travis.rb#627 (comment) might be another workaround

@sauloperez sauloperez merged commit b2ffa89 into master Nov 11, 2019
@markets markets deleted the stage-after-merge-into-master branch June 7, 2021 17:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant