Skip to content

Commit

Permalink
Ci/upgrade backbone to v5 (#113)
Browse files Browse the repository at this point in the history
* chore: simplify .env

* ci: upgrade backbone to v5
  • Loading branch information
jkoenig134 authored Apr 23, 2024
1 parent 603015c commit c7ecde4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .dev/compose.backbone.env
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
CONSUMERAPI_TAG=v4.5.0
ADMINCLI_TAG=v2.2.3
BACKBONE_VERSION=5.0.0
19 changes: 16 additions & 3 deletions .dev/compose.backbone.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
consumer-api:
image: ghcr.io/nmshd/backbone-consumer-api:${CONSUMERAPI_TAG}
image: ghcr.io/nmshd/backbone-consumer-api:${BACKBONE_VERSION}
container_name: consumer-api
hostname: consumer-api
environment:
Expand All @@ -20,6 +20,18 @@ services:
- source: Config
target: app/appsettings.override.json

event-handler-service:
image: ghcr.io/nmshd/backbone-event-handler:${BACKBONE_VERSION}
container_name: event-handler-service
depends_on:
database:
condition: service_started
rabbitmq:
condition: service_started
configs:
- source: Config
target: app/appsettings.override.json

### infrastructure ###

database:
Expand Down Expand Up @@ -55,17 +67,18 @@ services:
### seeds ###

seed-database:
container_name: seed-database
image: postgres
environment:
- PGPASSWORD=Passw0rd
command: /bin/bash -c 'env && apt update -y && apt install -y wget && wget https://raw.githubusercontent.com/nmshd/backbone/capi/${CONSUMERAPI_TAG}/setup-db/setup-postgres.sql -O /setup-postgres.sql && psql -h postgres -U postgres -d enmeshed -f /setup-postgres.sql'
command: /bin/bash -c 'env && apt update -y && apt install -y wget && wget https://raw.githubusercontent.com/nmshd/backbone/${BACKBONE_VERSION}/setup-db/setup-postgres.sql -O /setup-postgres.sql && psql -h postgres -U postgres -d enmeshed -f /setup-postgres.sql'
depends_on:
database:
condition: service_healthy

seed-client:
container_name: seed-client
image: ghcr.io/nmshd/backbone-admin-cli:${ADMINCLI_TAG}
image: ghcr.io/nmshd/backbone-admin-cli:${BACKBONE_VERSION}
depends_on:
consumer-api:
condition: service_healthy
Expand Down

0 comments on commit c7ecde4

Please sign in to comment.