You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I was wondering if it's possible to pass an artifacts list to download instead of having them all download when I need only one of them. This would speed up my pipeline a lot since I use rather large artifacts. I swear I've seen this done before, but I might be wrong. 🤔
In an example like this one, the artifact would download, extract, scripts would be able to edit the data and then it would be reuploaded and passed to further steps... 🤔
You can disable artifact downloading on certain steps that do not require any artifacts by adding the download false flag in YAML as the following example:
- step: name: Integration test image: node:10.15.0 caches: - node script: # By default, download artifacts from the previous step - cat reports/tests.txt - npm run integration-test - step: name: A step that doesn't need artifacts artifacts: download: false # Disabling artifact downloads during this step script: - echo "Hello World!" > hello.txt
As above example, the 1st step will download artifacts while the 2nd step will skip downloading artifacts.
However, if you wish to only skip one of the many artifacts you have in steps, then I believe it's currently not possible. The flag only worked by skipping all artifacts downloaded.
For more information, please check the artifacts page here.