Loading .gitlab-ci.yml +4 −3 Original line number Diff line number Diff line Loading @@ -24,8 +24,9 @@ workflow: - when: always renovate:dry-run: script: - renovate --dry-run=full $RENOVATE_EXTRA_FLAGS extends: .renovate variables: RENOVATE_DRY_RUN: full rules: - if: $CI_PIPELINE_SOURCE == "schedule" when: never Loading Loading @@ -62,8 +63,8 @@ release: GIT_COMMITTER_EMAIL: bot@renovateapp.com before_script: - npm ci --cache .npm --prefer-offline script: - git config --global --add safe.directory $PWD script: - npx --no-install semantic-release rules: - if: $CI_PIPELINE_SOURCE == "schedule" Loading README.md +2 −1 Original line number Diff line number Diff line Loading @@ -57,6 +57,7 @@ include: - project: 'renovate-bot/renovate-runner' file: '/templates/renovate.gitlab-ci.yml' renovate: image: ${CI_RENOVATE_IMAGE_FULL} ``` Loading templates/renovate-config-validator.gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -6,4 +6,5 @@ variables: renovate-config-validator: stage: test image: $CI_RENOVATE_IMAGE script: renovate-config-validator script: - renovate-config-validator templates/renovate-dind.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line include: '/templates/renovate.gitlab-ci.yml' deprecated: image: alpine@sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 stage: test script: - echo "This template is deprecated! Use '/templates/renovate.gitlab-ci.yml' instead." templates/renovate.gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -15,23 +15,23 @@ variables: CI_RENOVATE_IMAGE: ghcr.io/renovatebot/renovate:35.75.0-slim@sha256:fa4f7db80ddbf62e3f29ec6d909c70d10350bb0fa6747f288628d68a4469dc87 CI_RENOVATE_IMAGE_FULL: ghcr.io/renovatebot/renovate:35.75.0@sha256:7a2de5bf038741c74bf8d40684c51ed7701fdadc611eda32344334d34a9ad563 default: .renovate: cache: key: ${CI_COMMIT_REF_SLUG}-renovate paths: - renovate/cache/renovate/repository/ image: ${CI_RENOVATE_IMAGE} script: - renovate $RENOVATE_EXTRA_FLAGS renovate: extends: .renovate stage: deploy resource_group: production rules: - if: '$CI_PIPELINE_SOURCE == "schedule"' script: - renovate $RENOVATE_EXTRA_FLAGS artifacts: when: always expire_in: 1d paths: - '$RENOVATE_LOG_FILE' image: ${CI_RENOVATE_IMAGE} Loading
.gitlab-ci.yml +4 −3 Original line number Diff line number Diff line Loading @@ -24,8 +24,9 @@ workflow: - when: always renovate:dry-run: script: - renovate --dry-run=full $RENOVATE_EXTRA_FLAGS extends: .renovate variables: RENOVATE_DRY_RUN: full rules: - if: $CI_PIPELINE_SOURCE == "schedule" when: never Loading Loading @@ -62,8 +63,8 @@ release: GIT_COMMITTER_EMAIL: bot@renovateapp.com before_script: - npm ci --cache .npm --prefer-offline script: - git config --global --add safe.directory $PWD script: - npx --no-install semantic-release rules: - if: $CI_PIPELINE_SOURCE == "schedule" Loading
README.md +2 −1 Original line number Diff line number Diff line Loading @@ -57,6 +57,7 @@ include: - project: 'renovate-bot/renovate-runner' file: '/templates/renovate.gitlab-ci.yml' renovate: image: ${CI_RENOVATE_IMAGE_FULL} ``` Loading
templates/renovate-config-validator.gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -6,4 +6,5 @@ variables: renovate-config-validator: stage: test image: $CI_RENOVATE_IMAGE script: renovate-config-validator script: - renovate-config-validator
templates/renovate-dind.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line include: '/templates/renovate.gitlab-ci.yml' deprecated: image: alpine@sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 stage: test script: - echo "This template is deprecated! Use '/templates/renovate.gitlab-ci.yml' instead."
templates/renovate.gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -15,23 +15,23 @@ variables: CI_RENOVATE_IMAGE: ghcr.io/renovatebot/renovate:35.75.0-slim@sha256:fa4f7db80ddbf62e3f29ec6d909c70d10350bb0fa6747f288628d68a4469dc87 CI_RENOVATE_IMAGE_FULL: ghcr.io/renovatebot/renovate:35.75.0@sha256:7a2de5bf038741c74bf8d40684c51ed7701fdadc611eda32344334d34a9ad563 default: .renovate: cache: key: ${CI_COMMIT_REF_SLUG}-renovate paths: - renovate/cache/renovate/repository/ image: ${CI_RENOVATE_IMAGE} script: - renovate $RENOVATE_EXTRA_FLAGS renovate: extends: .renovate stage: deploy resource_group: production rules: - if: '$CI_PIPELINE_SOURCE == "schedule"' script: - renovate $RENOVATE_EXTRA_FLAGS artifacts: when: always expire_in: 1d paths: - '$RENOVATE_LOG_FILE' image: ${CI_RENOVATE_IMAGE}