-
Notifications
You must be signed in to change notification settings - Fork 0
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
Find some way of testing with cloud datastore #36
Comments
This is really interesting: |
Learn from this Makefile: https://github.com/influxdata/flux/blob/master/Makefile |
The build is currently failing because of this 😢 https://travis-ci.org/github/tintinnabulate/registration-webapp/builds/700031625 P.S., thanks @gs-byte for that link - I'll check it out. @gs-byte - have you managed to implement end-to-end testing using that? I'm particularly interested in performing testing against a live staging website (i.e. a live datastore that really exists on the Internet, but is not the production datastore). |
I might be able to fix the build simply by:
Then the integration test will be able to interact with the live staging datastore & perform end-to-end testing 😃 |
* .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
Encrypt fanjoula.json, decrypt on Travis CI #36 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
Commit 282e918 at least fixes the build. But I want to do more. I'm not sure what yet! I'll come back to this after some thought. |
No description provided.
The text was updated successfully, but these errors were encountered: