init 003_test,
This commit is contained in:
7
003_test/001_desktop/01_test_seat/app/scripts/001_setup.sh
Executable file
7
003_test/001_desktop/01_test_seat/app/scripts/001_setup.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
|
||||
|
||||
echo "done"
|
8
003_test/001_desktop/01_test_seat/app/scripts/002_setup_playwright.sh
Executable file
8
003_test/001_desktop/01_test_seat/app/scripts/002_setup_playwright.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
npx playwright install
|
||||
npx playwright install-deps
|
||||
|
||||
echo "done"
|
13
003_test/001_desktop/01_test_seat/app/scripts/003_google_chrome.sh
Executable file
13
003_test/001_desktop/01_test_seat/app/scripts/003_google_chrome.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
echo "**** install chrome ****"
|
||||
apt update
|
||||
apt install -y wget
|
||||
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
|
||||
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | tee /etc/apt/sources.list.d/google-chrome.list
|
||||
apt update
|
||||
apt install -y google-chrome-stable
|
||||
|
||||
echo "install chrome done"
|
12
003_test/001_desktop/01_test_seat/app/scripts/run_all.sh
Executable file
12
003_test/001_desktop/01_test_seat/app/scripts/run_all.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
cd scripts
|
||||
./001_setup.sh 2>&1 | tee setup.log
|
||||
./002_setup_playwright.sh 2>&1 | tee setup.log
|
||||
sudo ./003_google_chrome.sh 2>&1 | tee setup.log
|
||||
|
||||
cd ..
|
||||
|
||||
echo "done"
|
Reference in New Issue
Block a user