sparse-intern-71089
07/13/2021, 9:12 PMbillowy-army-68599
npm install
before your pulumi up?purple-orange-91853
07/13/2021, 9:14 PMbillowy-army-68599
purple-orange-91853
07/13/2021, 9:16 PMyarn install
during the docker build processpurple-orange-91853
07/13/2021, 9:19 PMpurple-orange-91853
07/13/2021, 9:24 PM------------------------------
Executing command: pulumi login
Logging in using access token from PULUMI_ACCESS_TOKEN
Logged in to <http://pulumi.com|pulumi.com> as jakeatomic (<https://app.pulumi.com/jakeatomic>)
------------------------------
Executing command: pulumi plugin install resource aws v4.11.0
[resource plugin aws-4.11.0] installing
Downloading plugin: 75.91 MiB / 75.91 MiB 100.00% 1s
------------------------------
Executing command: pulumi plugin install resource kubernetes v3.5.0
[resource plugin kubernetes-3.5.0] installing
Downloading plugin: 26.22 MiB / 26.22 MiB 100.00% 0s
------------------------------
Executing command: pulumi plugin install resource eks v0.22.0
[resource plugin eks-0.22.0] installing
Downloading plugin: 670.75 KiB / 670.75 KiB 100.00% 0s
------------------------------
Executing command: pulumi plugin ls
NAME KIND VERSION SIZE INSTALLED LAST USED
aws resource 4.11.0 271 MB n/a 12 seconds ago
aws resource 3.38.1 254 MB n/a 2 seconds ago
eks resource 0.22.0 158 MB n/a 9 seconds ago
kubernetes resource 3.5.0 67 MB n/a 10 seconds ago
kubernetes resource 2.9.1 77 MB n/a 1 second ago
+ pulumi:pulumi:Stack platform-staging create
pulumi:providers:aws default_4_12_0 error: no resource plugin 'aws-v4.12.0' found in the workspace or on your $PATH, install the plugin using `pulumi plugin
install resource aws v4.12.0`
+ pulumi:pulumi:Stack platform-staging create
pulumi:providers:aws default_4_12_0 1 error
billowy-army-68599
billowy-army-68599
billowy-army-68599
pulumi plugin install resource aws $(curl -s <https://api.github.com/repos/pulumi/pulumi-aws/releases/latest> | jq '.tag_name' -r)
purple-orange-91853
07/13/2021, 9:32 PMcommands:
- pulumi login
- pulumi plugin install resource aws v4.11.0
- pulumi plugin install resource kubernetes v3.5.0
- pulumi plugin install resource eks v0.22.0
- pulumi plugin ls
- pulumi stack select atomicfi/${{STAGE}}
- pulumi stack
- pulumi up --non-interactive --yes -r
billowy-army-68599
yarn install
?purple-orange-91853
07/13/2021, 9:33 PM# More examples of Codefresh YAML can be found at
# <https://codefresh.io/docs/docs/yaml-examples/examples/>
version: "1.0"
# Stages can help you organize your steps in stages
stages:
- "clone"
- "build"
- "deploy"
steps:
clone:
title: "Cloning repository"
type: "git-clone"
repo: "atomicfi/platform"
revision: "${{CF_BRANCH}}"
git: "github"
stage: "clone"
build:
title: "Building Docker image"
image: pulumi/pulumi
working_directory: "${{clone}}"
tag: "${{CF_BRANCH_TAG_NORMALIZED}}"
commands:
- yarn install
stage: "build"
RunPulumi:
title: Deploying
stage: deploy
working_directory: "${{clone}}/deployments/aws-${{AWS_REGION}}"
image: pulumi/pulumi:v3.6.1
kube_context: ${{STAGE}}
buildkit: true
ssh: default
commands:
- pulumi login
- pulumi plugin install resource aws v4.11.0
- pulumi plugin install resource kubernetes v3.5.0
- pulumi plugin install resource eks v0.22.0
- pulumi plugin ls
- pulumi stack select atomicfi/${{STAGE}}
- pulumi stack
- pulumi up --non-interactive --yes -r
# - pulumi destroy --non-interactive --yes -r
purple-orange-91853
07/13/2021, 9:34 PMpurple-orange-91853
07/13/2021, 9:35 PMbillowy-army-68599
package.json
- inside your statebillowy-army-68599
package.json
and someone new comes along and does yarn install
they'll get the latest version of the plugin, which will then be stored in state. If you do pulumi stack export
you should see the version on the provider field for each resourcebillowy-army-68599
package.json
billowy-army-68599
package.json
?purple-orange-91853
07/13/2021, 9:37 PM{
"dependencies": {
"@pulumi/aws": "^4.8.0",
"@pulumi/awsx": "^0.30.0",
"@pulumi/eks": "^0.31.0",
"@pulumi/kubernetes": "^3.3.1",
"@pulumi/pulumi": "^3.4.0",
"codefresh": "^0.75.26",
"js-yaml": "^3.14.1",
"lodash": "^4.17.21"
},
"devDependencies": {
"@types/node": "^15.12.2"
}
}
billowy-army-68599
purple-orange-91853
07/13/2021, 9:39 PMpurple-orange-91853
07/13/2021, 9:43 PMpurple-orange-91853
07/13/2021, 9:43 PMpurple-orange-91853
07/13/2021, 9:46 PM