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

Commit 9c96a3a

Browse files
Automating the process of modifying the selenium grid tag since I keep forgetting to do it when deploying.
1 parent b2bfb5f commit 9c96a3a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,13 @@ jobs:
117117
DEPLOY_BRANCH: trunk
118118
GITHUB_USER: seleniumhq-community
119119
GITHUB_REPO: docker-seleniarm
120-
SELENIUM_VERSION: 4.2.1
120+
#SELENIUM_VERSION: 4.2.1
121121
steps:
122+
- checkout
122123
- run:
123124
name: "Prepare workflow environment variables"
124125
command: |
126+
export SELENIUM_VERSION=`cat Base/Dockerfile | grep selenium-server | sed 's/.*-\([^-]*\)\.jar \\/\1/' | head -n 1`
125127
echo "Prepare workflow environment variables"
126128
echo 'export BRANCH="$SELENIUM_VERSION"' >> $BASH_ENV
127129
echo 'export GITHUB_REPO="$CIRCLE_PROJECT_REPONAME"' >> $BASH_ENV
@@ -139,7 +141,6 @@ jobs:
139141
echo PLATFORMS="$PLATFORMS"
140142
echo BUILD_ARGS="$BUILD_ARGS"
141143
echo DEPLOY_BRANCH="$DEPLOY_BRANCH"
142-
- checkout
143144
- run: uname -a
144145
- run: docker info
145146
- run:

0 commit comments

Comments
 (0)