You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/dev_setup.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ There exists a Firebase instance only for Travis.
141
141
For the configuration of Travis following environment variables are used:
142
142
143
143
- FIREBASE_API_KEY
144
-
- FIREBASE_DB: test-mapswipe
144
+
- FIREBASE_DB
145
145
- FIREBASE_TOKEN
146
146
- POSTGRES_DB
147
147
- POSTGRES_HOST
@@ -153,7 +153,12 @@ For the configuration of Travis following environment variables are used:
153
153
154
154
Those variables can be definied directly in the repository settings of Travis. For more inofmration refer to: https://docs.travis-ci.com/user/environment-variables/#defining-variables-in-repository-settings
155
155
156
-
Additionaly a Service Account Key in JSON format is encrypted and added to the GitHub repository using the travis CLI. Read more on that process in the Travis docs: https://docs.travis-ci.com/user/encrypting-files/
156
+
Additionaly a Service Account Key in JSON format is encrypted and added to the GitHub repository using the travis CLI. Once Travis runs it will decrypt the Service Account Key. Read more on that process in the Travis docs: https://docs.travis-ci.com/user/encrypting-files/
157
+
158
+
Once a Travis build succeeds Travis executes an Ansible Playbook to deploy MapSwipe Workers to an already installed and configured server.
159
+
For this to work an SSH-Key (with access rights to the server) is also encrypted and added to the GitHub repository. Travis will decrypt the key and Ansible will use it to execute commands defined in the Playbook on the server.
160
+
161
+
All files encrypted for Travis (Service Account Key, SSH-Key) are stored in the `travis` directory.
0 commit comments