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

Commit 1df44f4

Browse files
committed
.circleci fetch selenium version from Makefile
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent dffac08 commit 1df44f4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.circleci/config.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,6 @@ jobs:
205205
BUILD_ARGS: << parameters.build-args >>
206206
MAKE_TARGETS: << parameters.make-targets >>
207207
DEPLOY_BRANCH: trunk
208-
RELEASE: selenium-4.18.0
209-
SELENIUM_VERSION: 4.18.1
210208
GITHUB_USER: seleniumhq-community
211209
GITHUB_REPO: docker-seleniarm
212210
steps:
@@ -229,11 +227,11 @@ jobs:
229227
- run:
230228
name: "Prepare workflow environment variables"
231229
command: |
232-
#export SELENIUM_VERSION=$(grep selenium-server Base/Dockerfile | sed 's/.*-\([^-]*\)\.jar \\/\1/' | head -n 1)
230+
echo 'export SELENIUM_VERSION=$(grep BASE_VERSION Makefile | sed 's/.*,\([^)]*\))/\1/p' | head -n 1)' >> $BASH_ENV
231+
echo 'export RELEASE=$(grep BASE_RELEASE Makefile | sed 's/.*,\([^)]*\))/\1/p' | head -n 1)' >> $BASH_ENV
233232
echo "Prepare workflow environment variables"
234233
echo 'export BRANCH='$SELENIUM_VERSION >> $BASH_ENV
235234
echo 'export BUILD_DATE=$(date '+%Y%m%d')' >> $BASH_ENV
236-
#echo 'export BUILD_DATE=20230110' >> $BASH_ENV
237235
echo 'export RELEASE_TAG="seleniarm-v`echo $BRANCH`-`echo $BUILD_DATE`"' >> $BASH_ENV
238236
source $BASH_ENV
239237
echo "Workflow environment variables:"

0 commit comments

Comments
 (0)