Skip to content

Commit

Permalink
Update before-cd-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Sep 22, 2024
1 parent 98b45d5 commit df4b196
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/before-cd-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@ jobs:
echo "nomad_version: $(nomad -v)"
echo "consul_version: $(consul -v)"
- name: Start a Nomad Agent and a Consul agent
run: |
sudo nomad agent -dev-connect -config nomad/development.hcl &>/dev/null &
consul agent -dev -bootstrap &>/dev/null &
- name: Validate job files
run: |
shopt -s globstar
for job in **/*.nomad; do
nomad job validate "$job";
done
- name: Start a Nomad Agent and a Consul agent
run: |
sudo nomad agent -dev-connect -config nomad/development.hcl &>/dev/null &
consul agent -dev -bootstrap &>/dev/null &
- name: Wait for initializing...
timeout-minutes: 5
timeout-minutes: 3
run: |
RETRY=$((SECONDS+60))
until nomad node status > /dev/null; do
Expand Down

0 comments on commit df4b196

Please sign in to comment.