GitLab offers a Project-level Secure Files, the API has you add this to your .gitlab-ci.yml,
test:
variables:
SECURE_FILES_DOWNLOAD_PATH: './where/files/should/go/'
script:
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
However, I'm using the Terraform image which is Alpine without bash which the installer script requires.
How can you use Secure File API if your container doesn't have bash?