Skip to content

Commit 8aa30d1

Browse files
committed
Replace tabs with spaces
1 parent 49b1ceb commit 8aa30d1

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

ansible/roles/webhook/cockpituous-webhook.service

+21-21
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,29 @@ TimeoutStopSec=70
1111
ExecStart=-/usr/bin/podman pod rm -f cockpituous
1212

1313
ExecStart=/usr/bin/podman run \
14-
--cgroups=no-conmon \
15-
--rm \
16-
-d \
17-
--name cockpituous-rabbitmq \
18-
--pod=new:cockpituous \
19-
--pull=always \
20-
--publish 5671:5671 \
21-
--publish 80:8080 \
22-
--tmpfs /var/lib/rabbitmq \
23-
-v /etc/rabbitmq:/etc/rabbitmq:ro,z \
24-
-v /var/lib/cockpit-secrets/webhook:/run/secrets/webhook:ro,z \
25-
docker.io/rabbitmq
14+
--cgroups=no-conmon \
15+
--rm \
16+
-d \
17+
--name cockpituous-rabbitmq \
18+
--pod=new:cockpituous \
19+
--pull=always \
20+
--publish 5671:5671 \
21+
--publish 80:8080 \
22+
--tmpfs /var/lib/rabbitmq \
23+
-v /etc/rabbitmq:/etc/rabbitmq:ro,z \
24+
-v /var/lib/cockpit-secrets/webhook:/run/secrets/webhook:ro,z \
25+
docker.io/rabbitmq
2626

2727
ExecStart=/usr/bin/podman run \
28-
--cgroups=no-conmon \
29-
--rm \
30-
-d \
31-
--name cockpituous-webhook \
32-
--pod=cockpituous \
33-
--pull=always \
34-
-e AMQP_SERVER=localhost:5671 \
35-
-v /var/lib/cockpit-secrets/webhook:/run/secrets/webhook:ro,z \
36-
quay.io/cockpit/tasks webhook
28+
--cgroups=no-conmon \
29+
--rm \
30+
-d \
31+
--name cockpituous-webhook \
32+
--pod=cockpituous \
33+
--pull=always \
34+
-e AMQP_SERVER=localhost:5671 \
35+
-v /var/lib/cockpit-secrets/webhook:/run/secrets/webhook:ro,z \
36+
quay.io/cockpit/tasks webhook
3737

3838
ExecStop=/usr/bin/podman pod rm -f cockpituous
3939

push-container

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ ID=$($DOCKER images -q $IMAGE:latest | head -n1)
77

88
TAGS=$($DOCKER images --format '{{.Tag}} {{.ID}}' $IMAGE | sort -u | grep $ID | awk '{print $1}')
99
if [ $(echo "$TAGS" | wc -w) -ne "2" ]; then
10-
echo "Expected exactly two tags for the image to push: latest and one other"
11-
exit 1
10+
echo "Expected exactly two tags for the image to push: latest and one other"
11+
exit 1
1212
fi
1313
for PUSHTAG in $TAGS; do
1414
$DOCKER push "$IMAGE:$PUSHTAG"

tasks/Containerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ RUN dnf -y update && \
5757
valgrind \
5858
vim-enhanced \
5959
virt-install \
60-
&& \
60+
&& \
6161
curl -o /tmp/cockpit.spec -s https://raw.githubusercontent.com/cockpit-project/cockpit/main/tools/cockpit.spec && \
6262
dnf -y builddep --setopt=install_weak_deps=False /tmp/cockpit.spec && \
6363
rm /tmp/cockpit.spec && \

0 commit comments

Comments
 (0)