Skip to content
Snippets Groups Projects
Commit 83eba555 authored by Benguria Elguezabal, Gorka's avatar Benguria Elguezabal, Gorka
Browse files

adapts to tecnalia

parent 69fe606e
Branches
Tags
No related merge requests found
Pipeline #152051 passed
include: include:
- project: 'to-be-continuous/tools/gitlab-ci' - component: git.code.tecnalia.com/smartdatalab/public/ci-cd-components/gitlab-ci/extract@master
ref: 'master' inputs:
file: '/templates/extract.yml' extract-script-job-tags: ["docker"]
- project: 'to-be-continuous/tools/gitlab-ci' - component: git.code.tecnalia.com/smartdatalab/public/ci-cd-components/gitlab-ci/validation@master
ref: 'master' inputs:
file: '/templates/validation.yml' check-links-job-tags: ["docker"]
- project: 'to-be-continuous/kicker' tbc-check-job-tags: ["docker"]
ref: 'master' tbc-check-image: cicd-docker-dev.artifact.tecnalia.com/tbc-check:master
file: '/templates/validation.yml' gitlab-ci-lint-job-tags: ["docker"]
- project: 'to-be-continuous/bash' - component: git.code.tecnalia.com/smartdatalab/public/ci-cd-components/kicker/validation@master
ref: '3.4' inputs:
file: '/templates/gitlab-ci-bash.yml' kicker-validation-job-tags: ["docker"]
- project: 'to-be-continuous/semantic-release' schema-base-url: "https://git.code.tecnalia.com/api/v4/projects/smartdatalab%2Fpublic%2Fci-cd-components%2Fkicker/repository/files"
ref: '3.8' - component: git.code.tecnalia.com/smartdatalab/public/ci-cd-components/bash/gitlab-ci-bash@master
file: '/templates/gitlab-ci-semrel.yml' inputs:
bash-shellcheck-job-tags: ["docker"]
- component: git.code.tecnalia.com/smartdatalab/public/ci-cd-components/semantic-release/gitlab-ci-semrel@master
inputs:
semantic-release-job-tags: ["docker"]
stages: stages:
- build - build
......
...@@ -39,6 +39,8 @@ The Renovate template uses some global configuration used throughout all jobs. ...@@ -39,6 +39,8 @@ The Renovate template uses some global configuration used throughout all jobs.
| `platform` / `RENOVATE_PLATFORM` | The Platform type of repository [See doc](https://docs.renovatebot.com/self-hosted-configuration/#platform) | `gitlab` | | `platform` / `RENOVATE_PLATFORM` | The Platform type of repository [See doc](https://docs.renovatebot.com/self-hosted-configuration/#platform) | `gitlab` |
| :lock: `RENOVATE_TOKEN`| A GitLab access token to allow Renovate crawl your projects. [See doc](https://docs.renovatebot.com/modules/platform/gitlab/#authentication) | _none_ | | :lock: `RENOVATE_TOKEN`| A GitLab access token to allow Renovate crawl your projects. [See doc](https://docs.renovatebot.com/modules/platform/gitlab/#authentication) | _none_ |
| :lock: `GITHUB_COM_TOKEN`| A GitHub access token to allow Renovate fetch changelogs. [See doc](https://docs.renovatebot.com/getting-started/running/#githubcom-token-for-changelogs) | _none_ | | :lock: `GITHUB_COM_TOKEN`| A GitHub access token to allow Renovate fetch changelogs. [See doc](https://docs.renovatebot.com/getting-started/running/#githubcom-token-for-changelogs) | _none_ |
| `renovate-validator-job-tags` / `RENOVATE_VALIDATOR_JOB_TAGS` | Tags to be used for selecting runners for the job | `[]` |
| `renovate-depcheck-job-tags` / `RENOVATE_DEPCHECK_JOB_TAGS` | Tags to be used for selecting runners for the job | `[]` |
This template will help you using [Renovate](https://www.mend.io/renovate/) from a GitLab project to This template will help you using [Renovate](https://www.mend.io/renovate/) from a GitLab project to
automate your dependency updates within your groups or projects. automate your dependency updates within your groups or projects.
......
...@@ -25,6 +25,20 @@ ...@@ -25,6 +25,20 @@
"name": "RENOVATE_PLATFORM", "name": "RENOVATE_PLATFORM",
"description": "The Platform type of repository", "description": "The Platform type of repository",
"default": "gitlab" "default": "gitlab"
},
{
"name": "RENOVATE_RENOVATE_VALIDATOR_JOB_TAGS",
"description": "Tags to be used for selecting runners for the job",
"type": "array",
"default": [],
"advanced": true
},
{
"name": "RENOVATE_RENOVATE_DEPCHECK_JOB_TAGS",
"description": "Tags to be used for selecting runners for the job",
"type": "array",
"default": [],
"advanced": true
} }
] ]
} }
...@@ -22,6 +22,14 @@ spec: ...@@ -22,6 +22,14 @@ spec:
platform: platform:
description: The Platform type of repository description: The Platform type of repository
default: gitlab default: gitlab
renovate-validator-job-tags:
description: tags to filter applicable runners for renovate-validator job
default: []
type: array
renovate-depcheck-job-tags:
description: tags to filter applicable runners for renovate-depcheck job
default: []
type: array
--- ---
workflow: workflow:
rules: rules:
...@@ -255,6 +263,7 @@ renovate-validator: ...@@ -255,6 +263,7 @@ renovate-validator:
dependencies: [] dependencies: []
script: script:
- renovate-config-validator - renovate-config-validator
tags: $[[ inputs.renovate-validator-job-tags ]]
# dependency check job: on manual or schedule (dry-run otherwise) # dependency check job: on manual or schedule (dry-run otherwise)
renovate-depcheck: renovate-depcheck:
...@@ -278,3 +287,4 @@ renovate-depcheck: ...@@ -278,3 +287,4 @@ renovate-depcheck:
variables: variables:
RENOVATE_DRY_RUN: "false" RENOVATE_DRY_RUN: "false"
- if: $RENOVATE_TOKEN - if: $RENOVATE_TOKEN
tags: $[[ inputs.renovate-depcheck-job-tags ]]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment