Skip to content

Commit 9bc2271

Browse files
committed
tasks: Drop cockpit-tasks as main entry point
We already overwrite the entry point in the webhook container and on OpenShift, and we are going to for the impending job-runner/job split. So drop it from the image, and instead set it explicitly in the systemd unit.
1 parent b0f9a4c commit 9bc2271

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tasks/Containerfile

-1
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,3 @@ VOLUME /cache/images
8686

8787
USER user
8888
WORKDIR /work
89-
CMD ["/usr/local/bin/cockpit-tasks", "--verbose"]

tasks/install-service

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ ExecStart=/usr/bin/podman run --name=cockpit-tasks-%i --hostname=${CONTAINER_HOS
7070
--env=TEST_JOBS=\${TEST_JOBS} \
7171
--env=TEST_NOTIFICATION_MX=\${TEST_NOTIFICATION_MX} \
7272
--env=TEST_NOTIFICATION_TO=\${TEST_NOTIFICATION_TO} \
73-
quay.io/cockpit/tasks
73+
quay.io/cockpit/tasks cockpit-tasks --verbose
7474
ExecStop=/usr/bin/podman rm -f cockpit-tasks-%i
7575
ExecStop=/usr/bin/podman network rm cockpit-tasks-%i
7676

0 commit comments

Comments
 (0)