Skip to content

Commit 7c7b00f

Browse files
authored
[CI-HOTFIX] Remove not allowed action in Selenium test
I attempted to create a related JIRA issue, but the Apache JIRA site isn't working for an hour. Therefore, I’m proceeding without creating the issue. ### What is this PR for? Currently, our CI workflow uses browser-actions/setup-edge<at>v1 to install Microsoft Edge. However, this action is not allowed in the apache/zeppelin repository because only actions from approved/verified sources can be used. <img width="2109" height="241" alt="image" src="https://github.com/user-attachments/assets/28b0e90a-ffaf-41b4-9c25-495088a20963" /> To resolve this, I removed the external action and replace it with a direct installation step. ### What type of PR is it? Bug Fix ### How should this be tested? - Check if CI works ### Questions: * Does the license files need to update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Closes #5093 from tbonelee/remove-not-allowed-action. Signed-off-by: ChanHo Lee <[email protected]>
1 parent 5484beb commit 7c7b00f

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/frontend.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,20 @@ jobs:
110110
uses: actions/checkout@v4
111111
- name: Tune Runner VM
112112
uses: ./.github/actions/tune-runner-vm
113-
- name: Set up Edge browser
114-
uses: browser-actions/setup-edge@v1
113+
- name: Install Microsoft Edge
114+
run: |
115+
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/microsoft-edge.gpg
116+
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft-edge.gpg] https://packages.microsoft.com/repos/edge stable main" | sudo tee /etc/apt/sources.list.d/microsoft-edge.list
117+
sudo apt-get update
118+
sudo apt-get install -y microsoft-edge-stable
119+
- name: Install msedgedriver
120+
run: |
121+
EDGE_VERSION=$(microsoft-edge --version | awk '{print $3}')
122+
wget -q "https://msedgedriver.microsoft.com/${EDGE_VERSION}/edgedriver_linux64.zip" -O edgedriver.zip
123+
unzip -q edgedriver.zip
124+
sudo mv msedgedriver /usr/local/bin/
125+
sudo chmod +x /usr/local/bin/msedgedriver
126+
rm edgedriver.zip
115127
- name: Print Edge version
116128
run: msedgedriver --version
117129
- name: Set up JDK 11

0 commit comments

Comments
 (0)