Skip to content
Snippets Groups Projects
Unverified Commit db2c0d0e authored by Florian Forster's avatar Florian Forster
Browse files

ci(autolabels): Use Renovate to update the "autolabels" dependency.

This allows us to reference a consistent version for both, the CI task definition and the binary.
parent 62bd10d2
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3,11 +3,10 @@ spec:
stage:
default: "build"
version:
default: "v${GL_AUTOLABELS_VERSION}"
default: "v1.3.0" # renovate:managed
vault:
default: ""
---
# Include exactly one of the following files:
include:
# Option 1: Vault with explicit path from the "vault" input
Loading
Loading
@@ -29,9 +28,10 @@ include:
 
# Include the "autolabels 🏷️" job from the autolabels repository.
- project: 'gitlab-com/gl-infra/autolabels'
ref: v1.2.3 # renovate:managed
ref: $[[ inputs.version ]]
file: 'ci-tasks/autolabels.yml'
inputs:
version: $[[ inputs.version ]]
stage: $[[ inputs.stage ]]
 
# Amend the "extends" field to the "autolabels 🏷️" job.
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
spec:
inputs:
vault:
---
---
.autolabels_auth:
id_tokens:
VAULT_ID_TOKEN:
Loading
Loading
@@ -13,4 +13,4 @@ spec:
AUTOLABELS_TOKEN:
file: false
vault: $[[ inputs.vault ]]
token: $VAULT_ID_TOKEN
token: $VAULT_ID_TOKEN
Loading
Loading
@@ -16,6 +16,16 @@
],
"depNameTemplate": "gitlab-com/gl-infra/common-ci-tasks",
"datasourceTemplate": "gitlab-tags"
},
{
"fileMatch": [
"^autolabels\\.yml$"
],
"matchStrings": [
"default: \"(?<currentValue>v[0-9.]+)\" +# renovate:managed"
],
"datasourceTemplate": "docker",
"depNameTemplate": "registry.gitlab.com/gitlab-com/gl-infra/autolabels"
}
],
"packageRules": [
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment