ci: added jobs for new service
This commit is contained in:
@@ -209,6 +209,14 @@ build-auth:
|
|||||||
BUILDTARGET: runtime
|
BUILDTARGET: runtime
|
||||||
SERVICE_NAME: auth
|
SERVICE_NAME: auth
|
||||||
|
|
||||||
|
build-competition:
|
||||||
|
<<: *build-config
|
||||||
|
variables:
|
||||||
|
IMAGE_NAME: $BASE_IMAGE_NAME/competition
|
||||||
|
CONTAINERFILE: Containerfile
|
||||||
|
BUILDTARGET: runtime
|
||||||
|
SERVICE_NAME: competition
|
||||||
|
|
||||||
golangci-lint:
|
golangci-lint:
|
||||||
stage: lint
|
stage: lint
|
||||||
image: docker.io/golangci/golangci-lint:latest-alpine
|
image: docker.io/golangci/golangci-lint:latest-alpine
|
||||||
@@ -281,6 +289,14 @@ sast-image-auth:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- build-auth
|
- build-auth
|
||||||
|
|
||||||
|
sast-image-competition:
|
||||||
|
<<: *trivy-image-scan
|
||||||
|
variables:
|
||||||
|
IMAGE_NAME: $BASE_IMAGE_NAME/competition
|
||||||
|
IMAGE_TYPE: competition
|
||||||
|
dependencies:
|
||||||
|
- build-competition
|
||||||
|
|
||||||
tag-migrate:
|
tag-migrate:
|
||||||
<<: *tag-config
|
<<: *tag-config
|
||||||
variables:
|
variables:
|
||||||
@@ -296,6 +312,11 @@ tag-auth:
|
|||||||
variables:
|
variables:
|
||||||
IMAGE_NAME: $BASE_IMAGE_NAME/auth
|
IMAGE_NAME: $BASE_IMAGE_NAME/auth
|
||||||
|
|
||||||
|
tag-competition:
|
||||||
|
<<: *tag-config
|
||||||
|
variables:
|
||||||
|
IMAGE_NAME: $BASE_IMAGE_NAME/competition
|
||||||
|
|
||||||
# webhook-backend-deploy:
|
# webhook-backend-deploy:
|
||||||
# <<: *webhook-config
|
# <<: *webhook-config
|
||||||
# stage: deploy
|
# stage: deploy
|
||||||
|
|||||||
Reference in New Issue
Block a user