mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
chore(prombench): re-roder checks on nodes to avoid deadlocks start and cancel and in restart
the start job requires the node pools to be gone before creating them, and the cleanup and restart jobs require the pools to be running to delete them, When the initial start is partial (only one pool was created), no command can move forward... the preconditions should be relaxed, for more robustness. Signed-off-by: machine424 <ayoubmrini424@gmail.com>
This commit is contained in:
parent
70bf09cb2b
commit
91ef9a50b9
1 changed files with 3 additions and 3 deletions
6
.github/workflows/prombench.yml
vendored
6
.github/workflows/prombench.yml
vendored
|
|
@ -38,8 +38,8 @@ jobs:
|
|||
uses: docker://prominfra/prombench:master
|
||||
with:
|
||||
args: >-
|
||||
until make all_nodes_deleted; do echo "waiting for nodepools to be deleted"; sleep 10; done;
|
||||
make deploy;
|
||||
until make all_nodes_running; do echo "waiting for nodepools to be created"; sleep 10; done;
|
||||
- name: Update status to failure
|
||||
if: failure()
|
||||
run: >-
|
||||
|
|
@ -73,8 +73,8 @@ jobs:
|
|||
uses: docker://prominfra/prombench:master
|
||||
with:
|
||||
args: >-
|
||||
until make all_nodes_running; do echo "waiting for nodepools to be created"; sleep 10; done;
|
||||
make clean;
|
||||
until make all_nodes_deleted; do echo "waiting for nodepools to be deleted"; sleep 10; done;
|
||||
- name: Update status to failure
|
||||
if: failure()
|
||||
run: >-
|
||||
|
|
@ -108,10 +108,10 @@ jobs:
|
|||
uses: docker://prominfra/prombench:master
|
||||
with:
|
||||
args: >-
|
||||
until make all_nodes_running; do echo "waiting for nodepools to be created"; sleep 10; done;
|
||||
make clean;
|
||||
until make all_nodes_deleted; do echo "waiting for nodepools to be deleted"; sleep 10; done;
|
||||
make deploy;
|
||||
until make all_nodes_running; do echo "waiting for nodepools to be created"; sleep 10; done;
|
||||
- name: Update status to failure
|
||||
if: failure()
|
||||
run: >-
|
||||
|
|
|
|||
Loading…
Reference in a new issue