Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[STUDIO-5261] WebDriverManager download wrong chrome driver version #175

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ jobs:
- name: Prepare
run: |
chmod u+x ./build/*.sh
./build/prevent_overwrite_existing_tag.sh $KS_VERSION
./build/prevent_overwrite_existing_tag.sh $KS_VERSION_TAG
- name: Build
run: |
chmod u+x ./build/*.sh
./build/clean.sh $KS_VERSION
./build/build.sh $KS_VERSION
./build/tag.sh $KS_VERSION
- name: Test
run: |
chmod u+x ./test/project/*.sh
Expand All @@ -45,8 +44,6 @@ jobs:
run: |
cd $GITHUB_WORKSPACE
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} docker.io
./build/tag.sh $KS_VERSION
./build/push.sh $KS_VERSION
./build/tag.sh $KS_VERSION_TAG
./build/push.sh $KS_VERSION_TAG
- name: Slack Notification
Expand Down
7 changes: 7 additions & 0 deletions src/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ chrome_package='google-chrome-stable_current_amd64.deb'
wget -O $chrome_package https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
dpkg -i $chrome_package || apt -y -f install
rm $chrome_package

symlink="/usr/bin/google-chrome"
if [ -L $symlink ]; then
unlink $symlink
ln -s /opt/google/chrome/google-chrome $symlink
fi

echo "$(google-chrome --version)" >> $KATALON_VERSION_FILE || true

./wrap_chrome_binary.sh && rm -rfv ./wrap_chrome_binary.sh
Expand Down