An error occurred while fetching the assigned iteration of the selected issue.
Gitlab CI overridding concurrent pipelines
An error occurred while loading designs. Please try again.
GraphQL error: Variable $refType of type RefType was provided invalid value
Link issues together to show that they're related or that one is blocking others. Learn more.
When this merge request is accepted, this issue will be closed automatically.
Activity
- Author Owner
- .gitlab-runner/config.toml:
[runners.custom_build_dir] enabled = true
- in .gitlab-ci.yml:
variables: GIT_DEPTH: 5 GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_RUNNER_ID/$CI_CONCURRENT_ID/$CI_PROJECT_NAME/$CI_CONCURRENT_PROJECT_ID
Edited by Venkat Malladi - Author Owner
Linked to atacseq_analysis#21 (closed)
- Author Owner
Another try:
variables: GIT_DEPTH: 5 GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_RUNNER_SHORT_TOKEN/$CI_CONCURRENT_ID/$CI_PROJECT_NAME/$CI_PIPELINE_ID
Edited by Venkat Malladi - Author Owner
Combine with cleanup if all succeeds and this will work.
- Clone for each job
variables: GIT_DEPTH: 5 GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_RUNNER_SHORT_TOKEN/$CI_PROJECT_NAME/$CI_PIPELINE_ID/$CI_CONCURRENT_ID/$CI_JOB_ID/
- Remove work after each job succeds to reduce space. Doesn't work, always runs
after_script: - rm -rf work/
- Remove pipeline directory if it all completed
cleanup_job: stage: cleanup script: - cd $CI_BUILDS_DIR/$CI_RUNNER_SHORT_TOKEN/$CI_PROJECT_NAME - rm -fr $CI_PIPELINE_ID/
- Remove failed pipelines using a cron job that removes directories after 7 days
Edited by Venkat Malladi - Venkat Malladi mentioned in merge request !68 (merged)
mentioned in merge request !68 (merged)
- Gervaise Henry closed via merge request !68 (merged)
closed via merge request !68 (merged)
- Gervaise Henry mentioned in commit df7ed9bf
mentioned in commit df7ed9bf
Please register or sign in to reply