Skip to content

Commit 8bbbd03

Browse files
committed
trial: shadow-gen diff (compare_sdk) for the gen-sdk migration
THROWAWAY, DO NOT MERGE. Pre-merge trial of the centralized compare_sdk reusable workflow (pulumi/ci-mgmt#2300) to survey legacy-vs-gen-sdk gaps. - adds a temporary compare_sdk Makefile target (refs pinned to the ci-mgmt PR stack) - adds a standalone compare-sdk-trial workflow (prerequisites + compare_sdk only) - removes run-acceptance-tests.yml so the PR runs only the trial, not the full suite
1 parent 56d5e55 commit 8bbbd03

3 files changed

Lines changed: 37 additions & 297 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# TEMPORARY pre-merge trial of the centralized compare_sdk workflow (pulumi/ci-mgmt#2300).
2+
# Runs only prerequisites + compare_sdk; run-acceptance-tests is removed in this branch.
3+
name: compare-sdk-trial
4+
on:
5+
pull_request: {}
6+
permissions:
7+
contents: read
8+
jobs:
9+
prerequisites:
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
id-token: write
14+
uses: ./.github/workflows/prerequisites.yml
15+
secrets: inherit
16+
with:
17+
default_branch: ${{ github.event.pull_request.base.ref }}
18+
is_pr: true
19+
is_automated: false
20+
compare_sdk:
21+
needs: prerequisites
22+
uses: pulumi/ci-mgmt/.github/workflows/compare_sdk.yml@pose/chores/compare-sdk-ci-workflow-2282
23+
permissions:
24+
contents: read
25+
with:
26+
version: ${{ needs.prerequisites.outputs.version }}
27+
languages: '["nodejs","python","dotnet","go","java"]'
28+
runs-on: ubuntu-latest
29+
mise-version: 2026.3.7
30+
checkout-submodules: 'false'

.github/workflows/run-acceptance-tests.yml

Lines changed: 0 additions & 297 deletions
This file was deleted.

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,13 @@ build_python: .make/build_python
206206
@touch $@
207207
.PHONY: generate_python build_python
208208

209+
# TEMPORARY (pre-merge trial): shadow-gen diff target, refs pinned to the
210+
# ci-mgmt PR stack. See pulumi/ci-mgmt#2300.
211+
compare_sdks: compare_sdk_nodejs compare_sdk_python compare_sdk_dotnet compare_sdk_go compare_sdk_java
212+
compare_sdk_%: .make/mise_install bin/$(CODEGEN) .make/schema | mise_env
213+
GOPROXY=direct GOSUMDB=off go run github.com/pulumi/ci-mgmt/provider-ci@216aafe9c4758833f6d551549de870073ee4799f compare-sdk --language $*
214+
.PHONY: compare_sdks compare_sdk_nodejs compare_sdk_python compare_sdk_dotnet compare_sdk_go compare_sdk_java
215+
209216
clean:
210217
rm -rf sdk/{dotnet,nodejs,go,python}
211218
rm -rf bin/*

0 commit comments

Comments
 (0)