Repository navigation
Conversation
Set up .ci-mgmt.yaml to generate CI from the tf-provider-boilerplate, generate the Python SDK with pyproject.toml instead of setup.py, rename Go paths from github.com/pulumiverse to github.com/DopplerHQ, fix lint findings, and remove go.work so the license check passes. Originally PR #29 (three commits, squashed here).
pulumi/ci-mgmt no longer generates workflows for third-party providers; pulumi-labs/ci-mgmt is the supported generator for them. Its workflows and Makefile install the toolchain with mise. mise.toml overrides the generated .config/mise.toml: - Install the terraform converter and the random and aws plugins tfgen uses for the docs examples. ci-mgmt no longer installs plugins from .ci-mgmt.yaml, so that list is gone. - Pin Node 24: @pulumi/pulumi 3.270+ requires Node 22 or newer. - Pin golangci-lint 2.13.2: 2.5.0 is built with Go 1.25 and refuses to lint a Go 1.26 module. - Skip Java and Gradle; the Java SDK is not built or published. Workflows authenticate with the PULUMI_PROVIDER_AUTOMATION_TOKEN secret instead of minting GitHub App tokens (github-app disabled), like other vendor-maintained providers. The same token opens upgrade and resync PRs, so CI runs on them. Upstream upgrade PRs from the daily upgrade-provider job wait for review instead of auto-merging.
…lumi to v3.270.0 The bridge now builds on upstream terraform-plugin-sdk/v2, so the pulumi/terraform-plugin-sdk fork replace is dropped. The stale pulumi-java/pkg requirement is removed; it shadowed the pulumi-java module the bridge needs. The Go SDK and examples modules move to pulumi v3.270.0 too: the generated Go SDK calls ctx.InvokeOutput, which v3.129.0 lacks. Go 1.26.6 is the Pulumi SDK's minimum.
npm: @dopplerhq/pulumi-doppler, PyPI: pulumi_doppler, NuGet: DopplerHQ.Doppler. The registry publisher is "Doppler", which has to be added to pulumi/registry's publisher-names.json before the first release. npm dependencies now come from bridge defaults instead of stale pins.
- doppler_rotated_secret_* (11 resources) map to a rotatedSecret module like the integration and secretsSync families, e.g. doppler:rotatedSecret/awsMysql:AwsMysql. - doppler_trusted_ips.trusted_ips is TrustedIpList in .NET only: C# forbids a member named after its class (CS0542). - getEnvironments returns environments, not the bridge's pluralized "lists". - dopplerToken is a secret. Upstream doesn't mark it Sensitive, so Pulumi stored an explicit provider's token in plaintext state. None of these resources or functions has been released, so none of this is breaking.
- User-Agent: upstream sends "terraform-provider-doppler/<ProviderVersion>", with ProviderVersion left at "dev", so Pulumi traffic looked like a Terraform dev build. ProviderVersion is now "<upstream version> pulumi-doppler/<version>", making the header e.g. "terraform-provider-doppler/1.22.0 pulumi-doppler/0.10.0". The registry asks providers to identify themselves this way. - Embed bridge-metadata.json and apply auto-aliases, like the boilerplate and other bridged providers, so future token renames get aliases. - Declare the upstream license as Apache-2.0. Without it the bridge assumes MPL-2.0 and says so in every SDK readme. - Homepage is doppler.com, the description names Doppler, and keywords include secrets for registry search.
The installation page described apiKey/accountId config from another provider and claimed only JavaScript was supported; the README named the token option doppler:token. docs/_index.md now follows the registry's Overview page format (layout: package, Installation for every language, Example Usage in five languages, Configuration with environment variables and which options exclude each other), which makes the separate installation page redundant. The README documents the same configuration. The changelog covers the package move and everything since v0.9.0.
core-ts, core-py, core-go and core-cs create about 24 Doppler-only resources and call every function, update them in place, require refreshes to find no changes, and destroy. Tests skip without DOPPLER_TOKEN. Replaces the placeholder tests, which depended on a nonexistent @pulumi/foo package. CI passes the DOPPLER_TOKEN secret and DOPPLER_TEST_MEMBER_EMAIL variable to the test jobs and runs them nightly too. Failed steps retry up to three times: with one job per language running at once, the Doppler API intermittently answers secret writes with a 500.
- Dependabot updates only the test modules. The upgrade workflows handle provider/ and sdk/ (with the regeneration Dependabot can't do), and ci-mgmt owns the action pins. - CONTRIBUTING describes the mise-based build, regeneration order and ci-mgmt instead of boilerplate with a TODO. - COPYRIGHT named the Terraform AWS provider under MPL-2.0; this work combines with terraform-provider-doppler, which is Apache-2.0.
|
|
||
| - name: Check worktree clean | ||
| id: worktreeClean | ||
| uses: pulumi/git-status-check-action@v1 |
| continue-on-error: true | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| - uses: pulumi/license-check-action@main |
Comment on lines
+55
to
+58
| name: lint | ||
| uses: ./.github/workflows/lint.yml | ||
| secrets: inherit | ||
| license_check: |
Comment on lines
+59
to
+63
| name: License Check | ||
| uses: ./.github/workflows/license.yml | ||
| secrets: inherit | ||
|
|
||
| publish: |
| persist-credentials: false | ||
| - name: check if this commit needs release | ||
| if: ${{ env.RELEASE_BOT_ENDPOINT != '' }} | ||
| uses: pulumi/action-release-by-pr-label@main |
Comment on lines
+51
to
+54
| name: lint | ||
| uses: ./.github/workflows/lint.yml | ||
| secrets: inherit | ||
| license_check: |
Comment on lines
+55
to
+59
| name: License Check | ||
| uses: ./.github/workflows/license.yml | ||
| secrets: inherit | ||
|
|
||
| publish: |
Comment on lines
+93
to
+98
| if: github.event_name == 'repository_dispatch' || | ||
| github.event.pull_request.head.repo.full_name == github.repository | ||
| name: lint | ||
| uses: ./.github/workflows/lint.yml | ||
| secrets: inherit | ||
| sentinel: |
Comment on lines
+139
to
+141
| name: License Check | ||
| uses: ./.github/workflows/license.yml | ||
| secrets: inherit |
Comment on lines
+57
to
+92
| name: verify-release | ||
| # We don't have any release verification configurations, so we never run this workflow. | ||
| # Configure your .ci-mgmt.yaml files to include the release verification configurations e.g. | ||
| # releaseVerification: | ||
| # nodejs: path/to/nodejs/project | ||
| # python: path/to/python/project | ||
| # dotnet: path/to/dotnet/project | ||
| # go: path/to/go/project | ||
| if: false | ||
| strategy: | ||
| matrix: | ||
| # We don't have any release verification configurations, so we only run on Linux to print warnings to help users configure the release verification. | ||
| runner: ["ubuntu-latest"] | ||
| runs-on: ${{ matrix.runner }} | ||
| steps: | ||
| - name: Configure Git to checkout files with long names | ||
| run: git config --global core.longpaths true | ||
| - name: Checkout Repo | ||
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | ||
| with: | ||
| persist-credentials: false | ||
| - name: Install mise | ||
| uses: jdx/mise-action@c1a019b8d2586943b4dbebc456323b516910e310 | ||
| with: | ||
| version: 2026.3.7 | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| cache_save: false | ||
| - name: Setup Go Cache | ||
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6 | ||
| with: | ||
| cache-dependency-path: | | ||
| provider/*.sum | ||
| upstream/*.sum | ||
| sdk/go/*.sum | ||
| sdk/*.sum | ||
| *.sum |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This brings the provider back into maintenance after the transfer from Pulumiverse. CI is regenerated with pulumi-labs/ci-mgmt and builds with mise, building on #29 from @ringods. The old hand-written workflows had stopped running entirely. Upstream moves from v1.10.0 to v1.22.0, adding 51 resources and 3 functions, on terraform bridge v3.141.0 and Pulumi v3.270.0. There are no breaking schema changes compared with v0.9.0.
The SDKs now publish under Doppler names:
@dopplerhq/pulumi-doppleron npm (Node.js),pulumi_doppleron PyPI (Python),DopplerHQ.Doppleron NuGet (.NET), andgithub.com/DopplerHQ/pulumi-doppler/sdkfor Go. Resource types are unchanged, so existing stacks only need to switch packages. The CHANGELOG has a migration table.Other changes:
rotatedSecretmodule.dopplerTokenis now a secret, so it's no longer stored in plaintext state.pulumi-doppler/<version>, alongside the upstream Terraform provider.DOPPLER_TOKENisn't set.Merging to
mainpublishes alpha SDKs to npm, PyPI and NuGet, so the secrets below need to be in place first.Before merging
PULUMI_PROVIDER_AUTOMATION_TOKENwith a fine-grained token. Scope it to this repo with read/write on contents, pull requests and workflows, ideally owned by a bot account. The current value doesn't work as a token.NPM_TOKEN(for the@dopplerhqscope),PYPI_API_TOKENandNUGET_PUBLISH_KEYsecrets.DOPPLER_TOKENsecret: a service account token for a test workplace with workplace admin access.DOPPLER_TEST_MEMBER_EMAILrepository variable: an existing user in that workplace.After merging, before releasing
tools/resourcedocsgen/pkg/publishers/publisher-names.json. Registry publishing fails without it (Adding a new package).v0.10.0.After releasing
@pulumiverse/doppler,pulumiverse_dopplerandPulumiverse.Doppler, pointing to the new names.HTTPS_PROXYenabled = falseactually start disableddoppler_tokenasSensitive