a7880a7a99
Eliminate redundant Docker variables in the CI configuration to streamline the process. This simplifies the configuration file, ensuring clarity and reducing potential points of failure in the pipeline.
33 lines
489 B
YAML
33 lines
489 B
YAML
include:
|
|
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
|
|
|
|
stages:
|
|
- build
|
|
- deploy-prod
|
|
|
|
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
|
|
services:
|
|
- docker:${DOCKER_DIND_VERSION}
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- build
|
|
- push
|
|
artifacts:
|
|
paths:
|
|
- release/
|
|
- coverage.html
|
|
- k8s
|
|
|
|
deploy-prod:
|
|
stage: deploy-prod
|
|
before_script:
|
|
- echo Deploy to prod
|
|
script:
|
|
- deploy prod
|
|
only:
|
|
- master
|
|
environment:
|
|
name: prod
|