Loading .gitlab-ci.yml +6 −6 Original line number Diff line number Diff line Loading @@ -14,8 +14,8 @@ find-files-commit: script: - apt update && apt install -yy --no-install-recommends git - echo "commit SHA $CI_COMMIT_SHA" - echo "working on files..." - git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | tee changed-files.txt - | echo "working on files... $(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | tee changed-files.txt)" except: refs: - merge_requests Loading @@ -34,8 +34,8 @@ find-files-mr: image: debian:stable-slim script: - echo "MR target SHA $CI_MERGE_REQUEST_TARGET_BRANCH_SHA" - echo "working on files..." - git diff-tree --no-commit-id --name-only -r $CI_MERGE_REQUEST_TARGET_BRANCH_SHA | tee changed-files.txt - | echo "working on files: $(git diff-tree --no-commit-id --name-only -r $CI_MERGE_REQUEST_TARGET_BRANCH_SHA | tee changed-files.txt)" only: refs: - merge_requests Loading @@ -52,8 +52,8 @@ find-files-mr: # which generated it. test: script: - echo "working on files..." - cat changed-files.txt - | echo "working on files: $(cat changed-files.txt)" - ./bin/mdl-wrapper $(cat changed-files.txt) only: changes: Loading Loading
.gitlab-ci.yml +6 −6 Original line number Diff line number Diff line Loading @@ -14,8 +14,8 @@ find-files-commit: script: - apt update && apt install -yy --no-install-recommends git - echo "commit SHA $CI_COMMIT_SHA" - echo "working on files..." - git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | tee changed-files.txt - | echo "working on files... $(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | tee changed-files.txt)" except: refs: - merge_requests Loading @@ -34,8 +34,8 @@ find-files-mr: image: debian:stable-slim script: - echo "MR target SHA $CI_MERGE_REQUEST_TARGET_BRANCH_SHA" - echo "working on files..." - git diff-tree --no-commit-id --name-only -r $CI_MERGE_REQUEST_TARGET_BRANCH_SHA | tee changed-files.txt - | echo "working on files: $(git diff-tree --no-commit-id --name-only -r $CI_MERGE_REQUEST_TARGET_BRANCH_SHA | tee changed-files.txt)" only: refs: - merge_requests Loading @@ -52,8 +52,8 @@ find-files-mr: # which generated it. test: script: - echo "working on files..." - cat changed-files.txt - | echo "working on files: $(cat changed-files.txt)" - ./bin/mdl-wrapper $(cat changed-files.txt) only: changes: Loading