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

chore(ci): Update firefox beta downloads on CI to new file types. #12023

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
9 changes: 5 additions & 4 deletions experimenter/tests/nimbus_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ PYTEST_ARGS=${PYTEST_ARGS:-"-k FIREFOX_DESKTOP"}
install_firefox() {
local firefox_version="$1"
sudo apt-get update -qqy
sudo apt-get install xz-utils
sudo rm -rf /var/lib/apt/lists/* /var/cache/apt/*
sudo wget --no-verbose -O /tmp/firefox.tar.bz2 $firefox_version
sudo wget --no-verbose -O /tmp/firefox $firefox_version
sudo rm -rf /opt/firefox-latest
sudo tar -C /opt -xjf /tmp/firefox.tar.bz2
sudo rm /tmp/firefox.tar.bz2
sudo tar -C /opt -xf /tmp/firefox
sudo rm /tmp/firefox
sudo ln -fs /opt/firefox/firefox /usr/bin/firefox
sudo chown -R seluser /opt/firefox/firefox
}
Expand All @@ -27,7 +28,7 @@ if [[ -n "${FIREFOX_BETA}" ]]; then
source ./experimenter/tests/firefox_desktop_beta_build.env
FIREFOX_DESKTOP_BETA_TASK_ID=${FIREFOX_DESKTOP_BETA_TASK_ID//\"/}
echo "Installing firefox beta from taskcluster"
install_firefox "https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/${FIREFOX_DESKTOP_BETA_TASK_ID}/artifacts/public/build/target.tar.bz2"
install_firefox "https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/${FIREFOX_DESKTOP_BETA_TASK_ID}/artifacts/public/build/target.tar.xz"
fi

if [[ -n "${FIREFOX_RELEASE}" ]]; then
Expand Down