Skip to content

Commit

Permalink
try random sleeps
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Stokes <battlemidget@users.noreply.github.com>
  • Loading branch information
Adam Stokes committed Jul 15, 2020
1 parent 3c51009 commit 87b69da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ci.bash
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,15 @@ function ci::run

local log_name_custom=$(echo "$JOB_NAME_CUSTOM" | tr '/' '-')
{
sleep $(( ( RANDOM % 25 ) + 1 ))s

build_starttime=$(timestamp)

juju::bootstrap::before
juju::bootstrap
juju::bootstrap::after

sleep $(( ( RANDOM % 25 ) + 1 ))s
juju::deploy::before
juju::deploy
juju::wait
Expand Down
1 change: 0 additions & 1 deletion juju.bash
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ applications:
channel: $SNAP_VERSION
EOF
sleep $(( ( RANDOM % 10 ) + 1 ))s
juju deploy -m "$JUJU_CONTROLLER:$JUJU_MODEL" \
--overlay overlay.yaml \
--force \
Expand Down

0 comments on commit 87b69da

Please sign in to comment.