Skip to content

Commit

Permalink
Begin normalizing workflow files, based off of pulumi/ci-mgmt/#518 (#…
Browse files Browse the repository at this point in the history
…2708)

This PR is based off of pulumi/ci-mgmt#518. The Makefile has greater changes, which will be handled in a separate PR.

There are outstanding changes in these files:
- [ ]  Makefile
- [x] .github/workflows/main.yml
- [x] .github/workflows/master.yml
- [x] .github/workflows/nightly-test.yml
- [x] .github/workflows/prerelease.yml
- [x] .github/workflows/release.yml
- [x] .github/workflows/run-acceptance-tests.yml
- [x] .github/workflows/update-bridge.yml
- [X] .github/workflows/command-dispatch.yml
- [X] .github/workflows/community-moderation.yml
- [X] .github/workflows/pull-request.yml
- [X] .github/workflows/resync-build.yml
- [X] .github/workflows/upgrade-bridge.yml
- [X] .github/workflows/upgrade-provider.yml
- [X] .goreleaser.prerelease.yml
- [X] .goreleaser.yml
- [X] .upgrade-config.yml
- [X] scripts/upstream.sh

We will merge as soon as we release v6. I expect the Makefile normalization to occur later.
  • Loading branch information
iwahbe authored Aug 28, 2023
1 parent 4d58ac0 commit f658bfb
Show file tree
Hide file tree
Showing 17 changed files with 940 additions and 1,253 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/command-dispatch.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt

env:
PROVIDER: aws
AWS_REGION: us-west-2
DOTNETVERSION: |
6.0.x
3.1.301
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOVERSION: 1.20.1
JAVAVERSION: "11"
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODEVERSION: 16.x
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }}
PROVIDER: aws
PUBLISH_REPO_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
PUBLISH_REPO_USERNAME: ${{ secrets.OSSRH_USERNAME }}
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
Expand All @@ -13,10 +21,12 @@ env:
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
PULUMI_MISSING_DOCS_ERROR: true
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
PYTHONVERSION: "3.9"
SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }}
SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
TF_APPEND_USER_AGENT: pulumi
TRAVIS_OS_NAME: linux
jobs:
command-dispatch-for-testing:
Expand All @@ -25,6 +35,8 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
submodules: true
- uses: peter-evans/slash-command-dispatch@v2
with:
commands: run-acceptance-tests
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/community-moderation.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
Expand All @@ -7,6 +9,8 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
submodules: true
- id: schema_changed
name: Check for diff in schema
uses: dorny/paths-filter@v2
Expand All @@ -21,7 +25,7 @@ jobs:
- if: steps.sdk_changed.outputs.changed == 'true' &&
github.event.pull_request.head.repo.full_name != github.repository
name: Send codegen warning as comment on PR
uses: thollander/actions-comment-pull-request@v1
uses: thollander/actions-comment-pull-request@v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
message: >
Expand Down
Loading

0 comments on commit f658bfb

Please sign in to comment.