Files
gitlab-cleanup-handler/.gitlab-ci.yml
T
argoyle 8b0294fd9b ci: remove pre-commit stage and include Go pre-commit template
Removes the pre-commit stage from the CI pipeline to streamline 
the build process. Includes a new template for Go pre-commit 
checks to enforce code quality and maintainability standards.
2024-11-14 09:33:49 +01:00

26 lines
603 B
YAML

include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
- project: unboundsoftware/ci-templates
file: Release.gitlab-ci.yml
- project: unboundsoftware/ci-templates
file: Pre-Commit-Go.gitlab-ci.yml
stages:
- build
variables:
DOCKER_HOST: tcp://docker:2375/
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
build:
stage: build
services:
- docker:${DOCKER_DIND_VERSION}
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