Loading .gitlab-ci.yml +0 −3 Original line number Diff line number Diff line Loading @@ -66,9 +66,6 @@ stages: echo "Commit time was $CI_COMMIT_TIMESTAMP" ("echo 'System time is'", "Get-Date -Format 'dddd dd/MM/yyyy HH:mm K'") | Invoke-Expression .mr-get-target-commit: &mr-get-target-commit # compare to last target branch commit before pipeline was created - target_commit=$(git log $CI_MERGE_REQUEST_TARGET_BRANCH_NAME -1 --oneline --before=${CI_PIPELINE_CREATED_AT} --format=%H) .check-for-testvectors: &check-for-testvectors # check if the testvector files specified in scripts/config/ci_linux*.json are present - python3 -m pytest ci/test_vectors_available.py Loading .gitlab-ci/snippets/mr-get-target-commit.sh 0 → 100644 +7 −0 Original line number Diff line number Diff line #! /bin/bash set -euo pipefail cd "${CI_PROJECT_DIR}" exec git log "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" -1 --oneline --before="${CI_PIPELINE_CREATED_AT}" --format="%H" Loading
.gitlab-ci.yml +0 −3 Original line number Diff line number Diff line Loading @@ -66,9 +66,6 @@ stages: echo "Commit time was $CI_COMMIT_TIMESTAMP" ("echo 'System time is'", "Get-Date -Format 'dddd dd/MM/yyyy HH:mm K'") | Invoke-Expression .mr-get-target-commit: &mr-get-target-commit # compare to last target branch commit before pipeline was created - target_commit=$(git log $CI_MERGE_REQUEST_TARGET_BRANCH_NAME -1 --oneline --before=${CI_PIPELINE_CREATED_AT} --format=%H) .check-for-testvectors: &check-for-testvectors # check if the testvector files specified in scripts/config/ci_linux*.json are present - python3 -m pytest ci/test_vectors_available.py Loading
.gitlab-ci/snippets/mr-get-target-commit.sh 0 → 100644 +7 −0 Original line number Diff line number Diff line #! /bin/bash set -euo pipefail cd "${CI_PROJECT_DIR}" exec git log "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" -1 --oneline --before="${CI_PIPELINE_CREATED_AT}" --format="%H"