Skip to content
Snippets Groups Projects
Commit 30425ce5 authored by Auke Klazema's avatar Auke Klazema
Browse files

Merge branch 'L2SS-843' into 'master'

L2SS-843: Start CM and ES after archiver-timescale is up

Closes L2SS-843

See merge request !375
parents 22d5ee45 33f10380
No related branches found
No related tags found
1 merge request!375L2SS-843: Start CM and ES after archiver-timescale is up
...@@ -104,8 +104,8 @@ sleep 5 ...@@ -104,8 +104,8 @@ sleep 5
# shellcheck disable=SC2086 # shellcheck disable=SC2086
make start $DEVICES make start $DEVICES
# Archive devices -> starting order is important # Archive devices: archive-timescale first
make start archiver-timescale hdbppts-cm hdbppts-es make start archiver-timescale
# Give devices time to restart # Give devices time to restart
# TODO(Corne Lukken): Use a nicer more reliable mechanism # TODO(Corne Lukken): Use a nicer more reliable mechanism
...@@ -115,6 +115,9 @@ sleep 60 ...@@ -115,6 +115,9 @@ sleep 60
# shellcheck disable=SC2016 # shellcheck disable=SC2016
echo '/usr/local/bin/wait-for-it.sh archiver-timescale:5432 --strict --timeout=300 -- true' | make run dsconfig bash - echo '/usr/local/bin/wait-for-it.sh archiver-timescale:5432 --strict --timeout=300 -- true' | make run dsconfig bash -
# Archive devices: Now that archiver-timescale is up we can start the CM and ES
make start hdbppts-cm hdbppts-es
# Start the integration test # Start the integration test
cd "$LOFAR20_DIR/docker-compose" || exit 1 cd "$LOFAR20_DIR/docker-compose" || exit 1
make up integration-test make up integration-test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment