Loading .gitlab-ci.yml +14 −14 Original line number Diff line number Diff line Loading @@ -205,20 +205,20 @@ uninterruptible: # Validation jobs # --------------------------------------------------------------- branch-is-up-to-date-with-main-pre: extends: - .rules-merge-request-to-main - .job-linux stage: prevalidate needs: [] script: - | commits_behind_count="$(bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/get-commits-behind-count.sh)" echo "Commits behind: $commits_behind_count" if [ "$commits_behind_count" -ne 0 ]; then echo "Your branch is behind main, run 'git merge origin/main' to update." exit 1 fi # branch-is-up-to-date-with-main-pre: # extends: # - .rules-merge-request-to-main # - .job-linux # stage: prevalidate # needs: [] # script: # - | # commits_behind_count="$(bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/get-commits-behind-count.sh)" # echo "Commits behind: $commits_behind_count" # if [ "$commits_behind_count" -ne 0 ]; then # echo "Your branch is behind main, run 'git merge origin/main' to update." # exit 1 # fi check-self-test-names-pre: extends: Loading Loading
.gitlab-ci.yml +14 −14 Original line number Diff line number Diff line Loading @@ -205,20 +205,20 @@ uninterruptible: # Validation jobs # --------------------------------------------------------------- branch-is-up-to-date-with-main-pre: extends: - .rules-merge-request-to-main - .job-linux stage: prevalidate needs: [] script: - | commits_behind_count="$(bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/get-commits-behind-count.sh)" echo "Commits behind: $commits_behind_count" if [ "$commits_behind_count" -ne 0 ]; then echo "Your branch is behind main, run 'git merge origin/main' to update." exit 1 fi # branch-is-up-to-date-with-main-pre: # extends: # - .rules-merge-request-to-main # - .job-linux # stage: prevalidate # needs: [] # script: # - | # commits_behind_count="$(bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/get-commits-behind-count.sh)" # echo "Commits behind: $commits_behind_count" # if [ "$commits_behind_count" -ne 0 ]; then # echo "Your branch is behind main, run 'git merge origin/main' to update." # exit 1 # fi check-self-test-names-pre: extends: Loading