bright-receptionist-28471
07/28/2023, 5:17 PMpulumi-tf-provider-boilerplate
Release action https://github.com/pulumi/pulumi-tf-provider-boilerplate/blob/main/deployment-templates/release.yml, I’m getting this error:
2023-07-28T16:58:19.2283364Z ##[group]Run actions/setup-node@v3
2023-07-28T16:58:19.2283630Z with:
2023-07-28T16:58:19.2283904Z registry-url: <https://registry.npmjs.org>
2023-07-28T16:58:19.2284198Z always-auth: false
2023-07-28T16:58:19.2284423Z check-latest: false
2023-07-28T16:58:19.2284771Z token: ***
2023-07-28T16:58:19.2284972Z env:
2023-07-28T16:58:19.2285288Z GITHUB_TOKEN: ***
2023-07-28T16:58:19.2285798Z NODE_AUTH_TOKEN: ***
2023-07-28T16:58:19.2286118Z NPM_TOKEN: ***
2023-07-28T16:58:19.2286344Z PUBLISH_NPM: true
2023-07-28T16:58:19.2286618Z NPM_REGISTRY_URL: <https://registry.npmjs.org>
2023-07-28T16:58:19.2288001Z PYPI_PASSWORD: ***
2023-07-28T16:58:19.2288239Z PUBLISH_PYPI: true
2023-07-28T16:58:19.2288464Z ##[endgroup]
2023-07-28T16:58:19.4233625Z ##[group]Environment details
2023-07-28T16:58:20.3979012Z node: v18.17.0
2023-07-28T16:58:20.3979705Z npm: 9.6.7
2023-07-28T16:58:20.3980480Z yarn: 1.22.19
2023-07-28T16:58:20.3981387Z ##[endgroup]
2023-07-28T16:58:20.4065437Z ##[group]Run actions/download-artifact@v2
2023-07-28T16:58:20.4065701Z with:
2023-07-28T16:58:20.4065919Z name: nodejs-sdk.tar.gz
2023-07-28T16:58:20.4066235Z path: /home/runner/work/pulumi-prodvana/pulumi-prodvana/sdk/
2023-07-28T16:58:20.4066522Z env:
2023-07-28T16:58:20.4066880Z GITHUB_TOKEN: ***
2023-07-28T16:58:20.4067201Z NODE_AUTH_TOKEN: ***
2023-07-28T16:58:20.4067526Z NPM_TOKEN: ***
2023-07-28T16:58:20.4067767Z PUBLISH_NPM: true
2023-07-28T16:58:20.4068056Z NPM_REGISTRY_URL: <https://registry.npmjs.org>
2023-07-28T16:58:20.4069430Z PYPI_PASSWORD: ***
2023-07-28T16:58:20.4069655Z PUBLISH_PYPI: true
2023-07-28T16:58:20.4069938Z NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
2023-07-28T16:58:20.4070215Z ##[endgroup]
2023-07-28T16:58:20.4655024Z Starting download for nodejs-sdk.tar.gz
2023-07-28T16:58:20.5098216Z ##[error]Unable to find any artifacts for the associated workflow
My read here is that the SDKs are not being built first, which makes sense, there’s nothing in release.yml
that builds them. But I wanted to double check I’m not missing something before adding a job to build the sdks.build_sdks
make target, I don’t see anything that packages them up into a tarball, and I don’t see anything in the pulumi-package-publisher
action tarballs them either.
I must be missing some step in the setup?main.yml
action that included uploading tarballed archives of the SDKs. Did the template repo get out of sync with some internal changes to the release flow?orange-policeman-59119
07/29/2023, 12:11 AMbright-receptionist-28471
07/31/2023, 1:48 PMorange-policeman-59119
07/31/2023, 3:39 PM$yourProviderName.config.yaml
$ make bin/provider-ci
The wip/test.sh
script shows how to invoke the tool - but it'll rm -rf a directory by default so I won't suggest you run it without looking. You'd run it like:
./wip/test.sh $yourProviderName
And it should give you a complete repository a couple directories up, named pulumi-$yourProviderName
.bright-receptionist-28471
07/31/2023, 5:08 PMwip
directory under provider-ci
https://github.com/pulumi/ci-mgmt/tree/master/provider-ciorange-policeman-59119
08/03/2023, 3:22 PMfriel/tf-boilerplate-v2