Skip to content

Commit

Permalink
ansible: Define "image-download" job secret
Browse files Browse the repository at this point in the history
Tests will need that to download private (RHEL) images from the stores.

For now this is the same directory as the upload secret, but at some
point we should split them.
  • Loading branch information
martinpitt committed Mar 11, 2024
1 parent 4586835 commit 1b56efe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ansible/roles/tasks-systemd/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,15 @@
[container.secrets]
# these are *host* paths, this is podman-remote
# FIXME: Split the upload/download secrets
image-upload=[
'--volume=/var/lib/cockpit-secrets/tasks/s3-keys/:/run/secrets/s3-keys:ro',
'--env=COCKPIT_S3_KEY_DIR=/run/secrets/s3-keys',
]
image-download=[
'--volume=/var/lib/cockpit-secrets/tasks/s3-keys/:/run/secrets/s3-keys:ro',
'--env=COCKPIT_S3_KEY_DIR=/run/secrets/s3-keys',
]
github-token=[
'--volume=/var/lib/cockpit-secrets/webhook/.config--github-token:/run/secrets/github-token:ro',
'--env=COCKPIT_GITHUB_TOKEN_FILE=/run/secrets/github-token',
Expand Down

0 comments on commit 1b56efe

Please sign in to comment.