I need to speed up the job 'deploy'. It does not need the sources of the project, only the artifacts.
How to disable project cloning for the only job?
Typical .gitlab-ci.yml
(pseudo) looks like:
image: gcc
build:
stage: build
script:
- ./configure
- mkdir build && cd $_
- cmake ..
- make -sj8
artifacts:
paths:
- "build/*.elf"
deploy:
image: artifactory
variables:
- DO_NOT_CLONE: 1 ## WANT THIS OPTION
stage: deploy
script:
- push_artifacts build/*.elf