Make pipeline wait for successful Nomad deployment
This commit is contained in:

committed by
Felix Auringer

parent
b7009bee6c
commit
2c049afaa6
@@ -85,7 +85,7 @@ dockerimage:
|
||||
- nomad validate nomad/api.nomad
|
||||
# nomad plan returns 1 if allocation is created or destroyed which is what we want here
|
||||
- nomad plan nomad/api.nomad || [ $? == 1 ]
|
||||
- nomad run nomad/api.nomad
|
||||
- nomad-run-and-wait nomad/api.nomad
|
||||
artifacts:
|
||||
paths:
|
||||
- nomad/api.nomad
|
||||
|
Reference in New Issue
Block a user