#1304 openshift-apps: put fedora-ostree-pruner to sleep
Merged a year ago by jlebon. Opened a year ago by dustymabe.
fedora-infra/ dustymabe/ansible dusty-pruner-sleep  into  main

@@ -20,8 +20,8 @@ 

        - name: coreos-ostree-importer

          # sleep infinity is useful for debugging environment issues

          # comment out when not debugging

-         # args: ['infinity']

-         # command: ['/usr/bin/sleep']

+         # args: ['/usr/bin/sleep', 'infinity']

+         # command: ['/usr/bin/dumb-init']

          volumeMounts:

          - name: fedora-ostree-content-volume

            mountPath: /mnt/koji

@@ -20,8 +20,8 @@ 

        - name: fedora-ostree-pruner

          # sleep infinity is useful for debugging environment issues

          # comment out when not debugging

-         #args: ['infinity']

-         #command: ['/usr/bin/sleep']

+         args: ['/usr/bin/sleep', 'infinity']

+         command: ['/usr/bin/dumb-init']

          volumeMounts:

          - name: fedora-ostree-content-volume

            mountPath: /mnt/koji

The most recent run caused some data loss [1] so let's put it to
sleep while we wait for the fix [2] to land.

[1] https://github.com/fedora-silverblue/issue-tracker/issues/405
[2] https://github.com/ostreedev/ostree/pull/2808

Build succeeded.

Pull-Request has been merged by jlebon

a year ago