Skip to content

Commit 4d4bf52

Browse files
authoredNov 9, 2023
Update GitHub Actions workflows. (#2967)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 867ded8b2cb519483ee9e9cd51815d508e91e75e.
1 parent 4c3960c commit 4d4bf52

13 files changed

+88
-29
lines changed
 

‎.devcontainer/Dockerfile

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM jetpackio/devbox:latest
2+
3+
# Installing your devbox project
4+
WORKDIR /code
5+
COPY devbox.json devbox.json
6+
COPY devbox.lock devbox.lock
7+
RUN sudo chown -R "${DEVBOX_USER}:${DEVBOX_USER}" /code
8+
9+
10+
RUN devbox run -- echo "Installed Packages."
11+
12+
RUN devbox shellenv --init-hook >> ~/.profile

‎.devcontainer/devcontainer.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "Devbox Remote Container",
3+
"build": {
4+
"dockerfile": "./Dockerfile",
5+
"context": ".."
6+
},
7+
"customizations": {
8+
"vscode": {
9+
"settings": {},
10+
"extensions": [
11+
"jetpack-io.devbox"
12+
]
13+
}
14+
},
15+
"remoteUser": "devbox"
16+
}

‎.github/workflows/command-dispatch.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ env:
88
3.1.301
99
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1010
GOVERSION: 1.21.x
11+
GRADLEVERSION: "7.6"
1112
JAVAVERSION: "11"
1213
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1314
NODEVERSION: 20.x

‎.github/workflows/license.yml

+17-14
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ env:
1414
3.1.301
1515
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1616
GOVERSION: 1.21.x
17+
GRADLEVERSION: "7.6"
1718
JAVAVERSION: "11"
1819
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1920
NODEVERSION: 20.x
@@ -57,17 +58,19 @@ jobs:
5758
with:
5859
module-path: provider
5960
ignore-modules: >-
60-
github.com/aead/chacha20,
61-
github.com/apache/arrow/go/v12,
62-
github.com/apache/thrift/lib/go/thrift,
63-
github.com/cloudflare/circl,
64-
github.com/golang,
65-
github.com/jmespath/go-jmespath,
66-
github.com/klauspost/compress,
67-
github.com/mattn/go-localereader,
68-
github.com/modern-go/reflect2,
69-
github.com/pierrec/lz4,
70-
github.com/pjbgf/sha1cd,
71-
github.com/pulumi,
72-
github.com/segmentio/asm,
73-
golang.org
61+
github.com/aead/chacha20,
62+
github.com/apache/arrow/go/v12,
63+
github.com/apache/thrift/lib/go/thrift,
64+
github.com/cloudflare/circl,
65+
github.com/golang,
66+
github.com/gorhill/cronexpr,
67+
github.com/jmespath/go-jmespath,
68+
github.com/keybase/go-crypto,
69+
github.com/klauspost/compress,
70+
github.com/mattn/go-localereader,
71+
github.com/modern-go/reflect2,
72+
github.com/pierrec/lz4,
73+
github.com/pjbgf/sha1cd,
74+
github.com/pulumi,
75+
github.com/segmentio/asm,
76+
golang.org

‎.github/workflows/lint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ env:
1313
3.1.301
1414
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1515
GOVERSION: 1.21.x
16+
GRADLEVERSION: "7.6"
1617
JAVAVERSION: "11"
1718
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1819
NODEVERSION: 20.x

‎.github/workflows/master.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ env:
88
3.1.301
99
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1010
GOVERSION: 1.21.x
11+
GRADLEVERSION: "7.6"
1112
JAVAVERSION: "11"
1213
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1314
NODEVERSION: 20.x
@@ -81,7 +82,7 @@ jobs:
8182
- name: Setup Gradle
8283
uses: gradle/gradle-build-action@v2
8384
with:
84-
gradle-version: "7.6"
85+
gradle-version: ${{ env.GRADLEVERSION }}
8586
- name: Download provider + tfgen binaries
8687
uses: actions/download-artifact@v2
8788
with:
@@ -423,7 +424,7 @@ jobs:
423424
- name: Setup Gradle
424425
uses: gradle/gradle-build-action@v2
425426
with:
426-
gradle-version: "7.6"
427+
gradle-version: ${{ env.GRADLEVERSION }}
427428
- name: Download provider + tfgen binaries
428429
uses: actions/download-artifact@v2
429430
with:

‎.github/workflows/nightly-test.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ env:
88
3.1.301
99
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1010
GOVERSION: 1.21.x
11+
GRADLEVERSION: "7.6"
1112
JAVAVERSION: "11"
1213
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1314
NODEVERSION: 20.x
@@ -81,7 +82,7 @@ jobs:
8182
- name: Setup Gradle
8283
uses: gradle/gradle-build-action@v2
8384
with:
84-
gradle-version: "7.6"
85+
gradle-version: ${{ env.GRADLEVERSION }}
8586
- name: Download provider + tfgen binaries
8687
uses: actions/download-artifact@v2
8788
with:
@@ -274,7 +275,7 @@ jobs:
274275
- name: Setup Gradle
275276
uses: gradle/gradle-build-action@v2
276277
with:
277-
gradle-version: "7.6"
278+
gradle-version: ${{ env.GRADLEVERSION }}
278279
- name: Download provider + tfgen binaries
279280
uses: actions/download-artifact@v2
280281
with:

‎.github/workflows/prerelease.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ env:
99
3.1.301
1010
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1111
GOVERSION: 1.21.x
12+
GRADLEVERSION: "7.6"
1213
JAVAVERSION: "11"
1314
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1415
NODEVERSION: 20.x
@@ -82,7 +83,7 @@ jobs:
8283
- name: Setup Gradle
8384
uses: gradle/gradle-build-action@v2
8485
with:
85-
gradle-version: "7.6"
86+
gradle-version: ${{ env.GRADLEVERSION }}
8687
- name: Download provider + tfgen binaries
8788
uses: actions/download-artifact@v2
8889
with:
@@ -348,7 +349,7 @@ jobs:
348349
- name: Setup Gradle
349350
uses: gradle/gradle-build-action@v2
350351
with:
351-
gradle-version: "7.6"
352+
gradle-version: ${{ env.GRADLEVERSION }}
352353
- name: Download provider + tfgen binaries
353354
uses: actions/download-artifact@v2
354355
with:

‎.github/workflows/pull-request.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ env:
88
3.1.301
99
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1010
GOVERSION: 1.21.x
11+
GRADLEVERSION: "7.6"
1112
JAVAVERSION: "11"
1213
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1314
NODEVERSION: 20.x

‎.github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ env:
88
3.1.301
99
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1010
GOVERSION: 1.21.x
11+
GRADLEVERSION: "7.6"
1112
JAVAVERSION: "11"
1213
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1314
NODEVERSION: 20.x
@@ -81,7 +82,7 @@ jobs:
8182
- name: Setup Gradle
8283
uses: gradle/gradle-build-action@v2
8384
with:
84-
gradle-version: "7.6"
85+
gradle-version: ${{ env.GRADLEVERSION }}
8586
- name: Download provider + tfgen binaries
8687
uses: actions/download-artifact@v2
8788
with:
@@ -396,7 +397,7 @@ jobs:
396397
- name: Setup Gradle
397398
uses: gradle/gradle-build-action@v2
398399
with:
399-
gradle-version: "7.6"
400+
gradle-version: ${{ env.GRADLEVERSION }}
400401
- name: Download provider + tfgen binaries
401402
uses: actions/download-artifact@v2
402403
with:

‎.github/workflows/resync-build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env:
1010
3.1.301
1111
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1212
GOVERSION: 1.21.x
13+
GRADLEVERSION: "7.6"
1314
JAVAVERSION: "11"
1415
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1516
NODEVERSION: 20.x

‎.github/workflows/run-acceptance-tests.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ env:
99
3.1.301
1010
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1111
GOVERSION: 1.21.x
12+
GRADLEVERSION: "7.6"
1213
JAVAVERSION: "11"
1314
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1415
NODEVERSION: 20.x
@@ -85,7 +86,7 @@ jobs:
8586
- name: Setup Gradle
8687
uses: gradle/gradle-build-action@v2
8788
with:
88-
gradle-version: "7.6"
89+
gradle-version: ${{ env.GRADLEVERSION }}
8990
- name: Download provider + tfgen binaries
9091
uses: actions/download-artifact@v2
9192
with:
@@ -252,17 +253,17 @@ jobs:
252253
#
253254
# GitHub documents `jobs.result` as:
254255
#
255-
# The result of a job in the reusable workflow. Possible values are success,
256-
# failure, cancelled, or skipped.
256+
# The result of a job in the reusable workflow. Possible values are success,
257+
# failure, cancelled, or skipped.
257258
#
258259
# GitHub documents `cancelled()` as:
259260
#
260-
# Returns true if the workflow was canceled.
261+
# Returns true if the workflow was canceled.
261262
#
262263
# Combining these terms gives us an intuitive definition of success:
263264
#
264-
# We have succeeded when no dependent workflow has failed and the job was
265-
# not cancelled.
265+
# We have succeeded when no dependent workflow has failed and the job was
266+
# not cancelled.
266267
#
267268
if: (github.event_name == 'repository_dispatch' ||
268269
github.event.pull_request.head.repo.full_name == github.repository) &&
@@ -336,7 +337,7 @@ jobs:
336337
- name: Setup Gradle
337338
uses: gradle/gradle-build-action@v2
338339
with:
339-
gradle-version: "7.6"
340+
gradle-version: ${{ env.GRADLEVERSION }}
340341
- name: Download provider + tfgen binaries
341342
uses: actions/download-artifact@v2
342343
with:

‎devbox.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"packages": [
3+
"go@1.21.",
4+
"nodejs@20.",
5+
"python3@3.9",
6+
"dotnet-sdk@6.0.",
7+
"gradle_7@7.6"
8+
],
9+
"shell": {
10+
"init_hook": [
11+
"export PATH=\"$(pwd)/bin/:$PATH\""
12+
],
13+
"scripts": {
14+
"test": [
15+
"echo \"Error: no test specified\" && exit 1"
16+
]
17+
}
18+
}
19+
}

0 commit comments

Comments
 (0)
Please sign in to comment.