Skip to content

Commit

Permalink
Add graphql service to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
georg-schwarz committed Aug 23, 2021
1 parent 999b2cf commit 8bb28a3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/ods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ jobs:
docker-compose -f docker-compose.yml build storage
docker-compose -f docker-compose.yml build storage-db-liquibase
docker-compose -f docker-compose.yml build storage-mq
docker-compose -f docker-compose.yml build graphql
- name: Build Integration-test
run: |
Expand All @@ -117,10 +118,12 @@ jobs:
IMAGE_ID_STORAGE=$(sed -n 's/^DOCKER_REGISTRY=//p' .env)/storage
IMAGE_ID_LIQUIBASE=$(sed -n 's/^DOCKER_REGISTRY=//p' .env)/storage-db-liquibase
IMAGE_ID_STORAGEMQ=$(sed -n 's/^DOCKER_REGISTRY=//p' .env)/storage-mq
IMAGE_ID_STORAGE_GRAPHQL=$(sed -n 's/^DOCKER_REGISTRY=//p' .env)/storage-graphql
docker save $IMAGE_ID_STORAGE > storage_postgrest.tar
docker save $IMAGE_ID_LIQUIBASE > storage_liquibase.tar
docker save $IMAGE_ID_STORAGEMQ > storage_mq.tar
docker save $IMAGE_ID_STORAGE_GRAPHQL > storage_graphql.tar
- name: Upload Storage Docker image as artifact
uses: actions/upload-artifact@v1
Expand All @@ -140,6 +143,12 @@ jobs:
name: storagemq-artifact
path: storage_mq.tar

- name: Upload Storage-GraphQL Docker image as artifact
uses: actions/upload-artifact@v1
with:
name: storagegraphql-artifact
path: storage_graphql.tar


# ----------------- PIPELINE SERVICE --------------------

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ services:
POSTGRES_PASSWORD: ods_pw

graphql:
image: ${DOCKER_REGISTRY}/postgraphile
image: ${DOCKER_REGISTRY}/storage-graphql
build: ./storage/postgraphile/
environment:
DATABASE_URL: postgres://ods_admin:ods_pw@storage-db:5432/ods
Expand Down

0 comments on commit 8bb28a3

Please sign in to comment.