Loading project-automation/badge.yml +3 −4 Original line number Diff line number Diff line --- # This job will create or update any badges set through other jobs. # This job will create or update a badge when extended using the following template. # It requires a Project Access Token or Personal Access Token with api scope set # as a CI/CD variable called GL_TOKEN. # To create your own automatic badges, add the following to your .gitlab-ci.yml: Loading @@ -12,14 +12,14 @@ # COLOR: "red" # URL: "${CI_PROJECT_URL}/tags/${CI_COMMIT_TAG}" # rules: # - if: ($CI_COMMIT_TAG =~ /^v[0-9]+(\.[0-9]+){2}$/ && $GL_TOKEN) # - if: $GL_TOKEN # Make sure your_custom_job is replaced and unique, and you've changed the variables # according to your preferences. # Choose a color from this list: https://github.com/jongracecox/anybadge#colors # Make sure your rules at least includes the requirement of $GL_TOKEN # Make sure your rules at least include the requirement of $GL_TOKEN .badge: image: registry.gitlab.com/just-ci/images/anybadge:latest Loading Loading @@ -59,5 +59,4 @@ paths: - ci_badges/*.svg when: always needs: [] allow_failure: true Loading
project-automation/badge.yml +3 −4 Original line number Diff line number Diff line --- # This job will create or update any badges set through other jobs. # This job will create or update a badge when extended using the following template. # It requires a Project Access Token or Personal Access Token with api scope set # as a CI/CD variable called GL_TOKEN. # To create your own automatic badges, add the following to your .gitlab-ci.yml: Loading @@ -12,14 +12,14 @@ # COLOR: "red" # URL: "${CI_PROJECT_URL}/tags/${CI_COMMIT_TAG}" # rules: # - if: ($CI_COMMIT_TAG =~ /^v[0-9]+(\.[0-9]+){2}$/ && $GL_TOKEN) # - if: $GL_TOKEN # Make sure your_custom_job is replaced and unique, and you've changed the variables # according to your preferences. # Choose a color from this list: https://github.com/jongracecox/anybadge#colors # Make sure your rules at least includes the requirement of $GL_TOKEN # Make sure your rules at least include the requirement of $GL_TOKEN .badge: image: registry.gitlab.com/just-ci/images/anybadge:latest Loading Loading @@ -59,5 +59,4 @@ paths: - ci_badges/*.svg when: always needs: [] allow_failure: true