From 4bd9a36d9467c3b8340b5f93f08cb5b55817b1bc Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Tue, 26 Oct 2021 07:37:38 +0200 Subject: [PATCH] chore: add dependabot config --- .gitlab-ci.yml | 23 +++++++++++++++++------ .gitlab/dependabot.yml | 17 +++++++++++++++++ 2 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 .gitlab/dependabot.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b0b3ade..c3affc3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,12 @@ include: - - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml' +- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml' +- project: 'unboundsoftware/dependabot-staged-flow' + file: '.gitlab-ci.yml' stages: - - build - - acctest +- build +- acctest +- dependabot variables: DOCKER_HOST: tcp://docker:2376 @@ -12,20 +15,28 @@ variables: DOCKER_CERT_PATH: "$DOCKER_TLS_CERTDIR/client" DOCKER_DRIVER: overlay2 +.exclude_from_schedule: ¬_on_schedule + rules: + - if: $CI_PIPELINE_SOURCE == "schedule" + when: never + - when: always + image: buildtool/build-tools:${BUILDTOOLS_VERSION} build: + <<: *not_on_schedule stage: build services: - docker:dind script: - - build - - push + - build + - push artifacts: paths: - - k8s + - k8s acceptance-test: + <<: *not_on_schedule stage: acctest variables: AUTH0MOCK_COMMIT: ${CI_COMMIT_SHA} diff --git a/.gitlab/dependabot.yml b/.gitlab/dependabot.yml new file mode 100644 index 0000000..3ae35a7 --- /dev/null +++ b/.gitlab/dependabot.yml @@ -0,0 +1,17 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: +- package-ecosystem: "npm" + directory: "/" + schedule: + interval: "daily" + open-pull-requests-limit: 20 +- package-ecosystem: "docker" + directory: "/" + schedule: + interval: "daily" + open-pull-requests-limit: 20