mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix: add env for google client id & secret
This commit is contained in:
1 parent
9ac7fc9752
commit
aac1592957
3 files changed
+7
No files matched your search
@@ -37,6 +37,9 @@ jobs:
|
|||||||
run: docker-compose -f docker-compose.testing.yml build helloworld
|
run: docker-compose -f docker-compose.testing.yml build helloworld
|
||||||
|
|
||||||
- name: Run Cypress Tests
|
- name: Run Cypress Tests
|
||||||
|
env:
|
||||||
|
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
|
||||||
|
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
|
||||||
run: docker-compose -f docker-compose.testing.yml run cypress
|
run: docker-compose -f docker-compose.testing.yml run cypress
|
||||||
|
|
||||||
- name: Tear Down Test Environment
|
- name: Tear Down Test Environment
|
||||||
|
|||||||
@@ -20,6 +20,8 @@ services:
|
|||||||
- players
|
- players
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
environment:
|
environment:
|
||||||
- MONGO_URL=mongodb://user:user-password@db:27017/odyssey-test
|
- MONGO_URL=mongodb://user:user-password@db:27017/odyssey-test
|
||||||
- DOCKER_NETWORK=linux-odyssey-players
|
- DOCKER_NETWORK=linux-odyssey-players
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ services:
|
|||||||
- players
|
- players
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
environment:
|
environment:
|
||||||
- MONGO_URL=mongodb://user:user-password@db-test:27017/odyssey-test
|
- MONGO_URL=mongodb://user:user-password@db-test:27017/odyssey-test
|
||||||
- DOCKER_NETWORK=linux-odyssey-players
|
- DOCKER_NETWORK=linux-odyssey-players
|
||||||
|
|||||||
Reference in new issue
Block a user