ci: added new jobs
This commit is contained in:
+39
-18
@@ -185,14 +185,6 @@ cache:
|
||||
when: manual
|
||||
allow_failure: true
|
||||
|
||||
build-auth:
|
||||
<<: *build-config
|
||||
variables:
|
||||
IMAGE_NAME: $BASE_IMAGE_NAME/auth
|
||||
CONTAINERFILE: Containerfile
|
||||
BUILDTARGET: runtime
|
||||
SERVICE_NAME: auth
|
||||
|
||||
build-migrate:
|
||||
<<: *build-config
|
||||
variables:
|
||||
@@ -201,6 +193,22 @@ build-migrate:
|
||||
BUILDTARGET: runtime
|
||||
SERVICE_NAME: migrate
|
||||
|
||||
build-gw:
|
||||
<<: *build-config
|
||||
variables:
|
||||
IMAGE_NAME: $BASE_IMAGE_NAME/gw
|
||||
CONTAINERFILE: Containerfile
|
||||
BUILDTARGET: runtime
|
||||
SERVICE_NAME: gw
|
||||
|
||||
build-auth:
|
||||
<<: *build-config
|
||||
variables:
|
||||
IMAGE_NAME: $BASE_IMAGE_NAME/auth
|
||||
CONTAINERFILE: Containerfile
|
||||
BUILDTARGET: runtime
|
||||
SERVICE_NAME: auth
|
||||
|
||||
golangci-lint:
|
||||
stage: lint
|
||||
image: docker.io/golangci/golangci-lint:latest-alpine
|
||||
@@ -249,14 +257,6 @@ go-test:
|
||||
sast-filesystem:
|
||||
<<: *trivy-fs-scan
|
||||
|
||||
sast-image-auth:
|
||||
<<: *trivy-image-scan
|
||||
variables:
|
||||
IMAGE_NAME: $BASE_IMAGE_NAME/auth
|
||||
IMAGE_TYPE: auth
|
||||
dependencies:
|
||||
- build-auth
|
||||
|
||||
sast-image-migrate:
|
||||
<<: *trivy-image-scan
|
||||
variables:
|
||||
@@ -265,16 +265,37 @@ sast-image-migrate:
|
||||
dependencies:
|
||||
- build-migrate
|
||||
|
||||
tag-auth:
|
||||
<<: *tag-config
|
||||
sast-image-gw:
|
||||
<<: *trivy-image-scan
|
||||
variables:
|
||||
IMAGE_NAME: $BASE_IMAGE_NAME/gw
|
||||
IMAGE_TYPE: gw
|
||||
dependencies:
|
||||
- build-gw
|
||||
|
||||
sast-image-auth:
|
||||
<<: *trivy-image-scan
|
||||
variables:
|
||||
IMAGE_NAME: $BASE_IMAGE_NAME/auth
|
||||
IMAGE_TYPE: auth
|
||||
dependencies:
|
||||
- build-auth
|
||||
|
||||
tag-migrate:
|
||||
<<: *tag-config
|
||||
variables:
|
||||
IMAGE_NAME: $BASE_IMAGE_NAME/migrate
|
||||
|
||||
tag-gw:
|
||||
<<: *tag-config
|
||||
variables:
|
||||
IMAGE_NAME: $BASE_IMAGE_NAME/gw
|
||||
|
||||
tag-auth:
|
||||
<<: *tag-config
|
||||
variables:
|
||||
IMAGE_NAME: $BASE_IMAGE_NAME/auth
|
||||
|
||||
# webhook-backend-deploy:
|
||||
# <<: *webhook-config
|
||||
# stage: deploy
|
||||
|
||||
Reference in New Issue
Block a user