Skip to content

Commit

Permalink
Be more specific about docker version
Browse files Browse the repository at this point in the history
  • Loading branch information
WillNilges committed Aug 29, 2023
1 parent 08c226b commit ca7015f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 24 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,42 +28,20 @@ jobs:
- uses: actions/checkout@v3
- name: "We live in the stone age"
run: |
sed -i '/start_period: 3s/d' docker-compose.yaml
sed -i '/ports:/d' docker-compose.yaml
sed -i '/- "8080:8080"/d' docker-compose.yaml
sed -i '/- "8080:8080"/d' docker-compose.yaml
- uses: isbang/[email protected]
with:
compose-file: "./docker-compose.yml"
down-flags: "--volumes"
services: |
postgres
env:
MESHDB_DB_NAME: nymesh-dev
MESHDB_DB_USER: nycmesh
MESHDB_DB_HOST: localhost
MESHDB_DB_PASSWORD: helloThisIsATest
- name: "We live in the stone age but again"
run: |
sleep 3
- uses: isbang/[email protected]
with:
compose-file: "./docker-compose.yml"
down-flags: "--volumes"
services: |
meshdb
env:
MESHDB_DB_NAME: nymesh-dev
MESHDB_DB_USER: nycmesh
MESHDB_DB_HOST: localhost
MESHDB_DB_PASSWORD: helloThisIsATest
#- name: "Setup ephemeral environment"
# run: |
# docker-compose up
# env:
# MESHDB_DB_NAME: nymesh-dev
# MESHDB_DB_USER: nycmesh
# MESHDB_DB_HOST: localhost
# MESHDB_DB_PASSWORD: helloThisIsATest
- name: "Run Integration Test Script"
run: |
pip install -r requirements.txt
Expand Down
4 changes: 3 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3'
version: '3.8'
services:
postgres:
network_mode: "host"
Expand All @@ -18,6 +18,8 @@ services:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
# Other configuration options for your app service
environment:
MESHDB_DB_NAME: ${MESHDB_DB_NAME}
Expand Down

0 comments on commit ca7015f

Please sign in to comment.