amd64 image binding

This commit is contained in:
Stephan D
2026-03-10 19:49:29 +01:00
parent 3862fa4e52
commit bbdbd9a197
34 changed files with 136 additions and 0 deletions

View File

@@ -7,6 +7,9 @@ matrix:
BFF_VAULT_SECRET_PATH: sendico/edge/bff/vault
BFF_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -87,6 +90,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/bff/build-image.sh
- name: deploy

View File

@@ -5,6 +5,9 @@ matrix:
DOCUMENTS_MONGO_SECRET_PATH: sendico/db
DOCUMENTS_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -82,6 +85,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/billing_documents/build-image.sh
- name: deploy

View File

@@ -5,6 +5,9 @@ matrix:
FEES_MONGO_SECRET_PATH: sendico/db
FEES_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -82,6 +85,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/billing_fees/build-image.sh
- name: deploy

View File

@@ -6,6 +6,9 @@ matrix:
CALLBACKS_VAULT_SECRET_PATH: sendico/edge/callbacks/vault
CALLBACKS_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -83,6 +86,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/callbacks/build-image.sh
- name: deploy

View File

@@ -4,6 +4,9 @@ matrix:
DISCOVERY_DOCKERFILE: ci/prod/compose/discovery.dockerfile
DISCOVERY_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -81,6 +84,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/discovery/build-image.sh
- name: deploy

View File

@@ -4,6 +4,9 @@ matrix:
FRONTEND_DOCKERFILE: ci/prod/compose/frontend.dockerfile
FRONTEND_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -54,6 +57,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ version, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/frontend/build-image.sh
- name: deploy

View File

@@ -8,6 +8,9 @@ matrix:
FX_NEEDS_NATS: "true"
FX_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -87,6 +90,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/fx/build-image.sh
- name: deploy

View File

@@ -8,6 +8,9 @@ matrix:
FX_NEEDS_NATS: "true"
FX_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -88,6 +91,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/fx/build-image.sh
- name: deploy

View File

@@ -8,6 +8,9 @@ matrix:
CHAIN_GATEWAY_VAULT_SECRET_PATH: sendico/gateway/chain/vault
CHAIN_GATEWAY_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -86,6 +89,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "chain gateway image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/chain_gateway/build-image.sh
- name: deploy

View File

@@ -7,6 +7,9 @@ matrix:
MNTX_GATEWAY_NATS_SECRET_PATH: sendico/nats
MNTX_GATEWAY_MONGO_SECRET_PATH: sendico/db
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -85,6 +88,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/mntx/build-image.sh
- name: deploy

View File

@@ -5,6 +5,9 @@ matrix:
TGSETTLE_GATEWAY_MONGO_SECRET_PATH: sendico/db
TGSETTLE_GATEWAY_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -83,6 +86,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/tgsettle/build-image.sh
- name: deploy

View File

@@ -8,6 +8,9 @@ matrix:
TRON_GATEWAY_VAULT_SECRET_PATH: sendico/gateway/tron/vault
TRON_GATEWAY_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -86,6 +89,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/tron_gateway/build-image.sh
- name: deploy

View File

@@ -5,6 +5,9 @@ matrix:
LEDGER_MONGO_SECRET_PATH: sendico/db
LEDGER_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -82,6 +85,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/ledger/build-image.sh
- name: deploy

View File

@@ -8,6 +8,9 @@ matrix:
NOTIFICATION_TELEGRAM_SECRET_PATH: sendico/notification/telegram
NOTIFICATION_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -85,6 +88,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/notification/build-image.sh
- name: deploy

View File

@@ -5,6 +5,9 @@ matrix:
PAYMENTS_METHODS_MONGO_SECRET_PATH: sendico/db
PAYMENTS_METHODS_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -83,6 +86,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/payments_methods/build-image.sh
- name: deploy

View File

@@ -5,6 +5,9 @@ matrix:
PAYMENTS_MONGO_SECRET_PATH: sendico/db
PAYMENTS_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -83,6 +86,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/payments_orchestrator/build-image.sh
- name: deploy

View File

@@ -5,6 +5,9 @@ matrix:
PAYMENTS_QUOTATION_MONGO_SECRET_PATH: sendico/db
PAYMENTS_QUOTATION_ENV: prod
labels:
platform: linux/amd64
when:
- event: push
branch: main
@@ -83,6 +86,7 @@ steps:
image: gcr.io/kaniko-project/executor:debug
depends_on: [ backend-lint, backend-tests, secrets ]
commands:
- '[ "$(uname -m)" = "x86_64" ] || { echo "image build requires an amd64 runner"; exit 1; }'
- sh ci/scripts/payments_quotation/build-image.sh
- name: deploy