Remove wait for job script precondition
This commit is contained in:
parent
7605a37617
commit
329e308ba4
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue