fix ci/cd
Deploy app frontend / app frontend (push) Successful in 1m7s
Deploy service couchdb / service couchdb (push) Successful in 17s
Deploy db-migrations / db-migrations (push) Failing after 54s
Deploy service message-delivery-method-web-push / service message-delivery-method-web-push (push) Successful in 43s
Deploy app frontend / app frontend (push) Successful in 1m7s
Deploy service couchdb / service couchdb (push) Successful in 17s
Deploy db-migrations / db-migrations (push) Failing after 54s
Deploy service message-delivery-method-web-push / service message-delivery-method-web-push (push) Successful in 43s
This commit is contained in:
@@ -17,8 +17,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: build docker image
|
- name: build docker image
|
||||||
run: |
|
run: COUCHDB_TAG=${{env.GITHUB_SHA}} docker compose -p hereconnect build couchdb
|
||||||
docker build --file services/couchdb/Dockerfile -t hereconnect/service-couchdb:${{env.GITHUB_SHA}} services/couchdb
|
|
||||||
|
|
||||||
- name: start container
|
- name: start container
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
pnpm --filter ./services/db-migrations deploy --prod build/service-db-migrations
|
pnpm --filter ./services/db-migrations deploy --prod build/service-db-migrations
|
||||||
|
|
||||||
- name: build docker image
|
- name: build docker image
|
||||||
run: docker build --file services/db-migrations/Dockerfile -t hereconnect/service-db-migrations:${{env.GITHUB_SHA}} build/service-db-migrations
|
run: DB_MIGRATIONS_TAG=${{env.GITHUB_SHA}} docker compose -p hereconnect build db-migrations
|
||||||
|
|
||||||
- name: start container
|
- name: start container
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
couchdb:
|
couchdb:
|
||||||
|
build: services/couchdb
|
||||||
image: hereconnect/service-couchdb:${COUCHDB_TAG:-latest}
|
image: hereconnect/service-couchdb:${COUCHDB_TAG:-latest}
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
@@ -22,6 +23,7 @@ services:
|
|||||||
|
|
||||||
db-migrations:
|
db-migrations:
|
||||||
image: hereconnect/service-db-migrations:${DB_MIGRATIONS_TAG:-latest}
|
image: hereconnect/service-db-migrations:${DB_MIGRATIONS_TAG:-latest}
|
||||||
|
build: build/service-db-migrations
|
||||||
volumes:
|
volumes:
|
||||||
- db_migrations_data:/opt/db-migrations/data
|
- db_migrations_data:/opt/db-migrations/data
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user