Adding secure files settings to consolidated object storage
What does this MR do and why?
This MR adds support for consolidated object storage to the Secure Files feature.
Closes gitlab-org/incubation-engineering/mobile-devops/readme#124
How to set up and validate locally
-
Update
gdk.yml
adding the object storage configuration forci_secure_file
, for example:object_store: enabled: true consolidated_form: true connection: provider: 'AWS' aws_access_key_id: '<YOUR AWS ACCESS KEY ID>' aws_secret_access_key: '<YOUR AWS SECRET ACCESS KEY>' objects: ci_secure_files: bucket: your-bucket-name
-
gdk reconfigure
andgdk restart
-
Go to CI/CD settings for any project (i.e.
/flightjs/Flight/-/settings/ci_cd
) and upload a new file under the Secure Files section at the bottom of the page. Use the fixture file inspec/fixtures/ci_secure_files/sample.cer
. -
Confirm the upload request completed successfully, and that the file had been uploaded to the object storage bucket
-
Refresh the page and click the blue View Metadata button for the file
-
Confirm the sample file metadata looks similar to the screenshot below
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.