Skip to content

Commit

Permalink
allow running wormhole in all jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
manveru committed Jun 14, 2021
1 parent bbe5ef2 commit 0759dc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions deploy.cue
Expand Up @@ -14,6 +14,7 @@ _defaultJobs: {
"leader-2": jobDef.#Jormungandr & {#role: "leader", #index: 2}
"follower-0": jobDef.#Jormungandr & {#role: "follower", #index: 0}
"servicing-station": jobDef.#ServicingStation
wormhole: jobDef.#Wormhole
}

#vitOpsRev: "55759981d7e693b0304ecf2d4bace0dc068caa6d"
Expand Down
4 changes: 3 additions & 1 deletion jobs/wormhole.cue
Expand Up @@ -8,11 +8,13 @@ import (
#Wormhole: types.#stanza.job & {
type: "batch"

namespace: string

group: wormhole: {
volume: "persist": {
type: "host"
read_only: false
source: "catalyst-dryrun"
source: namespace
}

task: wormhole: tasks.#Wormhole
Expand Down

0 comments on commit 0759dc5

Please sign in to comment.