ci/cd Install Firefox manually in test core linux
This commit is contained in:
parent
0239ca64b4
commit
d192fbb829
|
@ -22,17 +22,14 @@ jobs:
|
|||
with:
|
||||
python-version: "3.11"
|
||||
cache: "pip"
|
||||
- name: Install Firefox and dependencies
|
||||
- name: Install Firefox manually and dependencies
|
||||
run: |
|
||||
sudo snap remove firefox
|
||||
sudo add-apt-repository -y ppa:mozillateam/ppa
|
||||
echo '
|
||||
Package: *
|
||||
Pin: release o=LP-PPA-mozillateam
|
||||
Pin-Priority: 1001
|
||||
' | sudo tee /etc/apt/preferences.d/mozilla-firefox
|
||||
sudo apt update
|
||||
sudo apt install -y firefox nodejs curl grep zip wget
|
||||
sudo apt install --no-install-recommends -y nodejs tar wget curl grep libappindicator3-1 libasound2 libdbus-glib-1-2 libxtst6 libxt6
|
||||
wget -O firefox-setup.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64"
|
||||
tar xjf firefox-setup.tar.bz2 -C /opt/
|
||||
ln -s /opt/firefox/firefox /usr/bin/firefox
|
||||
rm -f firefox-setup.tar.bz2
|
||||
- name: Download geckodriver
|
||||
uses: nick-fields/retry@v2
|
||||
with:
|
||||
|
@ -77,6 +74,7 @@ jobs:
|
|||
echo "SERVER_NAME=www.example.com" | sudo tee -a /etc/bunkerweb/variables.env
|
||||
echo "HTTP_PORT=80" | sudo tee -a /etc/bunkerweb/variables.env
|
||||
echo "HTTPS_PORT=443" | sudo tee -a /etc/bunkerweb/variables.env
|
||||
echo 'DNS_RESOLVERS="9.9.9.9 8.8.8.8 8.8.4.4"' | sudo tee -a /etc/bunkerweb/variables.env
|
||||
echo "USE_BUNKERNET=no" | sudo tee -a /etc/bunkerweb/variables.env
|
||||
echo "USE_BLACKLIST=no" | sudo tee -a /etc/bunkerweb/variables.env
|
||||
sudo chown nginx:nginx /etc/bunkerweb/variables.env
|
||||
|
|
Loading…
Reference in New Issue