Allow user to specify root folder for artifacts
Release notes
{placeholder for release notes}
Problem
I have a build step
deploy:
stage: deploy
script: ...
artifacts:
paths:
- ci/deploy/
In gitlab I can browse and download the artifacts. However all files are stored in a folder ci/deploy
Lets say my directory structure looks like this
ci/deploy/packages/package1.zip
ci/deploy/packages/package2.zip
ci/deploy/docs/toc.txt
ci/deploy/docs/file.txt
What I really want is an archive containing
packages/package1.zip
packages/package2.zip
docs/toc.txt
docs/file.txt
Proposal
Specify a root
directory. Paths/excludes will then match relative to that root.
# File on disk is located in <build_dir>/root/dir/file.txt
artifacts:
root: root
paths:
- dir/file.txt
Disclaimer
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.