Skip to content

Commit

Permalink
Embed version in SDKs (#3289)
Browse files Browse the repository at this point in the history
Part of pulumi/ci-mgmt#915
- Enable `respectSchemaVersion` for each language.
- Re-generated docs schema.
- Update pulumi version.
- Allow selective changes during SDK builds.
- Update gen test snapshot.
  • Loading branch information
danielrbradley committed May 15, 2024
1 parent 9ee2174 commit 0d8227f
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 16 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ jobs:

- name: Check worktree clean
uses: pulumi/git-status-check-action@v1
with:
allowed-changes: |
sdk/**/pulumi-plugin.json
sdk/dotnet/Pulumi.*.csproj
sdk/nodejs/package.json
sdk/python/pyproject.toml
- name: Tar SDK folder
if: ${{ matrix.language != 'go' }}
Expand Down
2 changes: 1 addition & 1 deletion .pulumi.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.115.2
3.116.1
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ bin/$(CODEGEN): bin/pulumictl .make/prebuild .make/provider_mod_download provide
bin/schema-full.json bin/metadata-compact.json &: bin/$(CODEGEN) $(SPECS) azure-provider-versions/provider_list.json versions/v1-lock.json versions/v2-config.yaml versions/v2-spec.yaml versions/v2-removed-resources.json
bin/$(CODEGEN) schema $(VERSION_GENERIC)

# Docs schema
# Docs schema - treat as phony becasuse it's committed so we always need to rebuild it.
.PHONY: provider/cmd/pulumi-resource-azure-native/schema.json
provider/cmd/pulumi-resource-azure-native/schema.json: bin/$(CODEGEN) $(SPECS) versions/v1-lock.json versions/v2-config.yaml versions/v2-removed-resources.json
bin/$(CODEGEN) docs $(VERSION_GENERIC)

Expand Down

0 comments on commit 0d8227f

Please sign in to comment.