From 189445245e985bf5dfe050da271b128baecbbeff Mon Sep 17 00:00:00 2001 From: Malte Bauch <malte.bauch@stud.h-da.de> Date: Fri, 28 Oct 2022 13:29:03 +0000 Subject: [PATCH] Fix missing workflow rule for scheduled pipelines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See merge request danet/gosdn!388 Co-authored-by: André Sterba <andre.sterba@stud.h-da.de> --- .gitlab-ci.yml | 1 + .gitlab/ci/.renovate.yml | 3 ++- config.js | 3 ++- renovate.json | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 renovate.json diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 432d6c3ad..6411485b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,7 @@ variables: workflow: rules: - if: $CI_PIPELINE_SOURCE == 'push' + - if: $CI_PIPELINE_SOURCE == 'schedule' stages: - tools diff --git a/.gitlab/ci/.renovate.yml b/.gitlab/ci/.renovate.yml index 4ff0fe2fc..5d6d1ee9f 100644 --- a/.gitlab/ci/.renovate.yml +++ b/.gitlab/ci/.renovate.yml @@ -1,10 +1,11 @@ renovate: stage: tools - image: renovate/renovate:32.127.0-slim@sha256:30824333e0978851f96ac8e58e7afa39aaf996de243f8bfcb1d7d6906b46488d + image: renovate/renovate:32.240.4-slim variables: LOG_LEVEL: debug + RENOVATE_BASE_BRANCHES: "develop" script: - renovate $RENOVATE_EXTRA_FLAGS diff --git a/config.js b/config.js index 466b8287b..dd207f85d 100644 --- a/config.js +++ b/config.js @@ -20,5 +20,6 @@ module.exports = { autodiscover: true, prConcurrentLimit: 10, commitMessagePrefix: '[renovate]', - labels: ['renovate'] + labels: ['renovate'], + baseBranches: ['develop'] }; diff --git a/renovate.json b/renovate.json new file mode 100644 index 000000000..1c0c80502 --- /dev/null +++ b/renovate.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "gitAuthor": "renovate@danet.fbi.h-da.de", + "ignorePaths": [ + "**/node_modules/**", + "**/bower_components/**", + "**/api/deps/**", + "csbi/docker-compose.yml", + "docker-compose.yml", + "applications/venv-manager/venv-manager.Dockerfile", + "cli/cli.Dockerfile", + "controller/Dockerfile.debug", + "controller/controller.Dockerfile", + "csbi/Dockerfile.exec", + "csbi/csbi.Dockerfile", + "csbi/gnmi-target/gnmitarget.Dockerfile", + "csbi/resources/Dockerfile", + ".gitlab/ci/.uml-autogen-ci.yml", + ".gitlab/ci/.integration-test.yml", + ".gitlab/ci/.test.yml", + ".gitlab/ci/.code-quality-ci.yml", + ".gitlab/ci/.build-binaries.yml", + "csbi/resources/go.mod", + "csbi/testdata/00000000-0000-0000-0000-000000000000/go.mod", + "controller/test/terraform/containers.tf", + "controller/test/terraform/images.tf", + "controller/test/terraform/main.tf", + "controller/test/terraform/providers.tf" + ], + "prConcurrentLimit": 10, + "commitMessagePrefix": "[renovate]", + "labels": ["renovate"], + "baseBranches": ["develop"] +} -- GitLab