We have a test job that generates some artifacts which expire in X time and then we have deploy job after it, which has no dependencies on those artifacts from previous job required, yet it fails when the artifacts are expired. Any ideas what’s wrong here?
fast-tests: .... artifacts: expire_in: 1 week when: always paths: - $(pwd)/videos/**/*.mp4 - $(pwd)/screenshots/**/*.png
deploy1: stage: deploy script: .... environment: name: demo when: manual only: - master
All the irrelevant details have been omitted. When you run that deploy1 job after a week it fails with
This job could not start because it could not retrieve the needed artifacts: fast-tests
The link included on the failed job page leads to ‘dependencies’ keyword in docs, but clearly there is no dependency defined there. Is this a bug?