mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 19:46:46 +00:00
17 lines
652 B
Bash
17 lines
652 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: pulumi.sh
|
|
## Desc: Installs Pulumi
|
|
################################################################################
|
|
|
|
# Source the helpers for use with the script
|
|
source $HELPER_SCRIPTS/install.sh
|
|
|
|
# Install Pulumi
|
|
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 -xf /tmp/pulumi-v${VERSION}.tar.gz -C /usr/local/bin
|
|
|
|
invoke_tests "Tools" "Pulumi"
|