Skip to content
Snippets Groups Projects
Select Git revision
  • renovate/copier-project-template-update
  • renovate/patch-golang-patch
  • main default protected
  • renovate/ghcr.io-containerbase-base-13.x
  • renovate/checkov-patch
  • pguinoiseau/mirroring-vault
  • bvl/fix-golang-group
  • renovate/python-3.x
  • renovate/jdx-mise-2025.x
  • renovate/nodejs-node-20.x
  • renovate/nodejs-node-22.x
  • mattmi/use-system-ruby-on-3
  • mhoidt
  • rocketgirl/test-new-container
  • fix/golangci-lint-versions
  • tmillhouse/bump-renovate-image-version
  • mattmi/allow-running-cookbook-publisher-as-a-bundled-gem
  • mattmi/fix-cookbook-publish-on-ruby-3
  • ktchernov-main-patch-deda
  • mattmi/move-chef-jobs-out-of-templates
  • v2
  • v2.62
  • v2.62.3
  • v2.62.2
  • v2.62.1
  • v2.62.0
  • v2.61
  • v2.61.1
  • v2.61.0
  • v2.60
  • v2.60.0
  • v2.59
  • v2.59.0
  • v2.58
  • v2.58.1
  • v2.58.0
  • v2.57
  • v2.57.5
  • v2.57.4
  • v2.57.3
40 results

common-ci-tasks

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    RENOVATE_GITLAB_TOKEN authored
    75118a11
    History

    gitlab-ci-tools

    This project includes reuseable GitLab-CI jobs for the GitLab Dedicated Project

    Developer Setup

    Looking to setup your workstation? Follow the documentation at: docs/developer-setup.md.

    Warning about Refs

    It is possible to use these templates without a ref tag when including them in your project, but this is not recommended as it may break your build process and make it non-repeatable. For example, if you revert a change, the templates will still reference the latest template which may no longer be compatible. For this reason, it's recommended you always use refs for your templates.

    Templates

    It is preferable to use templates over individual CI jobs as it reduces clutter, increases standardization and improves consistency across projects. Additionally, new functionality can be added to projects with only an upgrade to the ref.

    Template Include Description
    templates/standard.yml This template should be included in all Infrastructure projects. It includes standard checks, gitlab-scanners, validations and release processes common to all projects using this template library.
    templates/golang.yml This template should be used for Golang projects.
    templates/terraform.yml This template should be used for Terraform projects. It performs standard validity checks against the Terraform files in the project.

    CI Jobs

    Alternatively to using the templates above, you can include the following individual jobs.

    Include Description
    gitlab-scanners.yml This adds various GitLab SAST, Dependency Scanner, Secret Detection, Licence Scanning, Container Scanning and IAC Scanner tools.
    asdf-tool-versions Checks that the .tool-versions file is synced with .gitlab-ci-asdf-versions.yml, that all the plugins are declared in ./scripts/install-asdf-plugins.sh and that ASDF is generally working.
    editorconfig-check.yml This job ensures that the repository adheres to the EditorConfig rules for the project.
    go-mod-tidy.yml Ensures that go mod tidy is up-to-date and go.mod and go.sum are tidy.
    go-unittests.yml Runs unit tests to ensure and emits a JUnit XML report for GitLab.
    golangci-lint.yml Runs golangci-lint on the project.
    goreleaser.yml Including this template will build a binary release of the project using GoReleaser.
    renovate-bot.yml Runs renovatebot against the project to automatically upgrade dependencies.
    semantic-release.yml This job will run semantic-release on your repository. This allows the repository to be automatically tagged based on conventional commit messages.
    shellcheck.yml Performs linting for shell scripts using Shellcheck.
    shfmt.yml Validates that shell-scripts use a canonical formatting.
    terraform-format.yml Runs terraform fmt to ensure that all Terraform files are correctly formatted.
    terraform-validate.yml Runs terraform validate to ensure that all Terraform files are valid.
    tflint.yml Runs tflint across all directories that contain *.tf files.