Skip to content

Commit 269805c

Browse files
authored
Merge pull request #8 from gitpod-io/aa/install-pulumi
install pulumi
2 parents 4e0766c + 900885c commit 269805c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ inputs:
3535
image:
3636
description: Specifies the name of the image that the disk will be initialized with.
3737
required: false
38-
default: gh-runner-202310171138
38+
default: gh-runner-202310171159
3939
image_family:
4040
description: The image family for the operating system that the boot disk will be initialized with.
4141
required: false
@@ -85,7 +85,7 @@ runs:
8585
credentials_json: ${{ inputs.gcp_credentials }}
8686
- name: Activate GCP service account
8787
id: gcloud-auth
88-
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
88+
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
8989
shell: bash
9090
run: |
9191
gcloud auth activate-service-account --key-file ${{ steps.auth.outputs.credentials_file_path }}

vm/setup.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ RUNNER_DIR="/home/${RUNNER_USER}"
99
RUNNER_VER=2.310.2
1010

1111
HELM_VERSION=3.12.1
12+
PULUMI_VERSION=3.89.0
1213

1314
DOCKER_USER_UID=33333
1415
DOCKER_GROUP_GID=33333
@@ -121,6 +122,10 @@ curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /
121122
apt-get update
122123
apt-get install -y google-cloud-cli
123124

125+
echo "📝 Installing pulumi..."
126+
curl -fsSL https://get.pulumi.com/releases/sdk/pulumi-v${PULUMI_VERSION}-linux-x64.tar.gz | tar -xzvC /tmp/ --strip-components=1
127+
cp /tmp/pulumi /usr/local/bin/pulumi
128+
124129
echo "📝 Installing actions-runner..."
125130
RUNNER_TGZ=/tmp/actions-runner-linux-x64-${RUNNER_VER}.tar.gz
126131

0 commit comments

Comments
 (0)