generated from pulumi/pulumi-tf-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[internal] Update GitHub Actions workflow files
- Loading branch information
1 parent
5d1f05b
commit 96d8d52
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 |
---|---|---|
|
@@ -17,7 +17,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: | ||
|
@@ -57,26 +56,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 | ||
|
@@ -116,21 +99,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: | ||
|
@@ -167,17 +139,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 | ||
|
@@ -210,44 +171,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 |
---|---|---|
|
@@ -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: | ||
|
@@ -63,21 +62,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: | ||
|
@@ -113,17 +101,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: | ||
|
@@ -133,11 +110,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: | ||
|
@@ -174,44 +146,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.