-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Temp copy into update-providers slot to pre-test
- Loading branch information
Showing
1 changed file
with
62 additions
and
59 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,79 @@ | ||
name: Update Providers with new bridge version | ||
name: Test the bridge by attemping to update providers | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
bridgeVersion: | ||
description: 'Version of Bridge to upgrade to' | ||
required: true | ||
|
||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Upgrade ${{ matrix.provider }} to pulumi-terraform-bridge ${{ github.event.inputs.bridgeVersion }} | ||
name: Test upgrading ${{ matrix.provider }} to pulumi-terraform-bridge ${{ github.event.inputs.bridgeVersion }} | ||
steps: | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
- name: Trigger upgrade | ||
uses: peter-evans/repository-dispatch@v2 | ||
with: | ||
repo: pulumi/pulumictl | ||
- name: Trigger Update | ||
run: pulumictl dispatch -r pulumi/${{ matrix.provider }} -c update-bridge ${{ github.event.inputs.bridgeVersion }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN}} | ||
token: ${{ secrets.PULUMI_BOT_TOKEN }} | ||
repository: pulumi/${{ matrix.provider }} | ||
event-type: upgrade-bridge | ||
client-payload: |- | ||
{ | ||
{"target-bridge-version": ${{ toJSON(github.sha) }} }, | ||
{"pr-reviewers": ${{ toJSON(github.triggerring_actor) }} }, | ||
{"pr-description": "This PR was created to test a pulumi/pulumi-terraform-bridge feature. DO NOT MERGE.", | ||
{"automerge": false} | ||
} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
provider: | ||
- pulumi-aiven | ||
- pulumi-akamai | ||
- pulumi-alicloud | ||
- pulumi-auth0 | ||
- pulumi-aws | ||
- pulumi-azure | ||
- pulumi-azuread | ||
- pulumi-azuredevops | ||
- pulumi-civo | ||
- pulumi-cloudamqp | ||
- pulumi-cloudflare | ||
- pulumi-cloudinit | ||
- pulumi-consul | ||
- pulumi-datadog | ||
- pulumi-digitalocean | ||
- pulumi-dnsimple | ||
- pulumi-docker | ||
- pulumi-equinix-metal | ||
- pulumi-f5bigip | ||
- pulumi-fastly | ||
- pulumi-gcp | ||
- pulumi-github | ||
- pulumi-gitlab | ||
- pulumi-hcloud | ||
- pulumi-kafka | ||
- pulumi-keycloak | ||
- pulumi-kong | ||
- pulumi-linode | ||
- pulumi-mailgun | ||
- pulumi-mongodbatlas | ||
- pulumi-mysql | ||
- pulumi-newrelic | ||
- pulumi-ns1 | ||
- pulumi-okta | ||
- pulumi-openstack | ||
- pulumi-pagerduty | ||
- pulumi-postgresql | ||
- pulumi-rabbitmq | ||
- pulumi-rancher2 | ||
- pulumi-random | ||
- pulumi-signalfx | ||
- pulumi-splunk | ||
- pulumi-spotinst | ||
- pulumi-tls | ||
- pulumi-vault | ||
- pulumi-venafi | ||
- pulumi-vsphere | ||
- pulumi-wavefront | ||
# - pulumi-akamai | ||
# - pulumi-alicloud | ||
# - pulumi-auth0 | ||
# - pulumi-aws | ||
# - pulumi-azure | ||
# - pulumi-azuread | ||
# - pulumi-azuredevops | ||
# - pulumi-civo | ||
# - pulumi-cloudamqp | ||
# - pulumi-cloudflare | ||
# - pulumi-cloudinit | ||
# - pulumi-consul | ||
# - pulumi-datadog | ||
# - pulumi-digitalocean | ||
# - pulumi-dnsimple | ||
# - pulumi-docker | ||
# - pulumi-equinix-metal | ||
# - pulumi-f5bigip | ||
# - pulumi-fastly | ||
# - pulumi-gcp | ||
# - pulumi-github | ||
# - pulumi-gitlab | ||
# - pulumi-hcloud | ||
# - pulumi-kafka | ||
# - pulumi-keycloak | ||
# - pulumi-kong | ||
# - pulumi-linode | ||
# - pulumi-mailgun | ||
# - pulumi-mongodbatlas | ||
# - pulumi-mysql | ||
# - pulumi-newrelic | ||
# - pulumi-ns1 | ||
# - pulumi-okta | ||
# - pulumi-openstack | ||
# - pulumi-pagerduty | ||
# - pulumi-postgresql | ||
# - pulumi-rabbitmq | ||
# - pulumi-rancher2 | ||
# - pulumi-random | ||
# - pulumi-signalfx | ||
# - pulumi-splunk | ||
# - pulumi-spotinst | ||
# - pulumi-tls | ||
# - pulumi-vault | ||
# - pulumi-venafi | ||
# - pulumi-vsphere | ||
# - pulumi-wavefront |