Skip to content

Commit 24ec1fc

Browse files
initial state for challenge 7
1 parent 28cf0fe commit 24ec1fc

File tree

7 files changed

+14
-21
lines changed

7 files changed

+14
-21
lines changed

sync-hooks-waves/06-waves-and-hooks/cleanup.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ kind: Job
33
metadata:
44
namespace: example06
55
generateName: cleanup-after-sync-
6-
annotations:
7-
argocd.argoproj.io/hook: PostSync
8-
argocd.argoproj.io/sync-wave: "20"
6+
labels:
7+
codefresh.io/cert: cleanup-job
98
spec:
109
template:
1110
spec:

sync-hooks-waves/06-waves-and-hooks/db-upgrade.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ kind: Job
33
metadata:
44
namespace: example06
55
generateName: my-db-upgrade-
6-
annotations:
7-
argocd.argoproj.io/hook: PreSync
8-
argocd.argoproj.io/sync-wave: "10"
6+
labels:
7+
codefresh.io/cert: db-job
98
spec:
109
template:
1110
spec:

sync-hooks-waves/06-waves-and-hooks/disable-alerts.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ kind: Job
33
metadata:
44
namespace: example06
55
generateName: disable-alerts-
6-
annotations:
7-
argocd.argoproj.io/hook: PreSync
8-
argocd.argoproj.io/sync-wave: "20"
6+
labels:
7+
codefresh.io/cert: disable-job
98
spec:
109
template:
1110
spec:

sync-hooks-waves/06-waves-and-hooks/enable-alerts.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ kind: Job
33
metadata:
44
namespace: example06
55
generateName: enable-alerts-
6-
annotations:
7-
argocd.argoproj.io/hook: PostSync
8-
argocd.argoproj.io/sync-wave: "30"
6+
labels:
7+
codefresh.io/cert: enable-job
98
spec:
109
template:
1110
spec:

sync-hooks-waves/06-waves-and-hooks/grafana-notify.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ kind: Job
33
metadata:
44
namespace: example06
55
generateName: grafana-notify-
6-
annotations:
7-
argocd.argoproj.io/hook: Sync
8-
argocd.argoproj.io/sync-wave: "-10"
6+
labels:
7+
codefresh.io/cert: grafana-job
98
spec:
109
template:
1110
spec:

sync-hooks-waves/06-waves-and-hooks/slack-notify.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ kind: Job
33
metadata:
44
namespace: example06
55
generateName: slack-notify-
6-
annotations:
7-
argocd.argoproj.io/hook: PostSync
8-
argocd.argoproj.io/sync-wave: "30"
6+
labels:
7+
codefresh.io/cert: slack-job
98
spec:
109
template:
1110
spec:

sync-hooks-waves/06-waves-and-hooks/smoke-tests.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ kind: Job
33
metadata:
44
namespace: example06
55
generateName: smoke-tests-
6-
annotations:
7-
argocd.argoproj.io/hook: PostSync
8-
argocd.argoproj.io/sync-wave: "10"
6+
labels:
7+
codefresh.io/cert: smoke-job
98
spec:
109
template:
1110
spec:

0 commit comments

Comments
 (0)