e42cafe972
Add unboundsoftware CI templates to the pipeline configuration. This enhances the existing CI workflow by incorporating standard defaults, ensuring consistency and reducing redundancy in configuration.
28 lines
431 B
YAML
28 lines
431 B
YAML
include:
|
|
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
|
|
- project: unboundsoftware/ci-templates
|
|
file: Defaults.gitlab-ci.yml
|
|
|
|
stages:
|
|
- build
|
|
- deploy
|
|
|
|
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- build
|
|
- push
|
|
|
|
deploy-to-prod:
|
|
stage: deploy
|
|
when: on_success
|
|
script:
|
|
- echo Deploy to PROD.
|
|
- deploy prod
|
|
environment:
|
|
name: prod
|
|
only:
|
|
- main
|