damp-room-84921
05/16/2022, 7:16 PMbillowy-army-68599
05/16/2022, 8:24 PMdamp-room-84921
05/16/2022, 8:25 PMbillowy-army-68599
05/16/2022, 8:28 PMname: Pulumi
on:
push:
branches:
- master
jobs:
up:
name: Update
runs-on: ubuntu-latest
steps:
- uses: azure/setup-kubectl@v2.0
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm install
- uses: pulumi/actions@v3
with:
command: up
stack-name: dev
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
damp-room-84921
05/16/2022, 8:31 PMbillowy-army-68599
05/16/2022, 8:32 PMdamp-room-84921
05/16/2022, 8:32 PMname: Pulumi
on:
- pull_request
jobs:
up:
name: Preview
runs-on: [self-hosted, linux, x64]
steps:
- uses: azure/setup-kubectl@v2.0
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm install
- uses: pulumi/actions@v3
with:
command: preview
stack-name: xxxxx
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
Error: Could not find aws CLI for EKS. See <https://github.com/pulumi/pulumi-eks> for installation instructions.
I've been down this rabbit hole 🙂billowy-army-68599
05/16/2022, 8:38 PMdamp-room-84921
05/16/2022, 8:38 PMbillowy-army-68599
05/16/2022, 8:39 PMdamp-room-84921
05/16/2022, 8:39 PMaws eks
afaictbillowy-army-68599
05/16/2022, 8:40 PMrun: pip3 install aws-cli
damp-room-84921
05/16/2022, 8:45 PMThere was an error installing the resource provider plugin. It looks like `pulumi` is not installed on your system. Please visit
name: Pulumi
on:
push:
branches:
- master
jobs:
up:
name: Update
runs-on: ubuntu-latest
steps:
- uses: azure/setup-kubectl@v2.0
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm install
- uses: pulumi/actions@v3
with:
command: up
stack-name: dev
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
The example calls for npm install
and explodes when looking for pulumi cli, which doesn't exist until it reaches the `pulumi/actions#v3`step..
I don't understand how this could ever work? Maybe I'm grossly misunderstanding something here?limited-rainbow-51650
05/17/2022, 9:25 AMnpm install
?
I'm using the Pulumi GH action succesfully, with only a small difference though: actions/setup-node@v1
is highly outdated. Can you update to v2
or v3
? I'm using it with v2
and also have the Pulumi GH action after the npm install
.damp-room-84921
05/17/2022, 3:36 PMThere was an error installing the resource provider plugin. It looks like `pulumi` is not installed on your system. Please visit <https://pulumi.com/> to install the Pulumi CLI.
You may try manually installing the plugin by running `pulumi plugin install resource docker v3.0.0`
billowy-army-68599
05/17/2022, 3:47 PM- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 14.x
damp-room-84921
05/17/2022, 3:49 PMlimited-rainbow-51650
05/17/2022, 5:32 PMdamp-room-84921
05/17/2022, 5:52 PM<http://client.authentication.k8s.io/v1alpha1|client.authentication.k8s.io/v1alpha1>
bugelegant-window-55250
05/18/2022, 7:38 AMdamp-room-84921
05/18/2022, 3:49 PM