Skip to content

Commit

Permalink
tasks: Set $COCKPIT_IMAGES_DATA_DIR in queue monitor containers
Browse files Browse the repository at this point in the history
This was forgotten in commit 8ca1e1f. The container mounts the
image cache, so it should be told where.

In particular, this fixes the `--db` option for generated `store-tests`
commands, which were previously pointing to the default
~/.cache/cockpit-images/.
  • Loading branch information
martinpitt authored and allisonkarlitskaya committed Mar 15, 2024
1 parent 34e7c97 commit 1a44b6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/install-service
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ ExecStart=/usr/bin/podman run --name=cockpit-tasks-%i --hostname=${CONTAINER_HOS
--env=JOB_RUNNER_CONFIG=/config/job-runner.toml \
--env=COCKPIT_GITHUB_TOKEN_FILE=/run/secrets/webhook/.config--github-token \
--env=COCKPIT_S3_KEY_DIR=/run/secrets/tasks/s3-keys \
--env=COCKPIT_IMAGES_DATA_DIR=/cache/images \
--env=GIT_COMMITTER_NAME=Cockpituous \
[email protected] \
--env=GIT_AUTHOR_NAME=Cockpituous \
Expand Down

0 comments on commit 1a44b6e

Please sign in to comment.