Commit 7bf3ba98 authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

extendable job

parent c0f0a95c
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
---
variables:
  UPDATE_CHECK_CURRENT_VERSION: v6.27.3
  UPDATE_CHECK_REPOSITORY: https://gitlab.com/just-ci/templates.git

include:
  - local: project-automation/workflow.yml
  - local: project-automation/find-next-release.yml
@@ -12,6 +8,12 @@ include:
  - local: project-automation/tbump.yml
  - local: project-automation/update-check.yml

update:check:ci-templates:
  extends: .update-check
  variables:
    UPDATE_CHECK_CURRENT_VERSION: v6.27.3
    UPDATE_CHECK_REPOSITORY: https://gitlab.com/just-ci/templates.git

tbump:
  extends:
    - .release:rules
+4 −2
Original line number Diff line number Diff line
---
update-check:
.update-check:
  stage: .pre
  image: docker:git
  variables:
@@ -17,6 +17,8 @@ update-check:
  rules:
    - if: $DISABLE_UPDATE_CHECK
      when: never
    - if: $UPDATE_CHECK_REPOSITORY && $UPDATE_CHECK_CURRENT_VERSION
    - if:
        $UPDATE_CHECK_REPOSITORY && $UPDATE_CHECK_CURRENT_VERSION &&
        $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
  allow_failure: true
  needs: []
+3 −0
Original line number Diff line number Diff line
@@ -21,3 +21,6 @@ src = "project-automation/semantic-release.yml"
[[file]]
src = "project-automation/gitlab/recommended.yml"
search = '-/raw/v{current_version}/project-automation'
[[file]]
src = "pipelines/project-automation.yml"
search = "UPDATE_CHECK_CURRENT_VERSION: v{current_version}"