Draft: Adding Secure Files to CI config
What does this MR do and why?
Related to #350934 (closed), this MR is adds the ability to configure Project-level Secure File in the gitlab-ci.yml file.
This snippet would download all files to the default folder .secure_files
job:
script: '...'
secure_files:
files: true
This snippet would download all files to the custom location ios
job:
script: '...'
secure_files:
path: 'ios'
files: true
This snippet would only download selected files to the specified location
job:
script: '...'
secure_files:
path: 'ios'
files:
- 'upload-keystore.jks'
- 'Development_com.gitlab.unfilteredMobile.mobileprovision'
This snipped would set permissions to the files download and override the download location where specified
job:
script: '...'
secure_files:
location: 'android'
files:
- file: 'upload-keystore.jks'
permissions: 'execute'
- file: 'Development_com.gitlab.unfilteredMobile.mobileprovision'
path: 'ios'
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.