bored-table-20691
02/24/2022, 8:56 PMtls
, random
, etc) depend on quite a bit of Pulumi specific things (e.g. pulumictl
) and it’s not clear if it is the right place to start.
Ideally the repo should also take care of things like building the SDK binaries, etcstocky-restaurant-98004
02/25/2022, 4:07 PMbored-table-20691
02/25/2022, 4:52 PMpulumi
github org or a Pulumi S3 bucket, etc.
This is exacerbated by the fact that a Pulumi plugin is a very involved thing (language SDKs, binaries, etc), so it’s not as simple as just getting the repo itself going.
I’m currently trying to get the CI scripts to run - probably been doing this for the past 5-6 hours and still not done 😄publish_sdk
step in the CI scripts publish all 4 of them, without really any way to limit it. And so now I need to figure out the PyPI package name and credentials and so on.stocky-restaurant-98004
02/25/2022, 6:59 PMbored-table-20691
02/25/2022, 8:14 PMmake build_sdks
should be checked in, but it’s not called out.
3. Versioning is only tangentially referred to, and it’s not really 100% clear how to get versioning like what the other packages have and how to maintain it.billowy-army-68599
02/25/2022, 11:12 PMThis is exacerbated by the fact that a Pulumi plugin is a very involvedthing (language SDKs, binaries, etc), so it’s not as simple as just getting the repo itself going.
I’m currently trying to get the CI scripts to run - probably been doing this for the past 5-6 hours and still not doneI totally agree here, it's hard 😞 part of the issue is the multiple languages as you say, and honestly we could do a better job of documenting this
bored-table-20691
02/25/2022, 11:17 PMtag_sdk
step is failing, and I have a feeling it needs GITHUB_TOKEN
to be defined, but not sure what that needs to be set to, and I can’t find any docs to this effect. If there’s an explanation somewhere of what these all should be, it would be very helpful.billowy-army-68599
02/28/2022, 5:50 PMbored-table-20691
02/28/2022, 8:44 PMGITHUB_TOKEN
, what kind of token should this be and what permissions? Does it have to be a personal access token (which I’d prefer to avoid as we want this tied to the org rather than to any individual)?stocky-restaurant-98004
02/28/2022, 8:45 PMbored-table-20691
02/28/2022, 9:00 PMbillowy-army-68599
02/28/2022, 9:07 PMbored-table-20691
02/28/2022, 9:10 PMbillowy-army-68599
02/28/2022, 9:11 PMbored-table-20691
02/28/2022, 9:17 PMtag_sdk:
name: tag_sdk
needs: publish_sdk
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@v1.2.0
with:
repo: pulumi/pulumictl
- name: Add SDK version tag
run: git tag sdk/$(pulumictl get version --language generic) && git push origin
sdk/$(pulumictl get version --language generic)
billowy-army-68599
02/28/2022, 9:20 PMbored-table-20691
02/28/2022, 9:22 PM! [remote rejected] sdk/0.0.2 -> sdk/0.0.2 (refusing to allow a GitHub App to create or update workflow `.github/workflows/release.yml` without `workflows` permission)
billowy-army-68599
02/28/2022, 9:29 PMbored-table-20691
02/28/2022, 9:37 PMbillowy-army-68599
02/28/2022, 9:58 PMbored-table-20691
03/01/2022, 6:18 AMbillowy-army-68599
03/01/2022, 1:20 PMbored-table-20691
03/01/2022, 1:46 PMbillowy-army-68599
03/01/2022, 2:24 PMbored-table-20691
03/01/2022, 2:38 PMbillowy-army-68599
03/01/2022, 2:46 PMbored-table-20691
03/03/2022, 9:19 AMstocky-restaurant-98004
03/03/2022, 3:04 PMbored-table-20691
03/03/2022, 3:42 PM