-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GitHub Actions workflows. (#582)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 9069b7018768de0109f6bf2c25a24fae9099ab9e.
- Loading branch information
1 parent
e3c892b
commit f11290c
Showing
16 changed files
with
34 additions
and
324 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
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
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
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
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
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
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 |
---|---|---|
|
@@ -18,7 +18,6 @@ env: | |
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 | ||
jobs: | ||
prerequisites: | ||
|
@@ -58,26 +57,10 @@ jobs: | |
aws-access-key-id: ${{ secrets.AWS_CORP_S3_UPLOAD_ACCESS_KEY_ID }} | ||
aws-region: us-west-2 | ||
aws-secret-access-key: ${{ secrets.AWS_CORP_S3_UPLOAD_SECRET_ACCESS_KEY }} | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
- name: Setup tools | ||
uses: ./.github/actions/setup-tools | ||
with: | ||
go-version: "1.21.x" | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
tag: v0.0.46 | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/actions@v5 | ||
with: | ||
pulumi-version: "dev" | ||
- if: github.event_name == 'pull_request' | ||
name: Install Schema Tools | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
repo: pulumi/schema-tools | ||
tools: pulumictl, pulumicli, go, schema-tools | ||
- name: Echo Coverage Output Dir | ||
run: 'echo "Coverage output directory: ${{ env.COVERAGE_OUTPUT_DIR }}"' | ||
- name: Generate Coverage Data | ||
|
@@ -113,21 +96,10 @@ jobs: | |
swap-storage: false | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.21.x" | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
- name: Setup tools | ||
uses: ./.github/actions/setup-tools | ||
with: | ||
tag: v0.0.46 | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/actions@v5 | ||
with: | ||
pulumi-version: "dev" | ||
tools: pulumictl, pulumicli, go | ||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
with: | ||
|
@@ -164,17 +136,6 @@ jobs: | |
java-version: "11" | ||
node-version: "20.x" | ||
python-version: "3.11.8" | ||
- env: | ||
SLACK_CHANNEL: provider-upgrade-publish-status | ||
SLACK_COLOR: "#FF0000" | ||
SLACK_ICON_EMOJI: ":taco:" | ||
SLACK_MESSAGE: "Publish failed :x:" | ||
SLACK_TITLE: ${{ github.event.repository.name }} upgrade result | ||
SLACK_USERNAME: provider-bot | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
if: failure() | ||
name: Send Publish Failure To Slack | ||
uses: rtCamp/action-slack-notify@v2 | ||
|
||
tag_release_if_labeled_needs_release: | ||
name: Tag release if labeled as needs-release | ||
|
@@ -207,44 +168,10 @@ jobs: | |
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.21.x" | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
tag: v0.0.46 | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/actions@v5 | ||
with: | ||
pulumi-version: "dev" | ||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20.x" | ||
registry-url: https://registry.npmjs.org | ||
- name: Setup DotNet | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: "6.0.x" | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11.8" | ||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
cache: gradle | ||
distribution: temurin | ||
java-version: "11" | ||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v3 | ||
- name: Setup tools | ||
uses: ./.github/actions/setup-tools | ||
with: | ||
gradle-version: "7.6" | ||
tools: pulumictl, pulumicli, go, node, dotnet, python, java | ||
- name: Download provider + tfgen binaries | ||
uses: actions/download-artifact@v4 | ||
with: | ||
|
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 |
---|---|---|
|
@@ -19,7 +19,6 @@ env: | |
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 | ||
jobs: | ||
prerequisites: | ||
|
@@ -60,21 +59,10 @@ jobs: | |
swap-storage: false | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
- name: Setup tools | ||
uses: ./.github/actions/setup-tools | ||
with: | ||
go-version: "1.21.x" | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
tag: v0.0.46 | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/actions@v5 | ||
with: | ||
pulumi-version: "dev" | ||
tools: pulumictl, pulumicli, go | ||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
with: | ||
|
@@ -110,17 +98,6 @@ jobs: | |
java-version: "11" | ||
node-version: "20.x" | ||
python-version: "3.11.8" | ||
- env: | ||
SLACK_CHANNEL: provider-upgrade-publish-status | ||
SLACK_COLOR: "#FF0000" | ||
SLACK_ICON_EMOJI: ":taco:" | ||
SLACK_MESSAGE: "Publish failed :x:" | ||
SLACK_TITLE: ${{ github.event.repository.name }} upgrade result | ||
SLACK_USERNAME: provider-bot | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
if: failure() | ||
name: Send Publish Failure To Slack | ||
uses: rtCamp/action-slack-notify@v2 | ||
publish_go_sdk: | ||
name: publish_go_sdk | ||
needs: | ||
|
@@ -130,11 +107,6 @@ jobs: | |
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
tag: v0.0.46 | ||
repo: pulumi/pulumictl | ||
- name: Download Go SDK | ||
uses: actions/download-artifact@v4 | ||
with: | ||
|
@@ -171,44 +143,10 @@ jobs: | |
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Install Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.21.x" | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
tag: v0.0.46 | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/actions@v5 | ||
with: | ||
pulumi-version: "dev" | ||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20.x" | ||
registry-url: https://registry.npmjs.org | ||
- name: Setup DotNet | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: "6.0.x" | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11.8" | ||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
cache: gradle | ||
distribution: temurin | ||
java-version: "11" | ||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v3 | ||
- name: Setup tools | ||
uses: ./.github/actions/setup-tools | ||
with: | ||
gradle-version: "7.6" | ||
tools: pulumictl, pulumicli, go, node, dotnet, python, java | ||
- name: Download provider + tfgen binaries | ||
uses: actions/download-artifact@v4 | ||
with: | ||
|
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
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
Oops, something went wrong.