Remove wait for job script precondition

This commit is contained in:
Joseph Hanson 2024-03-30 08:20:37 -05:00
parent 7605a37617
commit 329e308ba4
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -34,7 +34,7 @@ tasks:
namespace: '{{.namespace | default "default"}}' namespace: '{{.namespace | default "default"}}'
env: *task-vars env: *task-vars
preconditions: preconditions:
- sh: test -f {{.waitForJobScript}} # - sh: test -f {{.waitForJobScript}}
- sh: test -f {{.listJobTemplate}} - sh: test -f {{.listJobTemplate}}
unlock: unlock:
@ -71,7 +71,7 @@ tasks:
namespace: '{{.namespace | default "default"}}' namespace: '{{.namespace | default "default"}}'
env: *task-vars env: *task-vars
preconditions: preconditions:
- sh: test -f {{.waitForJobScript}} # - sh: test -f {{.waitForJobScript}}
- sh: kubectl -n {{.namespace}} get replicationsources {{.rsrc}} - sh: kubectl -n {{.namespace}} get replicationsources {{.rsrc}}
msg: "ReplicationSource '{{.rsrc}}' not found in namespace '{{.namespace}}'" msg: "ReplicationSource '{{.rsrc}}' not found in namespace '{{.namespace}}'"
@ -116,7 +116,7 @@ tasks:
preconditions: preconditions:
- sh: test -f {{.wipeJobTemplate}} - sh: test -f {{.wipeJobTemplate}}
- sh: test -f {{.destinationTemplate}} - sh: test -f {{.destinationTemplate}}
- sh: test -f {{.waitForJobScript}} # - sh: test -f {{.waitForJobScript}}
# Suspend the Flux ks and hr # Suspend the Flux ks and hr
restore-suspend-app: restore-suspend-app: