Skip to content

Commit

Permalink
Don't post updates to the Registry
Browse files Browse the repository at this point in the history
This provider shouldn't be published to the Pulumi registry, but it currently attempts to
publish on every release. This disables publishing for this provider.
  • Loading branch information
iwahbe committed Dec 10, 2024
1 parent af91309 commit 6b5a297
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
1 change: 1 addition & 0 deletions .ci-mgmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ checkUpstreamUpgrade: true
freeDiskSpaceBeforeBuild: false
freeDiskSpaceBeforeTest: false
freeDiskSpaceBeforeSdkBuild: false
publishRegistry: false
21 changes: 1 addition & 20 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,32 +154,13 @@ jobs:
go.*
go/**
!*.tar.gz
create_docs_build:
name: create_docs_build
needs: publish_sdk
# Only run for non-prerelease, if the publish_go_sdk job was successful or skipped
if: inputs.isPrerelease == false
runs-on: ubuntu-latest
steps:
- name: Dispatch Metadata build
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3
with:
token: ${{ secrets.PULUMI_BOT_TOKEN }}
repository: pulumi/registry
event-type: resource-provider
client-payload: |-
{
"project": "${{ github.repository }}",
"project-shortname": "xyz",
"ref": "${{ github.ref_name }}"
}
clean_up_release_labels:
name: Clean up release labels
# Only run for non-prerelease, if the publish_go_sdk job was successful or skipped
if: inputs.isPrerelease == false
needs: create_docs_build

needs: publish_sdk
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
Expand Down

0 comments on commit 6b5a297

Please sign in to comment.