-
Notifications
You must be signed in to change notification settings - Fork 14
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
bfb25dc
commit 5ac186d
Showing
10 changed files
with
170 additions
and
523 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,13 @@ env: | |
ARM_TENANT_ID: 706143bc-e1d4-4593-aee2-c9dc60ab9be7 | ||
AWS_REGION: us-west-2 | ||
AZURE_LOCATION: westus | ||
DOTNETVERSION: | | ||
6.0.x | ||
3.1.301 | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GOVERSION: 1.19.x | ||
JAVAVERSION: "11" | ||
NODEVERSION: 16.x | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }} | ||
|
@@ -19,6 +25,7 @@ env: | |
PULUMI_GO_DEP_ROOT: /home/runner/work/pulumi-docker | ||
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget | ||
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 }} | ||
|
@@ -43,7 +50,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{matrix.goversion}} | ||
go-version: ${{ env.GOVERSION }} | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -53,22 +60,22 @@ jobs: | |
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{matrix.nodeversion}} | ||
node-version: ${{ env.NODEVERSION }} | ||
registry-url: https://registry.npmjs.org | ||
- name: Setup DotNet | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: ${{matrix.dotnetversion}} | ||
dotnet-version: ${{ env.DOTNETVERSION }} | ||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{matrix.pythonversion}} | ||
python-version: ${{ env.PYTHONVERSION }} | ||
- name: Setup Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
cache: gradle | ||
distribution: temurin | ||
java-version: ${{matrix.javaversion}} | ||
java-version: ${{ env.JAVAVERSION }} | ||
- name: Download provider + tfgen binaries | ||
uses: actions/download-artifact@v2 | ||
with: | ||
|
@@ -108,24 +115,12 @@ jobs: | |
strategy: | ||
fail-fast: true | ||
matrix: | ||
dotnetversion: | ||
- | | ||
6.0.x | ||
3.1.301 | ||
goversion: | ||
- 1.19.x | ||
javaversion: | ||
- "11" | ||
language: | ||
- nodejs | ||
- python | ||
- dotnet | ||
- go | ||
- java | ||
nodeversion: | ||
- 16.x | ||
pythonversion: | ||
- "3.9" | ||
generate_coverage_data: | ||
continue-on-error: true | ||
env: | ||
|
@@ -152,7 +147,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{matrix.goversion}} | ||
go-version: ${{ env.GOVERSION }} | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -177,11 +172,6 @@ jobs: | |
s3FullURI="s3://${{ secrets.S3_COVERAGE_BUCKET_NAME }}/summaries/${summaryName}" | ||
aws s3 cp ${{ env.COVERAGE_OUTPUT_DIR }}/summary.json ${s3FullURI} --acl bucket-owner-full-control | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
goversion: | ||
- 1.19.x | ||
lint: | ||
container: golangci/golangci-lint:latest | ||
name: lint | ||
|
@@ -199,7 +189,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{matrix.goversion}} | ||
go-version: ${{ env.GOVERSION }} | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -214,11 +204,6 @@ jobs: | |
author_name: Failure in linting provider | ||
fields: repo,commit,author,action | ||
status: ${{ job.status }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
goversion: | ||
- 1.19.x | ||
lint_sdk: | ||
container: golangci/golangci-lint:latest | ||
name: lint-sdk | ||
|
@@ -237,7 +222,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{matrix.goversion}} | ||
go-version: ${{ env.GOVERSION }} | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -252,11 +237,6 @@ jobs: | |
author_name: Failure in linting go sdk | ||
fields: repo,commit,author,action | ||
status: ${{ job.status }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
goversion: | ||
- 1.19.x | ||
prerequisites: | ||
name: prerequisites | ||
runs-on: ubuntu-latest | ||
|
@@ -273,7 +253,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{matrix.goversion}} | ||
go-version: ${{ env.GOVERSION }} | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -320,19 +300,6 @@ jobs: | |
author_name: Failure in building provider prerequisites | ||
fields: repo,commit,author,action | ||
status: ${{ job.status }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
dotnetversion: | ||
- | | ||
6.0.x | ||
3.1.301 | ||
goversion: | ||
- 1.19.x | ||
nodeversion: | ||
- 16.x | ||
pythonversion: | ||
- "3.9" | ||
publish: | ||
name: publish | ||
needs: test | ||
|
@@ -345,7 +312,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{matrix.goversion}} | ||
go-version: ${{ env.GOVERSION }} | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -378,19 +345,6 @@ jobs: | |
author_name: Failure in publishing binaries | ||
fields: repo,commit,author,action | ||
status: ${{ job.status }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
dotnetversion: | ||
- | | ||
6.0.x | ||
3.1.301 | ||
goversion: | ||
- 1.19.x | ||
nodeversion: | ||
- 16.x | ||
pythonversion: | ||
- "3.9" | ||
publish_java_sdk: | ||
continue-on-error: true | ||
name: publish_java_sdk | ||
|
@@ -409,7 +363,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{matrix.goversion}} | ||
go-version: ${{ env.GOVERSION }} | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -421,7 +375,7 @@ jobs: | |
with: | ||
cache: gradle | ||
distribution: temurin | ||
java-version: ${{matrix.javaversion}} | ||
java-version: ${{ env.JAVAVERSION }} | ||
- name: Download java SDK | ||
uses: actions/download-artifact@v2 | ||
with: | ||
|
@@ -439,13 +393,6 @@ jobs: | |
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository | ||
build-root-directory: ./sdk/java | ||
gradle-version: 7.4.1 | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
goversion: | ||
- 1.19.x | ||
javaversion: | ||
- "11" | ||
publish_sdk: | ||
name: publish_sdk | ||
needs: publish | ||
|
@@ -463,7 +410,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{matrix.goversion}} | ||
go-version: ${{ env.GOVERSION }} | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -473,16 +420,16 @@ jobs: | |
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{matrix.nodeversion}} | ||
node-version: ${{ env.NODEVERSION }} | ||
registry-url: https://registry.npmjs.org | ||
- name: Setup DotNet | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: ${{matrix.dotnetversion}} | ||
dotnet-version: ${{ env.DOTNETVERSION }} | ||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{matrix.pythonversion}} | ||
python-version: ${{ env.PYTHONVERSION }} | ||
- name: Download python SDK | ||
uses: actions/download-artifact@v2 | ||
with: | ||
|
@@ -519,19 +466,6 @@ jobs: | |
author_name: Failure in publishing SDK | ||
fields: repo,commit,author,action | ||
status: ${{ job.status }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
dotnetversion: | ||
- | | ||
6.0.x | ||
3.1.301 | ||
goversion: | ||
- 1.19.x | ||
nodeversion: | ||
- 16.x | ||
pythonversion: | ||
- "3.9" | ||
test: | ||
name: test | ||
needs: build_sdk | ||
|
@@ -552,7 +486,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{matrix.goversion}} | ||
go-version: ${{ env.GOVERSION }} | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -562,22 +496,22 @@ jobs: | |
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{matrix.nodeversion}} | ||
node-version: ${{ env.NODEVERSION }} | ||
registry-url: https://registry.npmjs.org | ||
- name: Setup DotNet | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: ${{matrix.dotnetversion}} | ||
dotnet-version: ${{ env.DOTNETVERSION }} | ||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{matrix.pythonversion}} | ||
python-version: ${{ env.PYTHONVERSION }} | ||
- name: Setup Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
cache: gradle | ||
distribution: temurin | ||
java-version: ${{matrix.javaversion}} | ||
java-version: ${{ env.JAVAVERSION }} | ||
- name: Download provider + tfgen binaries | ||
uses: actions/download-artifact@v2 | ||
with: | ||
|
@@ -633,24 +567,12 @@ jobs: | |
strategy: | ||
fail-fast: true | ||
matrix: | ||
dotnetversion: | ||
- | | ||
6.0.x | ||
3.1.301 | ||
goversion: | ||
- 1.19.x | ||
javaversion: | ||
- "11" | ||
language: | ||
- nodejs | ||
- python | ||
- dotnet | ||
- go | ||
- java | ||
nodeversion: | ||
- 16.x | ||
pythonversion: | ||
- "3.9" | ||
name: main | ||
on: | ||
push: | ||
|
Oops, something went wrong.