mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
Add parallel on linux
This commit is contained in:
@@ -25,6 +25,7 @@ apt-fast install -y --no-install-recommends \
|
|||||||
locales \
|
locales \
|
||||||
netcat \
|
netcat \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
|
parallel \
|
||||||
rsync \
|
rsync \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
sudo \
|
sudo \
|
||||||
@@ -54,7 +55,7 @@ apt-fast install -y --no-install-recommends \
|
|||||||
|
|
||||||
# Run tests to determine that the software installed as expected
|
# Run tests to determine that the software installed as expected
|
||||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||||
for cmd in curl file ftp jq netcat ssh rsync shellcheck sudo telnet time unzip wget zip; do
|
for cmd in curl file ftp jq netcat ssh parallel rsync shellcheck sudo telnet time unzip wget zip; do
|
||||||
if ! command -v $cmd; then
|
if ! command -v $cmd; then
|
||||||
echo "$cmd was not installed"
|
echo "$cmd was not installed"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -77,6 +78,7 @@ DocumentInstalledItemIndent "libunwind8"
|
|||||||
DocumentInstalledItemIndent "locales"
|
DocumentInstalledItemIndent "locales"
|
||||||
DocumentInstalledItemIndent "netcat"
|
DocumentInstalledItemIndent "netcat"
|
||||||
DocumentInstalledItemIndent "openssh-client"
|
DocumentInstalledItemIndent "openssh-client"
|
||||||
|
DocumentInstalledItemIndent "parallel"
|
||||||
DocumentInstalledItemIndent "rsync"
|
DocumentInstalledItemIndent "rsync"
|
||||||
DocumentInstalledItemIndent "shellcheck"
|
DocumentInstalledItemIndent "shellcheck"
|
||||||
DocumentInstalledItemIndent "sudo"
|
DocumentInstalledItemIndent "sudo"
|
||||||
|
|||||||
@@ -118,9 +118,12 @@ apt-get install -y --no-install-recommends zsync
|
|||||||
echo "Install curl"
|
echo "Install curl"
|
||||||
apt-get install -y --no-install-recommends curl
|
apt-get install -y --no-install-recommends curl
|
||||||
|
|
||||||
|
echo "Install parallel"
|
||||||
|
apt-get install -y --no-install-recommends parallel
|
||||||
|
|
||||||
# Run tests to determine that the software installed as expected
|
# Run tests to determine that the software installed as expected
|
||||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||||
for cmd in curl file ftp jq netcat ssh rsync shellcheck sudo telnet time unzip wget zip; do
|
for cmd in curl file ftp jq netcat ssh parallel rsync shellcheck sudo telnet time unzip wget zip; do
|
||||||
if ! command -v $cmd; then
|
if ! command -v $cmd; then
|
||||||
echo "$cmd was not installed"
|
echo "$cmd was not installed"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -143,6 +146,7 @@ DocumentInstalledItemIndent "libunwind8"
|
|||||||
DocumentInstalledItemIndent "locales"
|
DocumentInstalledItemIndent "locales"
|
||||||
DocumentInstalledItemIndent "netcat"
|
DocumentInstalledItemIndent "netcat"
|
||||||
DocumentInstalledItemIndent "openssh-client"
|
DocumentInstalledItemIndent "openssh-client"
|
||||||
|
DocumentInstalledItemIndent "parallel"
|
||||||
DocumentInstalledItemIndent "rsync"
|
DocumentInstalledItemIndent "rsync"
|
||||||
DocumentInstalledItemIndent "shellcheck"
|
DocumentInstalledItemIndent "shellcheck"
|
||||||
DocumentInstalledItemIndent "sudo"
|
DocumentInstalledItemIndent "sudo"
|
||||||
|
|||||||
Reference in New Issue
Block a user