mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
[ubuntu] suppress tar verbose messages (#3075)
This commit is contained in:
committed by
GitHub
parent
18062f1b88
commit
cd5930b52b
@@ -7,7 +7,7 @@
|
||||
# Install Alibaba Cloud CLI
|
||||
URL=$(curl -s https://api.github.com/repos/aliyun/aliyun-cli/releases/latest | jq -r '.assets[].browser_download_url | select(contains("aliyun-cli-linux"))')
|
||||
wget -P /tmp $URL
|
||||
tar xzvf /tmp/aliyun-cli-linux-*-amd64.tgz
|
||||
tar xzf /tmp/aliyun-cli-linux-*-amd64.tgz
|
||||
mv aliyun /usr/local/bin
|
||||
|
||||
invoke_tests "CLI.Tools" "Aliyun CLI"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
TarballUrl=$(curl -s https://api.github.com/repos/aws/aws-sam-cli/releases/latest | jq -r '.tarball_url')
|
||||
TarballPath="/tmp/aws-sam-cli.tar.gz"
|
||||
wget $TarballUrl -O $TarballPath
|
||||
tar -xzvf $TarballPath -C /tmp
|
||||
tar -xzf $TarballPath -C /tmp
|
||||
cd /tmp/aws-aws-sam-cli*
|
||||
|
||||
mkdir /opt/python-aws-sam-cli
|
||||
|
||||
@@ -8,7 +8,7 @@ source $HELPER_SCRIPTS/install.sh
|
||||
|
||||
# Install AzCopy10
|
||||
download_with_retries "https://aka.ms/downloadazcopy-v10-linux" "/tmp" "azcopy.tar.gz"
|
||||
tar zxvf /tmp/azcopy.tar.gz --strip-components=1 -C /tmp
|
||||
tar xzf /tmp/azcopy.tar.gz --strip-components=1 -C /tmp
|
||||
mv /tmp/azcopy /usr/local/bin/azcopy
|
||||
chmod +x /usr/local/bin/azcopy
|
||||
# Create azcopy 10 alias for backward compatibility
|
||||
|
||||
@@ -25,7 +25,7 @@ tmp_hub="/tmp/hub"
|
||||
mkdir -p "$tmp_hub"
|
||||
url=$(curl -s https://api.github.com/repos/github/hub/releases/latest | jq -r '.assets[].browser_download_url | select(contains("hub-linux-amd64"))')
|
||||
download_with_retries "$url" "$tmp_hub"
|
||||
tar xzvf "$tmp_hub"/hub-linux-amd64-*.tgz --strip-components 1 -C "$tmp_hub"
|
||||
tar xzf "$tmp_hub"/hub-linux-amd64-*.tgz --strip-components 1 -C "$tmp_hub"
|
||||
mv "$tmp_hub"/bin/hub /usr/local/bin
|
||||
|
||||
# Add well-known SSH host keys to known_hosts
|
||||
|
||||
@@ -10,6 +10,6 @@ source $HELPER_SCRIPTS/install.sh
|
||||
DOWNLOAD_URL="https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz"
|
||||
PACKAGE_TAR_NAME="oc.tar.gz"
|
||||
download_with_retries $DOWNLOAD_URL "/tmp" $PACKAGE_TAR_NAME
|
||||
tar xvzf "/tmp/$PACKAGE_TAR_NAME" -C "/usr/local/bin"
|
||||
tar xzf "/tmp/$PACKAGE_TAR_NAME" -C "/usr/local/bin"
|
||||
|
||||
invoke_tests "CLI.Tools" "OC CLI"
|
||||
@@ -14,6 +14,6 @@ ORAS_CLI_ARCHIVE=$(basename $ORAS_CLI_DOWNLOAD_URL)
|
||||
# Install ORAS CLI
|
||||
cd /tmp
|
||||
download_with_retries $ORAS_CLI_DOWNLOAD_URL
|
||||
tar -zxvf $ORAS_CLI_ARCHIVE -C /usr/local/bin oras
|
||||
tar xzf $ORAS_CLI_ARCHIVE -C /usr/local/bin oras
|
||||
|
||||
invoke_tests "CLI.Tools" "Oras CLI"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
apt-get install -y chrpath libssl-dev libxft-dev libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev
|
||||
PHANTOM_JS=phantomjs-2.1.1-linux-x86_64
|
||||
wget https://bitbucket.org/ariya/phantomjs/downloads/$PHANTOM_JS.tar.bz2
|
||||
tar xvjf $PHANTOM_JS.tar.bz2
|
||||
tar xjf $PHANTOM_JS.tar.bz2
|
||||
mv $PHANTOM_JS /usr/local/share
|
||||
ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin
|
||||
|
||||
|
||||
@@ -11,6 +11,6 @@ source $HELPER_SCRIPTS/install.sh
|
||||
VERSION=$(curl --fail --silent -L "https://www.pulumi.com/latest-version")
|
||||
TARBALL_URL="https://get.pulumi.com/releases/sdk/pulumi-v${VERSION}-linux-x64.tar.gz"
|
||||
download_with_retries ${TARBALL_URL} "/tmp" pulumi-v${VERSION}.tar.gz
|
||||
tar --strip=1 -xvf /tmp/pulumi-v${VERSION}.tar.gz -C /usr/local/bin
|
||||
tar --strip=1 -xf /tmp/pulumi-v${VERSION}.tar.gz -C /usr/local/bin
|
||||
|
||||
invoke_tests "Tools" "Pulumi"
|
||||
|
||||
Reference in New Issue
Block a user