Skip to content

Commit c8979e2

Browse files
committed
Add graphql service to CI
1 parent 999b2cf commit c8979e2

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/ods.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ jobs:
9797
docker-compose -f docker-compose.yml build storage
9898
docker-compose -f docker-compose.yml build storage-db-liquibase
9999
docker-compose -f docker-compose.yml build storage-mq
100+
docker-compose -f docker-compose.yml build graphql
100101
101102
- name: Build Integration-test
102103
run: |
@@ -117,10 +118,12 @@ jobs:
117118
IMAGE_ID_STORAGE=$(sed -n 's/^DOCKER_REGISTRY=//p' .env)/storage
118119
IMAGE_ID_LIQUIBASE=$(sed -n 's/^DOCKER_REGISTRY=//p' .env)/storage-db-liquibase
119120
IMAGE_ID_STORAGEMQ=$(sed -n 's/^DOCKER_REGISTRY=//p' .env)/storage-mq
121+
IMAGE_ID_STORAGE_GRAPHQL=$(sed -n 's/^DOCKER_REGISTRY=//p' .env)/storage-graphql
120122
121123
docker save $IMAGE_ID_STORAGE > storage_postgrest.tar
122124
docker save $IMAGE_ID_LIQUIBASE > storage_liquibase.tar
123125
docker save $IMAGE_ID_STORAGEMQ > storage_mq.tar
126+
docker save $IMAGE_ID_STORAGE_GRAPHQL > storage_graphql.tar
124127
125128
- name: Upload Storage Docker image as artifact
126129
uses: actions/upload-artifact@v1
@@ -140,6 +143,12 @@ jobs:
140143
name: storagemq-artifact
141144
path: storage_mq.tar
142145

146+
- name: Upload Storage-GraphQL Docker image as artifact
147+
uses: actions/upload-artifact@v1
148+
with:
149+
name: storagegraphql-artifact
150+
path: storage_graphql.tar
151+
143152

144153
# ----------------- PIPELINE SERVICE --------------------
145154

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ services:
168168
POSTGRES_PASSWORD: ods_pw
169169

170170
graphql:
171-
image: ${DOCKER_REGISTRY}/postgraphile
171+
image: ${DOCKER_REGISTRY}/graphql
172172
build: ./storage/postgraphile/
173173
environment:
174174
DATABASE_URL: postgres://ods_admin:ods_pw@storage-db:5432/ods

0 commit comments

Comments
 (0)