Skip to content
Snippets Groups Projects

Issue #3387400: GitlabCI should fetch less from git

Closed Issue #3387400: GitlabCI should fetch less from git
1 unresolved thread
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Andrey Postnikov resolved all threads

    resolved all threads

  • added 1 commit

    • 1ef61ac4 - Fix target branch for commits

    Compare with previous version

  • Andrey Postnikov mentioned in merge request !4765

    mentioned in merge request !4765

  • 250 250 <<: [ *with-yarn-cache, *default-job-settings ]
    251 251 stage: 🪄 Lint
    252 252 script:
    253 - git fetch origin
    254 - export MODIFIED=`git diff --name-only origin/${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}${CI_COMMIT_BRANCH}|while read r;do echo "$CI_PROJECT_DIR/$r";done|tr "\n" " "`
    253 - export TARGET_BRANCH=${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}${CI_COMMIT_BRANCH}
    254 - git fetch -vn --depth=3 "${CI_MERGE_REQUEST_PROJECT_URL:-origin}" "+refs/heads/$TARGET_BRANCH:refs/heads/$TARGET_BRANCH"
  • Dave Long added 1 commit

    added 1 commit

    • cc9ecfd1 - Use $GIT_DEPTH instead of hardcoded 3.

    Compare with previous version

  • Please register or sign in to reply
    Loading