Files
argoyle 55033d01d2 feat(ci): add custom CI template for defaults configuration
Includes a custom CI template from the unboundsoftware 
repository to standardize default configurations across 
projects. This change aims to improve build consistency 
and streamline the CI setup process.
2025-06-23 13:47:31 +02:00

35 lines
680 B
YAML

include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
- project: unboundsoftware/ci-templates
file: Defaults.gitlab-ci.yml
stages:
- build
- deploy-prod
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
build:
stage: build
script:
- build
- curl -Os https://uploader.codecov.io/latest/linux/codecov
- chmod +x codecov
- ./codecov -t ${CODECOV_TOKEN} -R $CI_PROJECT_DIR -C $CI_COMMIT_SHA -r $CI_PROJECT_PATH
- push
artifacts:
paths:
- release/
- k8s
deploy-to-prod:
stage: deploy-prod
script:
- echo Deploy to prod.
- deploy prod
environment:
name: prod
rules:
- if: $CI_COMMIT_BRANCH == "main"
when: manual