Skip to content

Commit 7cd9a18

Browse files
committed
[internal] Update GitHub Actions workflow files
1 parent 7684236 commit 7cd9a18

File tree

12 files changed

+276
-117
lines changed

12 files changed

+276
-117
lines changed

.config/mise.lock

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
[[tools.dotnet]]
2+
version = "8.0.414"
3+
backend = "asdf:dotnet"
4+
5+
[[tools."github:pulumi/pulumictl"]]
6+
version = "0.0.50"
7+
backend = "github:pulumi/pulumictl"
8+
9+
[tools."github:pulumi/pulumictl".platforms.linux-x64]
10+
checksum = "sha256:a988418240d3a985bdcb9753b7c65ba4b06608deb359dc2942cb8c9374abc164"
11+
name = "pulumictl-v0.0.50-linux-amd64.tar.gz"
12+
size = 27744219
13+
url = "https://github.com/pulumi/pulumictl/releases/download/v0.0.50/pulumictl-v0.0.50-linux-amd64.tar.gz"
14+
url_api = "https://api.github.com/repos/pulumi/pulumictl/releases/assets/278054496"
15+
16+
[[tools."github:pulumi/schema-tools"]]
17+
version = "0.6.0"
18+
backend = "github:pulumi/schema-tools"
19+
20+
[tools."github:pulumi/schema-tools".platforms.linux-x64]
21+
checksum = "blake3:82dfe616fee18b4258f6e3d2dc3c4e9f14afd43a0a4cc33eff2d2a04088d6ca3"
22+
name = "schema-tools-v0.6.0-linux-amd64.tar.gz"
23+
size = 14282746
24+
url = "https://github.com/pulumi/schema-tools/releases/download/v0.6.0/schema-tools-v0.6.0-linux-amd64.tar.gz"
25+
url_api = "https://api.github.com/repos/pulumi/schema-tools/releases/assets/118725905"
26+
27+
[[tools.go]]
28+
version = "1.23.11"
29+
backend = "core:go"
30+
31+
[tools.go.platforms.linux-x64]
32+
checksum = "sha256:80899df77459e0b551d2eb8800ad6eb47023b99cccbf8129e7b5786770b948c5"
33+
size = 73665098
34+
url = "https://dl.google.com/go/go1.23.11.linux-amd64.tar.gz"
35+
36+
[[tools.golangci-lint]]
37+
version = "1.64.8"
38+
backend = "aqua:golangci/golangci-lint"
39+
40+
[tools.golangci-lint.platforms.linux-x64]
41+
checksum = "sha256:b6270687afb143d019f387c791cd2a6f1cb383be9b3124d241ca11bd3ce2e54e"
42+
size = 12364828
43+
url = "https://github.com/golangci/golangci-lint/releases/download/v1.64.8/golangci-lint-1.64.8-linux-amd64.tar.gz"
44+
45+
[[tools.gradle]]
46+
version = "7.6.6"
47+
backend = "aqua:gradle/gradle"
48+
49+
[tools.gradle.platforms.linux-x64]
50+
checksum = "sha256:673d9776f303bc7048fc3329d232d6ebf1051b07893bd9d11616fad9a8673be0"
51+
size = 128439774
52+
url = "https://github.com/gradle/gradle-distributions/releases/download/v7.6.6/gradle-7.6.6-bin.zip"
53+
54+
[[tools.java]]
55+
version = "corretto-11.0.29.7.1"
56+
backend = "core:java"
57+
58+
[tools.java.platforms.linux-x64]
59+
checksum = "sha256:279c6d3124f8b0251b16297b16687fe8b3946410b05ed27de1259b5e5cea02ba"
60+
size = 195379320
61+
url = "https://corretto.aws/downloads/resources/11.0.29.7.1/amazon-corretto-11.0.29.7.1-linux-x64.tar.gz"
62+
63+
[[tools.node]]
64+
version = "20.19.5"
65+
backend = "core:node"
66+
67+
[tools.node.platforms.linux-x64]
68+
checksum = "sha256:4eba5fbe1fb10753bc06e42f001a91c5cec16798b7764a3e9257adc59af47fe1"
69+
size = 47041607
70+
url = "https://nodejs.org/dist/v20.19.5/node-v20.19.5-linux-x64.tar.gz"
71+
72+
[[tools."npm:yarn"]]
73+
version = "1.22.22"
74+
backend = "npm:yarn"
75+
76+
[[tools.pulumi]]
77+
version = "3.198.0"
78+
backend = "aqua:pulumi/pulumi"
79+
80+
[tools.pulumi.platforms.linux-x64]
81+
checksum = "sha256:567717654a8944ab1ce1a19d9a0d1f5d111145cb4182b6cede11337fd0115f1f"
82+
size = 93850453
83+
url = "https://github.com/pulumi/pulumi/releases/download/v3.198.0/pulumi-v3.198.0-linux-x64.tar.gz"
84+
85+
[[tools.python]]
86+
version = "3.11.8"
87+
backend = "core:python"

.config/mise.test.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
2+
3+
# Overrides for test workflows
4+
5+
[env]
6+
# Acceptance (specifically providertest) tests require that PULUMI_HOME be the default
7+
PULUMI_HOME = "{{ env.HOME }}/.pulumi"
8+
9+
[tools]
10+
# always use pulumi latest for tests
11+
pulumi = "latest"

.config/mise.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
2+
# You can create your own root-level mise.toml file to override/augment this. See https://mise.jdx.dev/configuration.html
3+
4+
[env]
5+
_.source = "{{config_root}}/scripts/get-versions.sh"
6+
PULUMI_HOME = "{{config_root}}/.pulumi"
7+
8+
[tools]
9+
10+
# Runtimes
11+
# TODO: we may not need 'get_env' once https://github.com/jdx/mise/discussions/6339 is fixed
12+
go = "{{ get_env(name='GO_VERSION_MISE', default='latest') }}"
13+
node = '20.19.5'
14+
python = '3.11.8'
15+
dotnet = '8.0.414'
16+
# Corretto version used as Java SE/OpenJDK version no longer offered
17+
java = 'corretto-11'
18+
19+
# Executable tools
20+
pulumi = "{{ get_env(name='PULUMI_VERSION_MISE', default='latest') }}"
21+
"github:pulumi/pulumictl" = 'latest'
22+
"github:pulumi/schema-tools" = "latest"
23+
gradle = '7.6'
24+
golangci-lint = "1.64.8" # See note about about overrides if you need to customize this.
25+
"npm:yarn" = "1.22.22"
26+
27+
[settings]
28+
experimental = true # Required for Go binaries (e.g. pulumictl).
29+
lockfile = true

.github/workflows/build.yml

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ on:
1616
workflow_dispatch: {}
1717
env:
1818
PROVIDER: kubernetes-coredns
19-
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
2019
TRAVIS_OS_NAME: linux
21-
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
2220
GOVERSION: "1.21.x"
2321
NODEVERSION: "20.x"
2422
PYTHONVERSION: "3.11.8"
@@ -70,7 +68,7 @@ jobs:
7068
with:
7169
repo: pulumi/pulumictl
7270
- name: Install Pulumi CLI
73-
uses: pulumi/actions@d7ceb0215da5a14ec84f50b703365ddf0194a9c8 # v6.6.0
71+
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
7472
with:
7573
pulumi-version-file: .pulumi.version
7674
- if: github.event_name == 'pull_request'
@@ -123,6 +121,7 @@ jobs:
123121
sdk/go/**/pulumiUtilities.go
124122
sdk/nodejs/package.json
125123
sdk/python/pyproject.toml
124+
sdk/java/build.gradle
126125
- name: Commit SDK changes for Renovate
127126
if: failure() && steps.worktreeClean.outcome == 'failure' &&
128127
contains(github.actor, 'renovate') && github.event_name ==
@@ -177,7 +176,7 @@ jobs:
177176
github.workspace}}/bin/ pulumi-resource-${{ env.PROVIDER }}
178177
pulumi-gen-${{ env.PROVIDER}}
179178
- name: Upload artifacts
180-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
179+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
181180
with:
182181
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
183182
path: ${{ github.workspace }}/bin/provider.tar.gz
@@ -245,11 +244,11 @@ jobs:
245244
with:
246245
repo: pulumi/pulumictl
247246
- name: Install Pulumi CLI
248-
uses: pulumi/actions@d7ceb0215da5a14ec84f50b703365ddf0194a9c8 # v6.6.0
247+
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
249248
with:
250249
pulumi-version-file: .pulumi.version
251250
- name: Setup Node
252-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
251+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
253252
with:
254253
node-version: ${{ env.NODEVERSION }}
255254
registry-url: https://registry.npmjs.org
@@ -268,11 +267,11 @@ jobs:
268267
distribution: temurin
269268
cache: gradle
270269
- name: Setup Gradle
271-
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
270+
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
272271
with:
273272
gradle-version: "7.6"
274273
- name: Download provider
275-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
274+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
276275
with:
277276
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
278277
path: ${{ github.workspace }}/bin
@@ -297,6 +296,7 @@ jobs:
297296
sdk/go/**/pulumiUtilities.go
298297
sdk/nodejs/package.json
299298
sdk/python/pyproject.toml
299+
sdk/java/build.gradle
300300
- name: Commit SDK changes for Renovate
301301
if: failure() && steps.worktreeClean.outcome == 'failure' &&
302302
contains(github.actor, 'renovate') && github.event_name ==
@@ -349,7 +349,7 @@ jobs:
349349
- name: Tar SDK folder
350350
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
351351
- name: Upload artifacts
352-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
352+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
353353
with:
354354
name: ${{ matrix.language }}-sdk.tar.gz
355355
path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz
@@ -447,11 +447,11 @@ jobs:
447447
with:
448448
repo: pulumi/pulumictl
449449
- name: Install Pulumi CLI
450-
uses: pulumi/actions@d7ceb0215da5a14ec84f50b703365ddf0194a9c8 # v6.6.0
450+
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
451451
with:
452452
pulumi-version-file: .pulumi.version
453453
- name: Setup Node
454-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
454+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
455455
with:
456456
node-version: ${{ env.NODEVERSION }}
457457
registry-url: https://registry.npmjs.org
@@ -470,11 +470,11 @@ jobs:
470470
distribution: temurin
471471
cache: gradle
472472
- name: Setup Gradle
473-
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
473+
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
474474
with:
475475
gradle-version: "7.6"
476476
- name: Download provider
477-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
477+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
478478
with:
479479
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
480480
path: ${{ github.workspace }}/bin
@@ -486,7 +486,7 @@ jobs:
486486
-exec chmod +x {} \;
487487
- name: Download SDK
488488
if: ${{ matrix.language != 'yaml' }}
489-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
489+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
490490
with:
491491
name: ${{ matrix.language }}-sdk.tar.gz
492492
path: ${{ github.workspace}}/sdk/
@@ -579,11 +579,11 @@ jobs:
579579
with:
580580
repo: pulumi/pulumictl
581581
- name: Install Pulumi CLI
582-
uses: pulumi/actions@d7ceb0215da5a14ec84f50b703365ddf0194a9c8 # v6.6.0
582+
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
583583
with:
584584
pulumi-version-file: .pulumi.version
585585
- name: Configure AWS Credentials
586-
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 # v5.0.0
586+
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
587587
with:
588588
aws-access-key-id: ${{ steps.esc-secrets.outputs.AWS_ACCESS_KEY_ID }}
589589
aws-region: us-east-2
@@ -658,9 +658,9 @@ jobs:
658658
with:
659659
repo: pulumi/pulumictl
660660
- name: Install Pulumi CLI
661-
uses: pulumi/actions@d7ceb0215da5a14ec84f50b703365ddf0194a9c8 # v6.6.0
661+
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
662662
- name: Setup Node
663-
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
663+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
664664
with:
665665
node-version: ${{ env.NODEVERSION }}
666666
registry-url: https://registry.npmjs.org
@@ -673,23 +673,23 @@ jobs:
673673
with:
674674
python-version: ${{ env.PYTHONVERSION }}
675675
- name: Download python SDK
676-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
676+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
677677
with:
678678
name: python-sdk.tar.gz
679679
path: ${{ github.workspace}}/sdk/
680680
- name: Uncompress python SDK
681681
run: tar -zxf ${{github.workspace}}/sdk/python.tar.gz -C
682682
${{github.workspace}}/sdk/python
683683
- name: Download dotnet SDK
684-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
684+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
685685
with:
686686
name: dotnet-sdk.tar.gz
687687
path: ${{ github.workspace}}/sdk/
688688
- name: Uncompress dotnet SDK
689689
run: tar -zxf ${{github.workspace}}/sdk/dotnet.tar.gz -C
690690
${{github.workspace}}/sdk/dotnet
691691
- name: Download nodejs SDK
692-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
692+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
693693
with:
694694
name: nodejs-sdk.tar.gz
695695
path: ${{ github.workspace}}/sdk/
@@ -741,7 +741,6 @@ jobs:
741741
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
742742
with:
743743
version: ${{ env.GOLANGCI_LINT_VERSION }}
744-
args: -c ../.golangci.yml
745744
working-directory: provider
746745
name: lint
747746
if: github.event_name == 'repository_dispatch' ||

.github/workflows/comment-on-stale-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
name: Stale issue job
1111
steps:
12-
- uses: aws-actions/stale-issue-cleanup@5650b49bcd757a078f6ca06c373d7807b773f9bc #v7.1.0
12+
- uses: aws-actions/stale-issue-cleanup@5650b49bcd757a078f6ca06c373d7807b773f9bc # v7.1.0
1313
with:
1414
issue-types: issues # only look at issues (ignore pull-requests)
1515

0 commit comments

Comments
 (0)