From 1a44b6ec79e2b7cacf0f8bd96d484d7b49261bc0 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 13 Mar 2024 14:22:22 +0100 Subject: [PATCH] tasks: Set `$COCKPIT_IMAGES_DATA_DIR` in queue monitor containers This was forgotten in commit 8ca1e1fc5735b5. 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/. --- tasks/install-service | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/install-service b/tasks/install-service index 4898dc87..f8ffba26 100755 --- a/tasks/install-service +++ b/tasks/install-service @@ -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 \ --env=GIT_COMMITTER_EMAIL=cockpituous@cockpit-project.org \ --env=GIT_AUTHOR_NAME=Cockpituous \