Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encrypt fanjoula.json, decrypt on Travis CI #36 #52

Merged
merged 3 commits into from
Jul 9, 2020

Conversation

tintinnabulate
Copy link
Owner

This patch allows the client secret for the live staging website (Google Cloud Platform) to be accessed by Travis CI for real end-to-end integration testing of the datastore.

We do this by encrypting the client secret, adding to GitHub, and decrypting it on Travis CI.

Thanks goes to this tutorial:

https://dev.to/mmphego/how-to-encrypt-multiple-files-with-travis-ci-5a15

  • .gitignore
    Update to ignore unencrypted client secret

  • .travis.yml
    Decrypt client secret, untar (Autogenerated with ruby gem travis)

  • fanjoula.json
    Revoke this client secret for live staging site

  • secrets.tar.enc
    Add client secret

Tintinnabulate added 3 commits July 9, 2020 20:58
* .gitignore
Update to ignore unencrypted client secret

* .travis.yml
Decrypt client secret (Autogenerated with ruby gem `travis`)

* fanjoula.json
Revoke this client secret for live staging site

* secrets.tar.enc
Add client secret
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.

1 participant