Revert backend rust to 0e7ab9ceb8
This commit is contained in:
parent
fd74ac565b
commit
9fa9c2c295
1 changed files with 4 additions and 32 deletions
|
|
@ -26,25 +26,11 @@ matrix:
|
||||||
- cron
|
- cron
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: validate-registry-secrets
|
|
||||||
image: registry.nxtgauge.com/alpine:3.20
|
|
||||||
environment:
|
|
||||||
REGISTRY_HOSTPORT:
|
|
||||||
from_secret: REGISTRY_HOSTPORT
|
|
||||||
REGISTRY_USERNAME:
|
|
||||||
from_secret: REGISTRY_USERNAME
|
|
||||||
REGISTRY_PASSWORD:
|
|
||||||
from_secret: REGISTRY_PASSWORD
|
|
||||||
commands:
|
|
||||||
- test -n "${REGISTRY_HOSTPORT:-}" || (echo "missing REGISTRY_HOSTPORT" && exit 1)
|
|
||||||
- test -n "${REGISTRY_USERNAME:-}" || (echo "missing REGISTRY_USERNAME" && exit 1)
|
|
||||||
- test -n "${REGISTRY_PASSWORD:-}" || (echo "missing REGISTRY_PASSWORD" && exit 1)
|
|
||||||
- 'test "${REGISTRY_HOSTPORT}" = "registry.nxtgauge.com" || (echo "REGISTRY_HOSTPORT must be registry.nxtgauge.com (got ${REGISTRY_HOSTPORT})" && exit 1)'
|
|
||||||
|
|
||||||
- name: build-and-push
|
- name: build-and-push
|
||||||
image: registry.nxtgauge.com/kaniko:2.1.1
|
image: registry.nxtgauge.com/kaniko:2.1.1
|
||||||
settings:
|
settings:
|
||||||
registry: registry.nxtgauge.com
|
registry:
|
||||||
|
from_secret: REGISTRY_HOSTPORT
|
||||||
username:
|
username:
|
||||||
from_secret: REGISTRY_USERNAME
|
from_secret: REGISTRY_USERNAME
|
||||||
password:
|
password:
|
||||||
|
|
@ -64,25 +50,11 @@ when:
|
||||||
event: push
|
event: push
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: validate-registry-secrets
|
|
||||||
image: registry.nxtgauge.com/alpine:3.20
|
|
||||||
environment:
|
|
||||||
REGISTRY_HOSTPORT:
|
|
||||||
from_secret: REGISTRY_HOSTPORT
|
|
||||||
REGISTRY_USERNAME:
|
|
||||||
from_secret: REGISTRY_USERNAME
|
|
||||||
REGISTRY_PASSWORD:
|
|
||||||
from_secret: REGISTRY_PASSWORD
|
|
||||||
commands:
|
|
||||||
- test -n "${REGISTRY_HOSTPORT:-}" || (echo "missing REGISTRY_HOSTPORT" && exit 1)
|
|
||||||
- test -n "${REGISTRY_USERNAME:-}" || (echo "missing REGISTRY_USERNAME" && exit 1)
|
|
||||||
- test -n "${REGISTRY_PASSWORD:-}" || (echo "missing REGISTRY_PASSWORD" && exit 1)
|
|
||||||
- 'test "${REGISTRY_HOSTPORT}" = "registry.nxtgauge.com" || (echo "REGISTRY_HOSTPORT must be registry.nxtgauge.com (got ${REGISTRY_HOSTPORT})" && exit 1)'
|
|
||||||
|
|
||||||
- name: build-and-push-migrate
|
- name: build-and-push-migrate
|
||||||
image: registry.nxtgauge.com/kaniko:2.1.1
|
image: registry.nxtgauge.com/kaniko:2.1.1
|
||||||
settings:
|
settings:
|
||||||
registry: registry.nxtgauge.com
|
registry:
|
||||||
|
from_secret: REGISTRY_HOSTPORT
|
||||||
username:
|
username:
|
||||||
from_secret: REGISTRY_USERNAME
|
from_secret: REGISTRY_USERNAME
|
||||||
password:
|
password:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue