The child pipelines behave a bit differently than expected,
in this respect.
strategy: depend
needs:
- build
+ variables: # https://gitlab.nic.cz/help/ci/yaml/README.md#artifact-downloads-to-child-pipelines
+ PARENT_PIPELINE_ID: $CI_PIPELINE_ID
except:
refs:
- master@knot/knot-resolver
before_script:
- git config --global user.name CI
- git config --global user.email ci@nic
+ needs: # https://gitlab.nic.cz/help/ci/yaml/README.md#artifact-downloads-to-child-pipelines
+ - pipeline: $PARENT_PIPELINE_ID
+ job: archive
artifacts:
when: always
expire_in: '1 day'