Skip to content

Commit

Permalink
Merge branch 'main' into release/v5
Browse files Browse the repository at this point in the history
  • Loading branch information
tnotheis committed Apr 23, 2024
2 parents 096a7ff + a2ef47c commit 51524e9
Show file tree
Hide file tree
Showing 40 changed files with 1,029 additions and 252 deletions.
16 changes: 16 additions & 0 deletions .ci/docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,22 @@ services:
- source: Config
target: app/appsettings.override.json

event-handler-service:
container_name: event-handler-service-test
build:
context: ..
dockerfile: EventHandlerService/src/EventHandlerService/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
depends_on:
database:
condition: service_started
rabbitmq:
condition: service_started
configs:
- source: Config
target: app/appsettings.override.json

### infrastructure ###

azure-storage-emulator:
Expand Down
11 changes: 11 additions & 0 deletions .ci/eh/buildContainerImage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env node

import { $ } from "zx";
import { getRequiredEnvVar } from "../lib.js";

const tag = getRequiredEnvVar("TAG");

const platforms = process.env.PLATFORMS ?? "linux/amd64,linux/arm64";
const push = process.env.PUSH === "1" ? ["--push", "--provenance=true", "--sbom=true"] : "";

await $`docker buildx build --file ./EventHandlerService/src/EventHandlerService/Dockerfile --tag ghcr.io/nmshd/backbone-event-handler:${tag} --platform ${platforms} ${push} .`;
4 changes: 4 additions & 0 deletions .ci/helm/buildChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ import { getRequiredEnvVar } from "../lib.js";
const version = getRequiredEnvVar("VERSION");

await $`helm dependency update helm`;

// replace <<app_version>> with the value of `version` in all Chart.yaml files in helm folder
await $`find helm -name Chart.yaml -exec sed -i -e 's/__app_version__/${version}/g' {} +`;

await $`helm package --version ${version} helm`;
46 changes: 0 additions & 46 deletions .github/workflows/publish-acli.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/publish-aui.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/publish-capi.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/publish-fsc.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/publish-helm.yml

This file was deleted.

Loading

0 comments on commit 51524e9

Please sign in to comment.