Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit cda5cf0

Browse files
committed
Add ensure_docker_run_dosel() to script_push
1 parent adbafe3 commit cda5cf0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/script_push

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,16 @@ git_push_tag_push() {
223223
fi
224224
}
225225

226+
#####################################################
227+
# Docker run `grid` so we can fetch actual versions #
228+
#####################################################
229+
ensure_docker_run_dosel() {
230+
if [[ $(docker ps -f "name=grid" --format '{{.Names}}') != "grid" ]]; then
231+
docker run --name=grid -d selenium
232+
docker exec grid wait_all_done 40s
233+
fi
234+
}
235+
226236
########
227237
# Main #
228238
########
@@ -234,6 +244,7 @@ elif [ "${TRAVIS_TAG}" != "latest" ] && [ "${TRAVIS_TAG}" != "" ]; then
234244
docker_login_tag_push
235245
git_config
236246
git_co_fetch_merge_stash
247+
ensure_docker_run_dosel
237248
update_changelog
238249
git_diff_add_commit
239250
git_push_tag_push

0 commit comments

Comments
 (0)