Compare commits
23 Commits
update-git
...
update-git
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a8b86588d3 | ||
|
|
f5d459e624 | ||
|
|
d5e5c8a482 | ||
|
|
d0bb326600 | ||
|
|
534bc6c172 | ||
|
|
570f83ca62 | ||
|
|
b35af1d86d | ||
|
|
62db1d7f3b | ||
|
|
9b5a5d4371 | ||
|
|
8809a8c708 | ||
|
|
cc1bda22e5 | ||
|
|
f820f6547c | ||
|
|
214793b929 | ||
|
|
9e8c685bc8 | ||
|
|
09f7b32602 | ||
|
|
1e00e5dc89 | ||
|
|
93fae0c1a4 | ||
|
|
4c85816954 | ||
|
|
4e3830ca83 | ||
|
|
3f329778cf | ||
|
|
c64d5baba6 | ||
|
|
4c8968185c | ||
|
|
7a75efe8c4 |
@@ -1,11 +1,3 @@
|
|||||||
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
|
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
|
||||||
|
|
||||||
# Overrides for test workflows
|
# Overrides for test workflows -- currently empty.
|
||||||
|
|
||||||
[env]
|
|
||||||
# Acceptance (specifically providertest) tests require that PULUMI_HOME be the default
|
|
||||||
PULUMI_HOME = "{{ env.HOME }}/.pulumi"
|
|
||||||
|
|
||||||
[tools]
|
|
||||||
# always use pulumi latest for tests
|
|
||||||
pulumi = "latest"
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# You can create your own root-level mise.toml file to override/augment this. See https://mise.jdx.dev/configuration.html
|
# You can create your own root-level mise.toml file to override/augment this. See https://mise.jdx.dev/configuration.html
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
_.source = "{{config_root}}/scripts/get-versions.sh"
|
_.vfox-pulumi = { module_path = "." } # Sets GO_VERSION_MISE and PULUMI_VERSION_MISE
|
||||||
PULUMI_HOME = "{{config_root}}/.pulumi"
|
PULUMI_HOME = "{{config_root}}/.pulumi"
|
||||||
|
|
||||||
[tools]
|
[tools]
|
||||||
@@ -12,12 +12,12 @@ PULUMI_HOME = "{{config_root}}/.pulumi"
|
|||||||
go = "{{ get_env(name='GO_VERSION_MISE', default='latest') }}"
|
go = "{{ get_env(name='GO_VERSION_MISE', default='latest') }}"
|
||||||
node = '20.19.5'
|
node = '20.19.5'
|
||||||
python = '3.11.8'
|
python = '3.11.8'
|
||||||
dotnet = '8.0.414'
|
"vfox:version-fox/vfox-dotnet" = "8.0.20" # vfox backend doesn't work on Windows, gives "error converting Lua table to PreInstall (no version returned from vfox plugin)" https://github.com/jdx/mise/discussions/5876 https://github.com/jdx/mise/discussions/5550
|
||||||
# Corretto version used as Java SE/OpenJDK version no longer offered
|
# Corretto version used as Java SE/OpenJDK version no longer offered
|
||||||
java = 'corretto-11'
|
java = 'corretto-11'
|
||||||
|
|
||||||
# Executable tools
|
# Executable tools
|
||||||
pulumi = "{{ get_env(name='PULUMI_VERSION_MISE', default='latest') }}"
|
"github:pulumi/pulumi" = "{{ get_env(name='PULUMI_VERSION_MISE', default='latest') }}"
|
||||||
"github:pulumi/pulumictl" = '0.0.50'
|
"github:pulumi/pulumictl" = '0.0.50'
|
||||||
"github:pulumi/schema-tools" = "0.6.0"
|
"github:pulumi/schema-tools" = "0.6.0"
|
||||||
"aqua:gradle/gradle-distributions" = '7.6.6'
|
"aqua:gradle/gradle-distributions" = '7.6.6'
|
||||||
@@ -27,3 +27,9 @@ golangci-lint = "1.64.8" # See note about about overrides if you need to customi
|
|||||||
[settings]
|
[settings]
|
||||||
experimental = true # Required for Go binaries (e.g. pulumictl).
|
experimental = true # Required for Go binaries (e.g. pulumictl).
|
||||||
lockfile = false
|
lockfile = false
|
||||||
|
http_retries = 3
|
||||||
|
pin = true # `mise use` should pin versions instead of defaulting to latest.
|
||||||
|
fetch_remote_versions_cache = "24h" # Mise queries versions even if they're pinned to confirm they exist. Reduce GitHub API calls by doing that less often.
|
||||||
|
|
||||||
|
[plugins]
|
||||||
|
vfox-pulumi = "https://github.com/pulumi/vfox-pulumi"
|
||||||
|
|||||||
2
.github/actions/download-provider/action.yml
vendored
2
.github/actions/download-provider/action.yml
vendored
@@ -5,7 +5,7 @@ runs:
|
|||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: Download provider
|
- name: Download provider
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
||||||
path: ${{ github.workspace }}/bin
|
path: ${{ github.workspace }}/bin
|
||||||
|
|||||||
2
.github/actions/download-sdk/action.yml
vendored
2
.github/actions/download-sdk/action.yml
vendored
@@ -10,7 +10,7 @@ runs:
|
|||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: Download SDK
|
- name: Download SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.language }}-sdk.tar.gz
|
name: ${{ inputs.language }}-sdk.tar.gz
|
||||||
path: ${{ github.workspace }}/sdk/
|
path: ${{ github.workspace }}/sdk/
|
||||||
|
|||||||
7
.github/actions/setup-tools/action.yml
vendored
7
.github/actions/setup-tools/action.yml
vendored
@@ -14,13 +14,14 @@ runs:
|
|||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: Setup mise
|
- name: Setup mise
|
||||||
uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3
|
uses: blampe/mise-action@blampe/plugins
|
||||||
env:
|
env:
|
||||||
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
||||||
with:
|
with:
|
||||||
version: 2025.11.6
|
version: 2026.1.1
|
||||||
cache_save: ${{ inputs.cache }}
|
cache_save: ${{ inputs.cache }}
|
||||||
github_token: ${{ inputs.github_token }}
|
github_token: ${{ inputs.github_token }}
|
||||||
|
plugin_install: https://github.com/pulumi/vfox-pulumi
|
||||||
|
|
||||||
- name: Setup Go Cache
|
- name: Setup Go Cache
|
||||||
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
|
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
|
||||||
@@ -34,7 +35,7 @@ runs:
|
|||||||
*.sum
|
*.sum
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
|
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
|
||||||
with:
|
with:
|
||||||
# we don't set node-version because we install with mise.
|
# we don't set node-version because we install with mise.
|
||||||
# this step is needed to setup npm auth
|
# this step is needed to setup npm auth
|
||||||
|
|||||||
184
.github/workflows/build.yml
vendored
184
.github/workflows/build.yml
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
pull-requests: write # For schema check comment.
|
pull-requests: write # For schema check comment.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -59,6 +59,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -122,61 +128,13 @@ jobs:
|
|||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
sdk/java/build.gradle
|
sdk/java/build.gradle
|
||||||
- name: Commit SDK changes for Renovate
|
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
|
||||||
'pull_request'
|
|
||||||
shell: bash
|
|
||||||
run: >
|
|
||||||
git diff --quiet -- sdk && echo "no changes to sdk" && exit
|
|
||||||
|
|
||||||
git config --global user.email "bot@pulumi.com"
|
|
||||||
|
|
||||||
git config --global user.name "pulumi-bot"
|
|
||||||
|
|
||||||
# Stash local changes and check out the PR's branch directly.
|
|
||||||
|
|
||||||
git stash
|
|
||||||
|
|
||||||
git fetch
|
|
||||||
|
|
||||||
git checkout "origin/$HEAD_REF"
|
|
||||||
|
|
||||||
|
|
||||||
# Apply and add our changes, but don't commit any files we expect to
|
|
||||||
|
|
||||||
# always change due to versioning.
|
|
||||||
|
|
||||||
git stash pop
|
|
||||||
|
|
||||||
git add sdk
|
|
||||||
|
|
||||||
git reset sdk/python/*/pulumi-plugin.json \
|
|
||||||
sdk/python/pyproject.toml \
|
|
||||||
sdk/dotnet/pulumi-plugin.json \
|
|
||||||
sdk/dotnet/*.*.csproj \
|
|
||||||
sdk/dotnet/version.txt \
|
|
||||||
sdk/go/*/pulumi-plugin.json \
|
|
||||||
sdk/go/*/internal/pulumiUtilities.go \
|
|
||||||
sdk/nodejs/package.json
|
|
||||||
|
|
||||||
git commit -m 'Commit SDK for Renovate'
|
|
||||||
|
|
||||||
|
|
||||||
# Push with pulumi-bot credentials to trigger a re-run of the
|
|
||||||
|
|
||||||
# workflow. https://github.com/orgs/community/discussions/25702
|
|
||||||
|
|
||||||
git push https://pulumi-bot:${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}@github.com/${{ github.repository }} "HEAD:$HEAD_REF"
|
|
||||||
env:
|
|
||||||
HEAD_REF: ${{ github.head_ref }}
|
|
||||||
- run: git status --porcelain
|
- run: git status --porcelain
|
||||||
- name: Tar provider binaries
|
- name: Tar provider binaries
|
||||||
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
||||||
github.workspace}}/bin/ pulumi-resource-${{ env.PROVIDER }}
|
github.workspace}}/bin/ pulumi-resource-${{ env.PROVIDER }}
|
||||||
pulumi-gen-${{ env.PROVIDER}}
|
pulumi-gen-${{ env.PROVIDER}}
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
||||||
with:
|
with:
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
||||||
path: ${{ github.workspace }}/bin/provider.tar.gz
|
path: ${{ github.workspace }}/bin/provider.tar.gz
|
||||||
@@ -218,7 +176,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -230,6 +188,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -240,7 +204,7 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Download Provider Binary
|
- name: Download Provider Binary
|
||||||
uses: ./.github/actions/download-provider
|
uses: ./.github/actions/download-provider
|
||||||
- name: Generate SDK
|
- name: Generate SDK
|
||||||
@@ -259,59 +223,11 @@ jobs:
|
|||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
sdk/java/build.gradle
|
sdk/java/build.gradle
|
||||||
- name: Commit SDK changes for Renovate
|
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
|
||||||
'pull_request'
|
|
||||||
shell: bash
|
|
||||||
run: >
|
|
||||||
git diff --quiet -- sdk && echo "no changes to sdk" && exit
|
|
||||||
|
|
||||||
git config --global user.email "bot@pulumi.com"
|
|
||||||
|
|
||||||
git config --global user.name "pulumi-bot"
|
|
||||||
|
|
||||||
# Stash local changes and check out the PR's branch directly.
|
|
||||||
|
|
||||||
git stash
|
|
||||||
|
|
||||||
git fetch
|
|
||||||
|
|
||||||
git checkout "origin/$HEAD_REF"
|
|
||||||
|
|
||||||
|
|
||||||
# Apply and add our changes, but don't commit any files we expect to
|
|
||||||
|
|
||||||
# always change due to versioning.
|
|
||||||
|
|
||||||
git stash pop
|
|
||||||
|
|
||||||
git add sdk
|
|
||||||
|
|
||||||
git reset sdk/python/*/pulumi-plugin.json \
|
|
||||||
sdk/python/pyproject.toml \
|
|
||||||
sdk/dotnet/pulumi-plugin.json \
|
|
||||||
sdk/dotnet/*.*.csproj \
|
|
||||||
sdk/dotnet/version.txt \
|
|
||||||
sdk/go/*/pulumi-plugin.json \
|
|
||||||
sdk/go/*/internal/pulumiUtilities.go \
|
|
||||||
sdk/nodejs/package.json
|
|
||||||
|
|
||||||
git commit -m 'Commit SDK for Renovate'
|
|
||||||
|
|
||||||
|
|
||||||
# Push with pulumi-bot credentials to trigger a re-run of the
|
|
||||||
|
|
||||||
# workflow. https://github.com/orgs/community/discussions/25702
|
|
||||||
|
|
||||||
git push https://pulumi-bot:${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}@github.com/${{ github.repository }} "HEAD:$HEAD_REF"
|
|
||||||
env:
|
|
||||||
HEAD_REF: ${{ github.head_ref }}
|
|
||||||
- run: git status --porcelain
|
- run: git status --porcelain
|
||||||
- name: Tar SDK folder
|
- name: Tar SDK folder
|
||||||
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.language }}-sdk.tar.gz
|
name: ${{ matrix.language }}-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz
|
path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz
|
||||||
@@ -335,7 +251,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -380,7 +296,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets and Pulumi access token OIDC.
|
id-token: write # For ESC secrets and Pulumi access token OIDC.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -392,6 +308,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -402,7 +324,7 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Download Provider Binary
|
- name: Download Provider Binary
|
||||||
uses: ./.github/actions/download-provider
|
uses: ./.github/actions/download-provider
|
||||||
- name: Download SDK
|
- name: Download SDK
|
||||||
@@ -430,7 +352,7 @@ jobs:
|
|||||||
requested-token-type: urn:pulumi:token-type:access_token:organization
|
requested-token-type: urn:pulumi:token-type:access_token:organization
|
||||||
export-environment-variables: false
|
export-environment-variables: false
|
||||||
- name: Export AWS Credentials
|
- name: Export AWS Credentials
|
||||||
uses: pulumi/esc-action@6cf9520e68354d86f81c455e8d43eabd58f5c9f5 # v1.5.0
|
uses: pulumi/esc-action@9840934db12128a33f6afb60b17d9de8f7ec5519
|
||||||
env:
|
env:
|
||||||
PULUMI_ACCESS_TOKEN: ${{ steps.generate_pulumi_token.outputs.pulumi-access-token }}
|
PULUMI_ACCESS_TOKEN: ${{ steps.generate_pulumi_token.outputs.pulumi-access-token }}
|
||||||
with:
|
with:
|
||||||
@@ -477,7 +399,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -489,6 +411,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -499,7 +427,7 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Clear GitHub Actions Ubuntu runner disk space
|
- name: Clear GitHub Actions Ubuntu runner disk space
|
||||||
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
||||||
with:
|
with:
|
||||||
@@ -550,7 +478,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -562,6 +490,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -570,7 +504,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Checkout Scripts Repo
|
- name: Checkout Scripts Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
path: ci-scripts
|
path: ci-scripts
|
||||||
repository: pulumi/scripts
|
repository: pulumi/scripts
|
||||||
@@ -578,9 +512,9 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Download python SDK
|
- name: Download python SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: python-sdk.tar.gz
|
name: python-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/
|
path: ${{ github.workspace}}/sdk/
|
||||||
@@ -588,7 +522,7 @@ jobs:
|
|||||||
run: tar -zxf ${{github.workspace}}/sdk/python.tar.gz -C
|
run: tar -zxf ${{github.workspace}}/sdk/python.tar.gz -C
|
||||||
${{github.workspace}}/sdk/python
|
${{github.workspace}}/sdk/python
|
||||||
- name: Download dotnet SDK
|
- name: Download dotnet SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: dotnet-sdk.tar.gz
|
name: dotnet-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/
|
path: ${{ github.workspace}}/sdk/
|
||||||
@@ -596,7 +530,7 @@ jobs:
|
|||||||
run: tar -zxf ${{github.workspace}}/sdk/dotnet.tar.gz -C
|
run: tar -zxf ${{github.workspace}}/sdk/dotnet.tar.gz -C
|
||||||
${{github.workspace}}/sdk/dotnet
|
${{github.workspace}}/sdk/dotnet
|
||||||
- name: Download nodejs SDK
|
- name: Download nodejs SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: nodejs-sdk.tar.gz
|
name: nodejs-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/
|
path: ${{ github.workspace}}/sdk/
|
||||||
@@ -628,26 +562,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SLACK_WEBHOOK_URL: ${{ steps.esc-secrets.outputs.SLACK_WEBHOOK_URL }}
|
SLACK_WEBHOOK_URL: ${{ steps.esc-secrets.outputs.SLACK_WEBHOOK_URL }}
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repo
|
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
|
||||||
with:
|
|
||||||
lfs: true
|
|
||||||
persist-credentials: false
|
|
||||||
ref: ${{ env.PR_COMMIT_SHA }}
|
|
||||||
- name: Setup Tools
|
|
||||||
uses: ./.github/actions/setup-tools
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: Disarm go:embed directives to enable linters that compile source code
|
|
||||||
run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i
|
|
||||||
's/go:embed/ goembed/g'
|
|
||||||
- name: golangci-lint provider pkg
|
|
||||||
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
|
|
||||||
with:
|
|
||||||
install-mode: none # Handled by mise.
|
|
||||||
working-directory: .
|
|
||||||
name: lint
|
name: lint
|
||||||
if: github.event_name == 'repository_dispatch' ||
|
uses: ./.github/workflows/lint.yml
|
||||||
github.event.pull_request.head.repo.full_name == github.repository
|
secrets: inherit
|
||||||
|
|||||||
135
.github/workflows/claude.yml
vendored
Normal file
135
.github/workflows/claude.yml
vendored
Normal file
@@ -0,0 +1,135 @@
|
|||||||
|
name: Claude Code
|
||||||
|
|
||||||
|
on:
|
||||||
|
# Responds to @claude mentions in comments.
|
||||||
|
issue_comment:
|
||||||
|
types: [created]
|
||||||
|
pull_request_review_comment:
|
||||||
|
types: [created]
|
||||||
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
pull_request_review:
|
||||||
|
types: [submitted]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
claude:
|
||||||
|
# Only run when @claude is mentioned by a trusted user (OWNER, MEMBER, or COLLABORATOR)
|
||||||
|
# Note: the claude-code-action can only be triggered by users with write access to the repository so this is extra
|
||||||
|
# see https://github.com/anthropics/claude-code-action/blob/main/docs/security.md
|
||||||
|
if: |
|
||||||
|
(github.event_name == 'issue_comment' &&
|
||||||
|
contains(github.event.comment.body, '@claude') &&
|
||||||
|
contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)) ||
|
||||||
|
(github.event_name == 'pull_request_review_comment' &&
|
||||||
|
contains(github.event.comment.body, '@claude') &&
|
||||||
|
contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)) ||
|
||||||
|
(github.event_name == 'pull_request_review' &&
|
||||||
|
contains(github.event.review.body, '@claude') &&
|
||||||
|
contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.review.author_association)) ||
|
||||||
|
(github.event_name == 'issues' &&
|
||||||
|
(contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')) &&
|
||||||
|
contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.issue.author_association))
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
issues: write
|
||||||
|
id-token: write
|
||||||
|
actions: read
|
||||||
|
steps:
|
||||||
|
- env:
|
||||||
|
ESC_ACTION_ENVIRONMENT: github-secrets/${{ github.repository_owner }}-${{ github.event.repository.name }}
|
||||||
|
ESC_ACTION_EXPORT_ENVIRONMENT_VARIABLES: "false"
|
||||||
|
ESC_ACTION_OIDC_AUTH: "true"
|
||||||
|
ESC_ACTION_OIDC_ORGANIZATION: pulumi
|
||||||
|
ESC_ACTION_OIDC_REQUESTED_TOKEN_TYPE: urn:pulumi:token-type:access_token:organization
|
||||||
|
id: esc-secrets
|
||||||
|
name: Fetch secrets from ESC
|
||||||
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Checkout PR head (if applicable)
|
||||||
|
if: ${{ github.event.pull_request.number || (github.event.issue.pull_request && github.event.issue.number) }}
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
PR_NUMBER: ${{ github.event.pull_request.number || github.event.issue.number }}
|
||||||
|
run: gh pr checkout "$PR_NUMBER"
|
||||||
|
- name: Setup mise
|
||||||
|
uses: blampe/mise-action@blampe/plugins
|
||||||
|
env:
|
||||||
|
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
||||||
|
with:
|
||||||
|
version: 2026.1.1
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
plugin_install: https://github.com/pulumi/vfox-pulumi
|
||||||
|
# only saving the cache in the prerequisites job
|
||||||
|
cache_save: false
|
||||||
|
- name: Prepare local workspace
|
||||||
|
# this runs install_plugins and upstream
|
||||||
|
run: make prepare_local_workspace
|
||||||
|
- name: Run Claude Code Review
|
||||||
|
# Comment must contain '@claude review'
|
||||||
|
if: |
|
||||||
|
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude review')) ||
|
||||||
|
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude review')) ||
|
||||||
|
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude review'))
|
||||||
|
id: claude-review
|
||||||
|
uses: anthropics/claude-code-action@8341a564b0c1693e9fa29c681852ee3714980098 # v1
|
||||||
|
with:
|
||||||
|
anthropic_api_key: ${{ steps.esc-secrets.outputs.ANTHROPIC_API_KEY }}
|
||||||
|
prompt: |
|
||||||
|
REPO: ${{ github.repository }}
|
||||||
|
PR NUMBER: ${{ github.event.pull_request.number || github.event.issue.number }}
|
||||||
|
|
||||||
|
Review this pull request using the provider-code-review skill for guidelines.
|
||||||
|
The PR branch is already checked out in the current working directory.
|
||||||
|
|
||||||
|
Use `gh pr comment` for top-level feedback.
|
||||||
|
Use `mcp__github_inline_comment__create_inline_comment` to highlight specific code issues.
|
||||||
|
Only post GitHub comments - don't submit review text as messages.
|
||||||
|
# Taken from https://github.com/anthropics/claude-code/blob/main/plugins/code-review/commands/code-review.md
|
||||||
|
claude_args: |
|
||||||
|
--allowedTools "Skill,Bash(gh issue view *),Bash(gh search *),Bash(gh issue list *),Bash(gh pr comment *),Bash(gh pr diff *),Bash(gh pr view *),Bash(gh pr list *),mcp__github_inline_comment__create_inline_comment"
|
||||||
|
- name: Run Claude Code
|
||||||
|
# Comment must contain '@claude', but not '@claude review'
|
||||||
|
if: |
|
||||||
|
!contains(github.event.comment.body, '@claude review') &&
|
||||||
|
!contains(github.event.review.body, '@claude review')
|
||||||
|
id: claude-action
|
||||||
|
uses: anthropics/claude-code-action@8341a564b0c1693e9fa29c681852ee3714980098 # v1
|
||||||
|
with:
|
||||||
|
anthropic_api_key: ${{ steps.esc-secrets.outputs.ANTHROPIC_API_KEY }}
|
||||||
|
# This allows claude to read github action logs
|
||||||
|
additional_permissions: |
|
||||||
|
actions: read
|
||||||
|
# Sandbox settings: --allowedTools controls which tools Claude can invoke,
|
||||||
|
# but the sandbox also enforces OS-level filesystem restrictions. Edit()
|
||||||
|
# rules in permissions.allow control all bash filesystem writes (mkdir,
|
||||||
|
# output redirection, etc.), not just the Edit tool. Without these, commands
|
||||||
|
# like `mkdir .pulumi` or `cmd > file.txt` would be blocked by the sandbox.
|
||||||
|
settings: |
|
||||||
|
{
|
||||||
|
"permissions": {
|
||||||
|
"allow": ["Edit(./**)", "Edit(/tmp/**)"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
claude_args: |
|
||||||
|
--max-turns 50
|
||||||
|
--allowedTools "Skill,Edit,MultiEdit,Write,Read,Glob,Grep,LS,Bash(upgrade-provider *),Bash(./scripts/upstream.sh *),Bash(git *),Bash(GIT_EDITOR=* git *),Bash(make *),Bash(gh *),Bash(mkdir *),Bash(go install *),Bash(ls *),Bash(test *),Bash(cat *),Bash(pwd),Bash(head *),Bash(tail *),Bash(tee *),Bash(rg *),Bash(grep *),Bash(sed *),Bash(awk *),Bash(find *)"
|
||||||
|
# If the claude action fails you don't get any logs on what claude was doing
|
||||||
|
# Uploading the artifact allows you to download the artifact from the UI
|
||||||
|
- name: Upload Claude review output on failure
|
||||||
|
if: failure() && steps.claude-review.outputs.execution_file
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: claude-review-execution-log
|
||||||
|
path: ${{ steps.claude-review.outputs.execution_file }}
|
||||||
|
retention-days: 7
|
||||||
|
- name: Upload Claude output on failure
|
||||||
|
if: failure() && steps.claude-action.outputs.execution_file
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: claude-execution-log
|
||||||
|
path: ${{ steps.claude-action.outputs.execution_file }}
|
||||||
|
retention-days: 7
|
||||||
2
.github/workflows/command-dispatch.yml
vendored
2
.github/workflows/command-dispatch.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- env:
|
- env:
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
|
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
|
||||||
name: "Comment on stale issues"
|
name: "Comment on stale issues"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch: {}
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "46 4 * * *" # run once per day
|
- cron: "46 4 * * *" # run once per day
|
||||||
|
|
||||||
@@ -9,7 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Stale issue job
|
name: Stale issue job
|
||||||
steps:
|
steps:
|
||||||
- uses: aws-actions/stale-issue-cleanup@5650b49bcd757a078f6ca06c373d7807b773f9bc # v7.1.0
|
- uses: pose/stale-issue-cleanup@d2922f61fc5669f4154408689f9bb2a981996112
|
||||||
with:
|
with:
|
||||||
issue-types: issues # only look at issues (ignore pull-requests)
|
issue-types: issues # only look at issues (ignore pull-requests)
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/community-moderation.yml
vendored
2
.github/workflows/community-moderation.yml
vendored
@@ -6,7 +6,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- id: schema_changed
|
- id: schema_changed
|
||||||
|
|||||||
69
.github/workflows/lint.yml
vendored
Normal file
69
.github/workflows/lint.yml
vendored
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
|
||||||
|
|
||||||
|
name: lint
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
inputs: {}
|
||||||
|
|
||||||
|
env:
|
||||||
|
ARM_CLIENT_ID: 30e520fa-12b4-4e21-b473-9426c5ac2e1e
|
||||||
|
ARM_SUBSCRIPTION_ID: 0282681f-7a9e-424b-80b2-96babd57a8a1
|
||||||
|
ARM_TENANT_ID: 706143bc-e1d4-4593-aee2-c9dc60ab9be7
|
||||||
|
AWS_REGION: us-west-2
|
||||||
|
AZURE_LOCATION: westus
|
||||||
|
GOOGLE_CI_SERVICE_ACCOUNT_EMAIL: pulumi-ci@pulumi-ci-gcp-provider.iam.gserviceaccount.com
|
||||||
|
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci
|
||||||
|
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
||||||
|
GOOGLE_PROJECT: pulumi-ci-gcp-provider
|
||||||
|
GOOGLE_PROJECT_NUMBER: "895284651812"
|
||||||
|
GOOGLE_REGION: us-central1
|
||||||
|
GOOGLE_ZONE: us-central1-a
|
||||||
|
PULUMI_API: https://api.pulumi-staging.io
|
||||||
|
PULUMI_PULUMI_ENABLE_JOURNALING: "true"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
name: lint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
id-token: write # For ESC secrets.
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repo
|
||||||
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
- env:
|
||||||
|
ESC_ACTION_ENVIRONMENT: github-secrets/${{ github.repository_owner }}-${{ github.event.repository.name }}
|
||||||
|
ESC_ACTION_EXPORT_ENVIRONMENT_VARIABLES: "false"
|
||||||
|
ESC_ACTION_OIDC_AUTH: "true"
|
||||||
|
ESC_ACTION_OIDC_ORGANIZATION: pulumi
|
||||||
|
ESC_ACTION_OIDC_REQUESTED_TOKEN_TYPE: urn:pulumi:token-type:access_token:organization
|
||||||
|
id: esc-secrets
|
||||||
|
name: Fetch secrets from ESC
|
||||||
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
|
- name: Setup mise
|
||||||
|
uses: blampe/mise-action@blampe/plugins
|
||||||
|
env:
|
||||||
|
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
||||||
|
with:
|
||||||
|
version: 2026.1.1
|
||||||
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
|
plugin_install: https://github.com/pulumi/vfox-pulumi
|
||||||
|
cache_save: false # A different job handles caching our tools.
|
||||||
|
- name: prepare workspace
|
||||||
|
continue-on-error: true
|
||||||
|
run: make prepare_local_workspace
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: lint
|
||||||
|
run: make lint
|
||||||
177
.github/workflows/prerelease.yml
vendored
177
.github/workflows/prerelease.yml
vendored
@@ -34,9 +34,12 @@ jobs:
|
|||||||
prerequisites:
|
prerequisites:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: prerequisites
|
name: prerequisites
|
||||||
|
permissions:
|
||||||
|
id-token: write # For ESC secrets.
|
||||||
|
pull-requests: write # For schema check comment.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -48,6 +51,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -111,61 +120,13 @@ jobs:
|
|||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
sdk/java/build.gradle
|
sdk/java/build.gradle
|
||||||
- name: Commit SDK changes for Renovate
|
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
|
||||||
'pull_request'
|
|
||||||
shell: bash
|
|
||||||
run: >
|
|
||||||
git diff --quiet -- sdk && echo "no changes to sdk" && exit
|
|
||||||
|
|
||||||
git config --global user.email "bot@pulumi.com"
|
|
||||||
|
|
||||||
git config --global user.name "pulumi-bot"
|
|
||||||
|
|
||||||
# Stash local changes and check out the PR's branch directly.
|
|
||||||
|
|
||||||
git stash
|
|
||||||
|
|
||||||
git fetch
|
|
||||||
|
|
||||||
git checkout "origin/$HEAD_REF"
|
|
||||||
|
|
||||||
|
|
||||||
# Apply and add our changes, but don't commit any files we expect to
|
|
||||||
|
|
||||||
# always change due to versioning.
|
|
||||||
|
|
||||||
git stash pop
|
|
||||||
|
|
||||||
git add sdk
|
|
||||||
|
|
||||||
git reset sdk/python/*/pulumi-plugin.json \
|
|
||||||
sdk/python/pyproject.toml \
|
|
||||||
sdk/dotnet/pulumi-plugin.json \
|
|
||||||
sdk/dotnet/*.*.csproj \
|
|
||||||
sdk/dotnet/version.txt \
|
|
||||||
sdk/go/*/pulumi-plugin.json \
|
|
||||||
sdk/go/*/internal/pulumiUtilities.go \
|
|
||||||
sdk/nodejs/package.json
|
|
||||||
|
|
||||||
git commit -m 'Commit SDK for Renovate'
|
|
||||||
|
|
||||||
|
|
||||||
# Push with pulumi-bot credentials to trigger a re-run of the
|
|
||||||
|
|
||||||
# workflow. https://github.com/orgs/community/discussions/25702
|
|
||||||
|
|
||||||
git push https://pulumi-bot:${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}@github.com/${{ github.repository }} "HEAD:$HEAD_REF"
|
|
||||||
env:
|
|
||||||
HEAD_REF: ${{ github.head_ref }}
|
|
||||||
- run: git status --porcelain
|
- run: git status --porcelain
|
||||||
- name: Tar provider binaries
|
- name: Tar provider binaries
|
||||||
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
||||||
github.workspace}}/bin/ pulumi-resource-${{ env.PROVIDER }}
|
github.workspace}}/bin/ pulumi-resource-${{ env.PROVIDER }}
|
||||||
pulumi-gen-${{ env.PROVIDER}}
|
pulumi-gen-${{ env.PROVIDER}}
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
||||||
with:
|
with:
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
||||||
path: ${{ github.workspace }}/bin/provider.tar.gz
|
path: ${{ github.workspace }}/bin/provider.tar.gz
|
||||||
@@ -207,7 +168,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -219,6 +180,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -229,7 +196,7 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Download Provider Binary
|
- name: Download Provider Binary
|
||||||
uses: ./.github/actions/download-provider
|
uses: ./.github/actions/download-provider
|
||||||
- name: Generate SDK
|
- name: Generate SDK
|
||||||
@@ -248,59 +215,11 @@ jobs:
|
|||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
sdk/java/build.gradle
|
sdk/java/build.gradle
|
||||||
- name: Commit ${{ matrix.language }} SDK changes for Renovate
|
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
|
||||||
'pull_request'
|
|
||||||
shell: bash
|
|
||||||
run: >
|
|
||||||
git diff --quiet -- sdk && echo "no changes to sdk" && exit
|
|
||||||
|
|
||||||
git config --global user.email "bot@pulumi.com"
|
|
||||||
|
|
||||||
git config --global user.name "pulumi-bot"
|
|
||||||
|
|
||||||
# Stash local changes and check out the PR's branch directly.
|
|
||||||
|
|
||||||
git stash
|
|
||||||
|
|
||||||
git fetch
|
|
||||||
|
|
||||||
git checkout "origin/$HEAD_REF"
|
|
||||||
|
|
||||||
|
|
||||||
# Apply and add our changes, but don't commit any files we expect to
|
|
||||||
|
|
||||||
# always change due to versioning.
|
|
||||||
|
|
||||||
git stash pop
|
|
||||||
|
|
||||||
git add sdk
|
|
||||||
|
|
||||||
git reset sdk/python/*/pulumi-plugin.json \
|
|
||||||
sdk/python/pyproject.toml \
|
|
||||||
sdk/dotnet/pulumi-plugin.json \
|
|
||||||
sdk/dotnet/*.*.csproj \
|
|
||||||
sdk/dotnet/version.txt \
|
|
||||||
sdk/go/*/pulumi-plugin.json \
|
|
||||||
sdk/go/*/internal/pulumiUtilities.go \
|
|
||||||
sdk/nodejs/package.json
|
|
||||||
|
|
||||||
git commit -m 'Commit ${{ matrix.language }} SDK for Renovate'
|
|
||||||
|
|
||||||
|
|
||||||
# Push with pulumi-bot credentials to trigger a re-run of the
|
|
||||||
|
|
||||||
# workflow. https://github.com/orgs/community/discussions/25702
|
|
||||||
|
|
||||||
git push https://pulumi-bot:${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}@github.com/${{ github.repository }} "HEAD:$HEAD_REF"
|
|
||||||
env:
|
|
||||||
HEAD_REF: ${{ github.head_ref }}
|
|
||||||
- run: git status --porcelain
|
- run: git status --porcelain
|
||||||
- name: Tar SDK folder
|
- name: Tar SDK folder
|
||||||
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.language }}-sdk.tar.gz
|
name: ${{ matrix.language }}-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz
|
path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz
|
||||||
@@ -333,7 +252,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets and Pulumi access token OIDC.
|
id-token: write # For ESC secrets and Pulumi access token OIDC.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -345,6 +264,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -355,7 +280,7 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Download Provider Binary
|
- name: Download Provider Binary
|
||||||
uses: ./.github/actions/download-provider
|
uses: ./.github/actions/download-provider
|
||||||
- name: Download SDK
|
- name: Download SDK
|
||||||
@@ -383,7 +308,7 @@ jobs:
|
|||||||
requested-token-type: urn:pulumi:token-type:access_token:organization
|
requested-token-type: urn:pulumi:token-type:access_token:organization
|
||||||
export-environment-variables: false
|
export-environment-variables: false
|
||||||
- name: Export AWS Credentials
|
- name: Export AWS Credentials
|
||||||
uses: pulumi/esc-action@6cf9520e68354d86f81c455e8d43eabd58f5c9f5 # v1.5.0
|
uses: pulumi/esc-action@9840934db12128a33f6afb60b17d9de8f7ec5519
|
||||||
env:
|
env:
|
||||||
PULUMI_ACCESS_TOKEN: ${{ steps.generate_pulumi_token.outputs.pulumi-access-token }}
|
PULUMI_ACCESS_TOKEN: ${{ steps.generate_pulumi_token.outputs.pulumi-access-token }}
|
||||||
with:
|
with:
|
||||||
@@ -430,7 +355,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -442,6 +367,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -452,7 +383,7 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Clear GitHub Actions Ubuntu runner disk space
|
- name: Clear GitHub Actions Ubuntu runner disk space
|
||||||
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
||||||
with:
|
with:
|
||||||
@@ -503,7 +434,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -515,6 +446,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -523,7 +460,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Checkout Scripts Repo
|
- name: Checkout Scripts Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
path: ci-scripts
|
path: ci-scripts
|
||||||
repository: pulumi/scripts
|
repository: pulumi/scripts
|
||||||
@@ -531,9 +468,9 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Download python SDK
|
- name: Download python SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: python-sdk.tar.gz
|
name: python-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/
|
path: ${{ github.workspace}}/sdk/
|
||||||
@@ -541,7 +478,7 @@ jobs:
|
|||||||
run: tar -zxf ${{github.workspace}}/sdk/python.tar.gz -C
|
run: tar -zxf ${{github.workspace}}/sdk/python.tar.gz -C
|
||||||
${{github.workspace}}/sdk/python
|
${{github.workspace}}/sdk/python
|
||||||
- name: Download dotnet SDK
|
- name: Download dotnet SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: dotnet-sdk.tar.gz
|
name: dotnet-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/
|
path: ${{ github.workspace}}/sdk/
|
||||||
@@ -549,7 +486,7 @@ jobs:
|
|||||||
run: tar -zxf ${{github.workspace}}/sdk/dotnet.tar.gz -C
|
run: tar -zxf ${{github.workspace}}/sdk/dotnet.tar.gz -C
|
||||||
${{github.workspace}}/sdk/dotnet
|
${{github.workspace}}/sdk/dotnet
|
||||||
- name: Download nodejs SDK
|
- name: Download nodejs SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: nodejs-sdk.tar.gz
|
name: nodejs-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/
|
path: ${{ github.workspace}}/sdk/
|
||||||
@@ -585,7 +522,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -597,6 +534,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -607,9 +550,9 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Download java SDK
|
- name: Download java SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: java-sdk.tar.gz
|
name: java-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/
|
path: ${{ github.workspace}}/sdk/
|
||||||
@@ -635,7 +578,7 @@ jobs:
|
|||||||
needs: publish_sdk
|
needs: publish_sdk
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- id: version
|
- id: version
|
||||||
@@ -646,7 +589,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Download go SDK
|
- name: Download go SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: go-sdk.tar.gz
|
name: go-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/
|
path: ${{ github.workspace}}/sdk/
|
||||||
|
|||||||
2
.github/workflows/pull-request.yml
vendored
2
.github/workflows/pull-request.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
name: comment-on-pr
|
name: comment-on-pr
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- name: Comment PR
|
- name: Comment PR
|
||||||
|
|||||||
184
.github/workflows/release.yml
vendored
184
.github/workflows/release.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
|||||||
pull-requests: write # For schema check comment.
|
pull-requests: write # For schema check comment.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -51,6 +51,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -62,7 +68,7 @@ jobs:
|
|||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
cache: 'true'
|
cache: 'true'
|
||||||
github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- if: github.event_name == 'pull_request'
|
- if: github.event_name == 'pull_request'
|
||||||
name: Install Schema Tools
|
name: Install Schema Tools
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
||||||
@@ -114,61 +120,13 @@ jobs:
|
|||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
sdk/java/build.gradle
|
sdk/java/build.gradle
|
||||||
- name: Commit SDK changes for Renovate
|
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
|
||||||
'pull_request'
|
|
||||||
shell: bash
|
|
||||||
run: >
|
|
||||||
git diff --quiet -- sdk && echo "no changes to sdk" && exit
|
|
||||||
|
|
||||||
git config --global user.email "bot@pulumi.com"
|
|
||||||
|
|
||||||
git config --global user.name "pulumi-bot"
|
|
||||||
|
|
||||||
# Stash local changes and check out the PR's branch directly.
|
|
||||||
|
|
||||||
git stash
|
|
||||||
|
|
||||||
git fetch
|
|
||||||
|
|
||||||
git checkout "origin/$HEAD_REF"
|
|
||||||
|
|
||||||
|
|
||||||
# Apply and add our changes, but don't commit any files we expect to
|
|
||||||
|
|
||||||
# always change due to versioning.
|
|
||||||
|
|
||||||
git stash pop
|
|
||||||
|
|
||||||
git add sdk
|
|
||||||
|
|
||||||
git reset sdk/python/*/pulumi-plugin.json \
|
|
||||||
sdk/python/pyproject.toml \
|
|
||||||
sdk/dotnet/pulumi-plugin.json \
|
|
||||||
sdk/dotnet/*.*.csproj \
|
|
||||||
sdk/dotnet/version.txt \
|
|
||||||
sdk/go/*/pulumi-plugin.json \
|
|
||||||
sdk/go/*/internal/pulumiUtilities.go \
|
|
||||||
sdk/nodejs/package.json
|
|
||||||
|
|
||||||
git commit -m 'Commit SDK for Renovate'
|
|
||||||
|
|
||||||
|
|
||||||
# Push with pulumi-bot credentials to trigger a re-run of the
|
|
||||||
|
|
||||||
# workflow. https://github.com/orgs/community/discussions/25702
|
|
||||||
|
|
||||||
git push https://pulumi-bot:${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}@github.com/${{ github.repository }} "HEAD:$HEAD_REF"
|
|
||||||
env:
|
|
||||||
HEAD_REF: ${{ github.head_ref }}
|
|
||||||
- run: git status --porcelain
|
- run: git status --porcelain
|
||||||
- name: Tar provider binaries
|
- name: Tar provider binaries
|
||||||
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
||||||
github.workspace}}/bin/ pulumi-resource-${{ env.PROVIDER }}
|
github.workspace}}/bin/ pulumi-resource-${{ env.PROVIDER }}
|
||||||
pulumi-gen-${{ env.PROVIDER}}
|
pulumi-gen-${{ env.PROVIDER}}
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
||||||
with:
|
with:
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
||||||
path: ${{ github.workspace }}/bin/provider.tar.gz
|
path: ${{ github.workspace }}/bin/provider.tar.gz
|
||||||
@@ -210,7 +168,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -222,6 +180,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -232,7 +196,7 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Download Provider Binary
|
- name: Download Provider Binary
|
||||||
uses: ./.github/actions/download-provider
|
uses: ./.github/actions/download-provider
|
||||||
- name: Generate SDK
|
- name: Generate SDK
|
||||||
@@ -251,59 +215,11 @@ jobs:
|
|||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
sdk/java/build.gradle
|
sdk/java/build.gradle
|
||||||
- name: Commit SDK changes for Renovate
|
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
|
||||||
'pull_request'
|
|
||||||
shell: bash
|
|
||||||
run: >
|
|
||||||
git diff --quiet -- sdk && echo "no changes to sdk" && exit
|
|
||||||
|
|
||||||
git config --global user.email "bot@pulumi.com"
|
|
||||||
|
|
||||||
git config --global user.name "pulumi-bot"
|
|
||||||
|
|
||||||
# Stash local changes and check out the PR's branch directly.
|
|
||||||
|
|
||||||
git stash
|
|
||||||
|
|
||||||
git fetch
|
|
||||||
|
|
||||||
git checkout "origin/$HEAD_REF"
|
|
||||||
|
|
||||||
|
|
||||||
# Apply and add our changes, but don't commit any files we expect to
|
|
||||||
|
|
||||||
# always change due to versioning.
|
|
||||||
|
|
||||||
git stash pop
|
|
||||||
|
|
||||||
git add sdk
|
|
||||||
|
|
||||||
git reset sdk/python/*/pulumi-plugin.json \
|
|
||||||
sdk/python/pyproject.toml \
|
|
||||||
sdk/dotnet/pulumi-plugin.json \
|
|
||||||
sdk/dotnet/*.*.csproj \
|
|
||||||
sdk/dotnet/version.txt \
|
|
||||||
sdk/go/*/pulumi-plugin.json \
|
|
||||||
sdk/go/*/internal/pulumiUtilities.go \
|
|
||||||
sdk/nodejs/package.json
|
|
||||||
|
|
||||||
git commit -m 'Commit SDK for Renovate'
|
|
||||||
|
|
||||||
|
|
||||||
# Push with pulumi-bot credentials to trigger a re-run of the
|
|
||||||
|
|
||||||
# workflow. https://github.com/orgs/community/discussions/25702
|
|
||||||
|
|
||||||
git push https://pulumi-bot:${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}@github.com/${{ github.repository }} "HEAD:$HEAD_REF"
|
|
||||||
env:
|
|
||||||
HEAD_REF: ${{ github.head_ref }}
|
|
||||||
- run: git status --porcelain
|
- run: git status --porcelain
|
||||||
- name: Tar SDK folder
|
- name: Tar SDK folder
|
||||||
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.language }}-sdk.tar.gz
|
name: ${{ matrix.language }}-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz
|
path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz
|
||||||
@@ -336,7 +252,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -348,6 +264,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -358,7 +280,7 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Download Provider Binary
|
- name: Download Provider Binary
|
||||||
uses: ./.github/actions/download-provider
|
uses: ./.github/actions/download-provider
|
||||||
- name: Download SDK
|
- name: Download SDK
|
||||||
@@ -386,7 +308,7 @@ jobs:
|
|||||||
requested-token-type: urn:pulumi:token-type:access_token:organization
|
requested-token-type: urn:pulumi:token-type:access_token:organization
|
||||||
export-environment-variables: false
|
export-environment-variables: false
|
||||||
- name: Export AWS Credentials
|
- name: Export AWS Credentials
|
||||||
uses: pulumi/esc-action@6cf9520e68354d86f81c455e8d43eabd58f5c9f5 # v1.5.0
|
uses: pulumi/esc-action@9840934db12128a33f6afb60b17d9de8f7ec5519
|
||||||
env:
|
env:
|
||||||
PULUMI_ACCESS_TOKEN: ${{ steps.generate_pulumi_token.outputs.pulumi-access-token }}
|
PULUMI_ACCESS_TOKEN: ${{ steps.generate_pulumi_token.outputs.pulumi-access-token }}
|
||||||
with:
|
with:
|
||||||
@@ -433,7 +355,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -445,6 +367,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -455,7 +383,7 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Clear GitHub Actions Ubuntu runner disk space
|
- name: Clear GitHub Actions Ubuntu runner disk space
|
||||||
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
||||||
with:
|
with:
|
||||||
@@ -506,7 +434,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -518,6 +446,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -526,7 +460,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Checkout Scripts Repo
|
- name: Checkout Scripts Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
path: ci-scripts
|
path: ci-scripts
|
||||||
repository: pulumi/scripts
|
repository: pulumi/scripts
|
||||||
@@ -534,9 +468,9 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Download python SDK
|
- name: Download python SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: python-sdk.tar.gz
|
name: python-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/
|
path: ${{ github.workspace}}/sdk/
|
||||||
@@ -544,7 +478,7 @@ jobs:
|
|||||||
run: tar -zxf ${{github.workspace}}/sdk/python.tar.gz -C
|
run: tar -zxf ${{github.workspace}}/sdk/python.tar.gz -C
|
||||||
${{github.workspace}}/sdk/python
|
${{github.workspace}}/sdk/python
|
||||||
- name: Download dotnet SDK
|
- name: Download dotnet SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: dotnet-sdk.tar.gz
|
name: dotnet-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/
|
path: ${{ github.workspace}}/sdk/
|
||||||
@@ -552,7 +486,7 @@ jobs:
|
|||||||
run: tar -zxf ${{github.workspace}}/sdk/dotnet.tar.gz -C
|
run: tar -zxf ${{github.workspace}}/sdk/dotnet.tar.gz -C
|
||||||
${{github.workspace}}/sdk/dotnet
|
${{github.workspace}}/sdk/dotnet
|
||||||
- name: Download nodejs SDK
|
- name: Download nodejs SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: nodejs-sdk.tar.gz
|
name: nodejs-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/
|
path: ${{ github.workspace}}/sdk/
|
||||||
@@ -588,7 +522,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -600,6 +534,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -610,9 +550,9 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Download java SDK
|
- name: Download java SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: java-sdk.tar.gz
|
name: java-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/
|
path: ${{ github.workspace}}/sdk/
|
||||||
@@ -638,7 +578,7 @@ jobs:
|
|||||||
needs: publish_sdk
|
needs: publish_sdk
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- id: version
|
- id: version
|
||||||
@@ -649,7 +589,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Download go SDK
|
- name: Download go SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: go-sdk.tar.gz
|
name: go-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/
|
path: ${{ github.workspace}}/sdk/
|
||||||
@@ -674,7 +614,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -686,6 +626,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- name: Install pulumictl
|
- name: Install pulumictl
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/release_command.yml
vendored
2
.github/workflows/release_command.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- env:
|
- env:
|
||||||
|
|||||||
71
.github/workflows/run-acceptance-tests.yml
vendored
71
.github/workflows/run-acceptance-tests.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
|||||||
name: comment-notification
|
name: comment-notification
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
@@ -66,7 +66,7 @@ jobs:
|
|||||||
pull-requests: write # For schema check comment.
|
pull-requests: write # For schema check comment.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
@@ -80,6 +80,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -91,7 +97,7 @@ jobs:
|
|||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
cache: 'true'
|
cache: 'true'
|
||||||
github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- if: github.event_name == 'pull_request'
|
- if: github.event_name == 'pull_request'
|
||||||
name: Install Schema Tools
|
name: Install Schema Tools
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
||||||
@@ -143,14 +149,16 @@ jobs:
|
|||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
sdk/java/build.gradle
|
sdk/java/build.gradle
|
||||||
|
# This worktree check is a safeguard against someone forgetting to
|
||||||
|
# re-build and commit locally, but we handle that commit automatically in
|
||||||
|
# the case of dependency bumps.
|
||||||
|
continue-on-error: ${{ contains(github.actor, 'renovate') }}
|
||||||
- name: Commit SDK changes for Renovate
|
- name: Commit SDK changes for Renovate
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
if: steps.worktreeClean.outcome == 'failure' &&
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
contains(github.actor, 'renovate') && github.event_name ==
|
||||||
'pull_request'
|
'pull_request'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: >
|
run: >
|
||||||
git diff --quiet -- sdk && echo "no changes to sdk" && exit
|
|
||||||
|
|
||||||
git config --global user.email "bot@pulumi.com"
|
git config --global user.email "bot@pulumi.com"
|
||||||
|
|
||||||
git config --global user.name "pulumi-bot"
|
git config --global user.name "pulumi-bot"
|
||||||
@@ -165,12 +173,11 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
# Apply and add our changes, but don't commit any files we expect to
|
# Apply and add our changes, but don't commit any files we expect to
|
||||||
|
|
||||||
# always change due to versioning.
|
# always change due to versioning.
|
||||||
|
|
||||||
git stash pop
|
git stash pop
|
||||||
|
|
||||||
git add sdk
|
git add sdk provider/cmd/pulumi-resource-docker-build/schema.json
|
||||||
|
|
||||||
git reset sdk/python/*/pulumi-plugin.json \
|
git reset sdk/python/*/pulumi-plugin.json \
|
||||||
sdk/python/pyproject.toml \
|
sdk/python/pyproject.toml \
|
||||||
@@ -183,9 +190,7 @@ jobs:
|
|||||||
|
|
||||||
git commit -m 'Commit SDK for Renovate'
|
git commit -m 'Commit SDK for Renovate'
|
||||||
|
|
||||||
|
|
||||||
# Push with pulumi-bot credentials to trigger a re-run of the
|
# Push with pulumi-bot credentials to trigger a re-run of the
|
||||||
|
|
||||||
# workflow. https://github.com/orgs/community/discussions/25702
|
# workflow. https://github.com/orgs/community/discussions/25702
|
||||||
|
|
||||||
git push https://pulumi-bot:${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}@github.com/${{ github.repository }} "HEAD:$HEAD_REF"
|
git push https://pulumi-bot:${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}@github.com/${{ github.repository }} "HEAD:$HEAD_REF"
|
||||||
@@ -197,7 +202,7 @@ jobs:
|
|||||||
github.workspace}}/bin/ pulumi-resource-${{ env.PROVIDER }}
|
github.workspace}}/bin/ pulumi-resource-${{ env.PROVIDER }}
|
||||||
pulumi-gen-${{ env.PROVIDER}}
|
pulumi-gen-${{ env.PROVIDER}}
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
||||||
with:
|
with:
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
||||||
path: ${{ github.workspace }}/bin/provider.tar.gz
|
path: ${{ github.workspace }}/bin/provider.tar.gz
|
||||||
@@ -241,7 +246,7 @@ jobs:
|
|||||||
id-token: write # For ESC secrets.
|
id-token: write # For ESC secrets.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
@@ -255,6 +260,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -265,9 +276,9 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Download provider
|
- name: Download provider
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
||||||
path: ${{ github.workspace }}/bin
|
path: ${{ github.workspace }}/bin
|
||||||
@@ -293,14 +304,13 @@ jobs:
|
|||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
sdk/java/build.gradle
|
sdk/java/build.gradle
|
||||||
|
continue-on-error: ${{ contains(github.actor, 'renovate') }}
|
||||||
- name: Commit SDK changes for Renovate
|
- name: Commit SDK changes for Renovate
|
||||||
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
if: steps.worktreeClean.outcome == 'failure' &&
|
||||||
contains(github.actor, 'renovate') && github.event_name ==
|
contains(github.actor, 'renovate') && github.event_name ==
|
||||||
'pull_request'
|
'pull_request'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: >
|
run: >
|
||||||
git diff --quiet -- sdk && echo "no changes to sdk" && exit
|
|
||||||
|
|
||||||
git config --global user.email "bot@pulumi.com"
|
git config --global user.email "bot@pulumi.com"
|
||||||
|
|
||||||
git config --global user.name "pulumi-bot"
|
git config --global user.name "pulumi-bot"
|
||||||
@@ -313,14 +323,12 @@ jobs:
|
|||||||
|
|
||||||
git checkout "origin/$HEAD_REF"
|
git checkout "origin/$HEAD_REF"
|
||||||
|
|
||||||
|
|
||||||
# Apply and add our changes, but don't commit any files we expect to
|
# Apply and add our changes, but don't commit any files we expect to
|
||||||
|
|
||||||
# always change due to versioning.
|
# always change due to versioning.
|
||||||
|
|
||||||
git stash pop
|
git stash pop
|
||||||
|
|
||||||
git add sdk
|
git add sdk provider/cmd/pulumi-resource-docker-build/schema.json
|
||||||
|
|
||||||
git reset sdk/python/*/pulumi-plugin.json \
|
git reset sdk/python/*/pulumi-plugin.json \
|
||||||
sdk/python/pyproject.toml \
|
sdk/python/pyproject.toml \
|
||||||
@@ -334,7 +342,6 @@ jobs:
|
|||||||
git commit -m 'Commit SDK for Renovate'
|
git commit -m 'Commit SDK for Renovate'
|
||||||
|
|
||||||
# Push with pulumi-bot credentials to trigger a re-run of the
|
# Push with pulumi-bot credentials to trigger a re-run of the
|
||||||
|
|
||||||
# workflow. https://github.com/orgs/community/discussions/25702
|
# workflow. https://github.com/orgs/community/discussions/25702
|
||||||
|
|
||||||
git push https://pulumi-bot:${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}@github.com/${{ github.repository }} "HEAD:$HEAD_REF"
|
git push https://pulumi-bot:${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}@github.com/${{ github.repository }} "HEAD:$HEAD_REF"
|
||||||
@@ -344,7 +351,7 @@ jobs:
|
|||||||
- name: Tar SDK folder
|
- name: Tar SDK folder
|
||||||
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.language }}-sdk.tar.gz
|
name: ${{ matrix.language }}-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz
|
path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz
|
||||||
@@ -380,7 +387,7 @@ jobs:
|
|||||||
id-token: write
|
id-token: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
@@ -394,6 +401,12 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
@@ -404,9 +417,9 @@ jobs:
|
|||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Download provider
|
- name: Download provider
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
||||||
path: ${{ github.workspace }}/bin
|
path: ${{ github.workspace }}/bin
|
||||||
@@ -418,7 +431,7 @@ jobs:
|
|||||||
-exec chmod +x {} \;
|
-exec chmod +x {} \;
|
||||||
- name: Download SDK
|
- name: Download SDK
|
||||||
if: ${{ matrix.language != 'yaml' }}
|
if: ${{ matrix.language != 'yaml' }}
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.language }}-sdk.tar.gz
|
name: ${{ matrix.language }}-sdk.tar.gz
|
||||||
path: ${{ github.workspace}}/sdk/
|
path: ${{ github.workspace}}/sdk/
|
||||||
@@ -446,7 +459,7 @@ jobs:
|
|||||||
requested-token-type: urn:pulumi:token-type:access_token:organization
|
requested-token-type: urn:pulumi:token-type:access_token:organization
|
||||||
export-environment-variables: false
|
export-environment-variables: false
|
||||||
- name: Export AWS Credentials
|
- name: Export AWS Credentials
|
||||||
uses: pulumi/esc-action@6cf9520e68354d86f81c455e8d43eabd58f5c9f5 # v1.5.0
|
uses: pulumi/esc-action@9840934db12128a33f6afb60b17d9de8f7ec5519
|
||||||
env:
|
env:
|
||||||
PULUMI_ACCESS_TOKEN: ${{ steps.generate_pulumi_token.outputs.pulumi-access-token }}
|
PULUMI_ACCESS_TOKEN: ${{ steps.generate_pulumi_token.outputs.pulumi-access-token }}
|
||||||
with:
|
with:
|
||||||
@@ -491,7 +504,7 @@ jobs:
|
|||||||
name: sentinel
|
name: sentinel
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
@@ -526,7 +539,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|||||||
14
.github/workflows/weekly-pulumi-update.yml
vendored
14
.github/workflows/weekly-pulumi-update.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -49,10 +49,16 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
|
id: app-auth
|
||||||
|
with:
|
||||||
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
- name: Setup Tools
|
- name: Setup Tools
|
||||||
uses: ./.github/actions/setup-tools
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Update Pulumi/Pulumi
|
- name: Update Pulumi/Pulumi
|
||||||
id: gomod
|
id: gomod
|
||||||
run: >-
|
run: >-
|
||||||
@@ -62,10 +68,10 @@ jobs:
|
|||||||
|
|
||||||
git checkout -b update-pulumi/${{ github.run_id }}-${{ github.run_number }}
|
git checkout -b update-pulumi/${{ github.run_id }}-${{ github.run_number }}
|
||||||
|
|
||||||
find . -name go.mod -execdir sh -c 'go get github.com/pulumi/pulumi/pkg/v3 github.com/pulumi/pulumi/sdk/v3; go mod tidy' \;
|
|
||||||
|
|
||||||
gh repo view pulumi/pulumi --json latestRelease --jq .latestRelease.tagName | sed 's/^v//' > .pulumi.version
|
gh repo view pulumi/pulumi --json latestRelease --jq .latestRelease.tagName | sed 's/^v//' > .pulumi.version
|
||||||
|
|
||||||
|
VERSION=$(cat .pulumi.version) find . -name go.mod -execdir sh -c 'go get github.com/pulumi/pulumi/pkg/v3@v${VERSION} github.com/pulumi/pulumi/sdk/v3@v${VERSION}; go mod tidy' \;
|
||||||
|
|
||||||
git update-index -q --refresh
|
git update-index -q --refresh
|
||||||
|
|
||||||
if ! git diff-files --quiet; then echo changes=1 >> "$GITHUB_OUTPUT"; fi
|
if ! git diff-files --quiet; then echo changes=1 >> "$GITHUB_OUTPUT"; fi
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -7,6 +7,7 @@
|
|||||||
**/.ionide
|
**/.ionide
|
||||||
**/.vscode
|
**/.vscode
|
||||||
*.swp
|
*.swp
|
||||||
|
.pulumi
|
||||||
Pulumi.*.yaml
|
Pulumi.*.yaml
|
||||||
yarn.lock
|
yarn.lock
|
||||||
ci-scripts
|
ci-scripts
|
||||||
|
|||||||
119
.golangci.yml
119
.golangci.yml
@@ -1,104 +1,37 @@
|
|||||||
run:
|
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
|
||||||
timeout: 10m
|
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
enable-all: false
|
|
||||||
enable:
|
enable:
|
||||||
- depguard
|
- errcheck
|
||||||
- errcheck
|
- gci
|
||||||
- exhaustive
|
- goconst
|
||||||
- copyloopvar
|
- gofmt
|
||||||
- gci
|
- gosec
|
||||||
- gocritic
|
- govet
|
||||||
- gofumpt
|
- ineffassign
|
||||||
- goheader
|
- lll
|
||||||
- gosec
|
- gosimple
|
||||||
- govet
|
- staticcheck
|
||||||
- importas
|
- misspell
|
||||||
- ineffassign
|
- nakedret
|
||||||
- lll
|
- revive
|
||||||
- misspell
|
- unconvert
|
||||||
- nakedret
|
- unused
|
||||||
- nolintlint
|
enable-all: false
|
||||||
- paralleltest
|
issues:
|
||||||
- perfsprint
|
exclude-dirs:
|
||||||
- prealloc
|
- pkg/vendored
|
||||||
- revive
|
exclude-files:
|
||||||
- unconvert
|
- schema.go
|
||||||
- unused
|
- pulumiManifest.go
|
||||||
|
run:
|
||||||
|
timeout: 20m
|
||||||
linters-settings:
|
linters-settings:
|
||||||
depguard:
|
|
||||||
rules:
|
|
||||||
protobuf:
|
|
||||||
deny:
|
|
||||||
- pkg: "github.com/golang/protobuf"
|
|
||||||
desc: Use google.golang.org/protobuf instead
|
|
||||||
gci:
|
gci:
|
||||||
sections:
|
sections:
|
||||||
- standard # Standard section: captures all standard library packages.
|
- standard # Standard section: captures all standard library packages.
|
||||||
- blank # Blank section: contains all blank imports.
|
- blank # Blank section: contains all blank imports.
|
||||||
- default # Default section: contains all imports that could not be matched to another section type.
|
- default # Default section: contains all imports that could not be matched to another section type.
|
||||||
- prefix(github.com/pulumi/) # Custom section: groups all imports with the github.com/pulumi/ prefix.
|
- prefix(github.com/pulumi/) # Custom section: groups all imports with the github.com/pulumi/ prefix.
|
||||||
- prefix(github.com/pulumi/pulumi-dockerbuild/) # Custom section: local imports
|
- prefix(github.com/pulumi/pulumi-docker-build) # Custom section: local imports
|
||||||
custom-order: true
|
custom-order: true
|
||||||
gocritic:
|
|
||||||
enable-all: true
|
|
||||||
disabled-checks:
|
|
||||||
- hugeParam
|
|
||||||
- importShadow
|
|
||||||
goheader:
|
|
||||||
template: |-
|
|
||||||
Copyright 2024, Pulumi Corporation.
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
govet:
|
|
||||||
enable:
|
|
||||||
- nilness
|
|
||||||
# Reject comparisons of reflect.Value with DeepEqual or '=='.
|
|
||||||
- reflectvaluecompare
|
|
||||||
# Reject sort.Slice calls with a non-slice argument.
|
|
||||||
- sortslice
|
|
||||||
# Detect write to struct/arrays by-value that aren't read again.
|
|
||||||
- unusedwrite
|
|
||||||
nakedret:
|
|
||||||
# Make an issue if func has more lines of code than this setting, and it has naked returns.
|
|
||||||
# Default: 30
|
|
||||||
max-func-lines: 60
|
|
||||||
nolintlint:
|
|
||||||
# Some linter exclusions are added to generated or templated files
|
|
||||||
# pre-emptively.
|
|
||||||
# Don't complain about these.
|
|
||||||
allow-unused: true
|
|
||||||
|
|
||||||
issues:
|
|
||||||
exclude-use-default: false
|
|
||||||
exclude-rules:
|
|
||||||
# Don't warn on unused parameters.
|
|
||||||
# Parameter names are useful; replacing them with '_' is undesirable.
|
|
||||||
- linters: [revive]
|
|
||||||
text: 'unused-parameter: parameter \S+ seems to be unused, consider removing or renaming it as _'
|
|
||||||
|
|
||||||
# staticcheck already has smarter checks for empty blocks.
|
|
||||||
# revive's empty-block linter has false positives.
|
|
||||||
# For example, as of writing this, the following is not allowed.
|
|
||||||
# for foo() { }
|
|
||||||
- linters: [revive]
|
|
||||||
text: "empty-block: this block is empty, you can remove it"
|
|
||||||
|
|
||||||
# We *frequently* use the term 'new' in the context of properties
|
|
||||||
# (new and old properties),
|
|
||||||
# and we rarely use the 'new' built-in function.
|
|
||||||
# It's fine to ignore these cases.
|
|
||||||
- linters: [revive]
|
|
||||||
text: "redefines-builtin-id: redefinition of the built-in function new"
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt
|
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt
|
||||||
|
|
||||||
project_name: pulumi-docker-build
|
project_name: pulumi-docker-build
|
||||||
builds:
|
builds:
|
||||||
- id: build-provider
|
- id: build-provider
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"typescript": "^4.0.0",
|
"typescript": "^4.0.0",
|
||||||
"@pulumi/pulumi": "3.210.0"
|
"@pulumi/pulumi": "3.212.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
"@types/node": "^20.0.0"
|
"@types/node": "^20.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pulumi/pulumi": "3.210.0"
|
"@pulumi/pulumi": "3.212.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -369,10 +369,10 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570"
|
resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570"
|
||||||
integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==
|
integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==
|
||||||
|
|
||||||
"@pulumi/pulumi@3.210.0":
|
"@pulumi/pulumi@3.212.0":
|
||||||
version "3.210.0"
|
version "3.212.0"
|
||||||
resolved "https://registry.yarnpkg.com/@pulumi/pulumi/-/pulumi-3.210.0.tgz#c5d59ebaded83f5baf571e0c5c1b6a766fc694ea"
|
resolved "https://registry.yarnpkg.com/@pulumi/pulumi/-/pulumi-3.212.0.tgz#2aed99e9be253beed0f4c7663c6a2a98f302f89f"
|
||||||
integrity sha512-ZMe4oH8nFNi3Tig1U8mTEuqrjTyEz0aVkn+DvvjcBPvM7WzZSdB6xR9MiRK/ZUi0G5O+H7fx2gEEeq1vYcM5Jg==
|
integrity sha512-UXV6UQLS2elP0yQNWCQWKjY+dc8w0TXC9uJLIiybzEpFyeKdPhuA0zJrI1zOql5Y7V9q5xtF2sqmHh52HLJVKg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@grpc/grpc-js" "^1.10.1"
|
"@grpc/grpc-js" "^1.10.1"
|
||||||
"@logdna/tail-file" "^2.0.6"
|
"@logdna/tail-file" "^2.0.6"
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
"@types/node": "^20.0.0"
|
"@types/node": "^20.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pulumi/pulumi": "3.210.0"
|
"@pulumi/pulumi": "3.212.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"typescript": "^4.0.0",
|
"typescript": "^4.0.0",
|
||||||
"@pulumi/pulumi": "3.210.0"
|
"@pulumi/pulumi": "3.212.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
2
go.mod
2
go.mod
@@ -14,7 +14,7 @@ require (
|
|||||||
github.com/moby/patternmatcher v0.6.0
|
github.com/moby/patternmatcher v0.6.0
|
||||||
github.com/muesli/reflow v0.3.0
|
github.com/muesli/reflow v0.3.0
|
||||||
github.com/otiai10/copy v1.14.0
|
github.com/otiai10/copy v1.14.0
|
||||||
github.com/pulumi/providertest v0.3.1
|
github.com/pulumi/providertest v0.6.0
|
||||||
github.com/pulumi/pulumi-dotnet/pulumi-language-dotnet/v3 v3.0.0-20250806132441-44ca9a522cef
|
github.com/pulumi/pulumi-dotnet/pulumi-language-dotnet/v3 v3.0.0-20250806132441-44ca9a522cef
|
||||||
github.com/pulumi/pulumi-go-provider v1.1.2
|
github.com/pulumi/pulumi-go-provider v1.1.2
|
||||||
github.com/pulumi/pulumi-java/pkg v1.16.0
|
github.com/pulumi/pulumi-java/pkg v1.16.0
|
||||||
|
|||||||
4
go.sum
4
go.sum
@@ -892,8 +892,8 @@ github.com/pulumi/esc v0.20.0 h1:LZn4sjAsI76x10ZuZXXyh2ExGcP7AHmjOzCi/p3/fpQ=
|
|||||||
github.com/pulumi/esc v0.20.0/go.mod h1:h1VjdedI0K84MhMzaR9ZKbEpU6SfZMOZF4ZrVgQyNLY=
|
github.com/pulumi/esc v0.20.0/go.mod h1:h1VjdedI0K84MhMzaR9ZKbEpU6SfZMOZF4ZrVgQyNLY=
|
||||||
github.com/pulumi/inflector v0.2.1 h1:bqyiish3tq//vLeLiEstSFE5K7RNjy/ce47ed4QATu8=
|
github.com/pulumi/inflector v0.2.1 h1:bqyiish3tq//vLeLiEstSFE5K7RNjy/ce47ed4QATu8=
|
||||||
github.com/pulumi/inflector v0.2.1/go.mod h1:HUFCjcPTz96YtTuUlwG3i3EZG4WlniBvR9bd+iJxCUY=
|
github.com/pulumi/inflector v0.2.1/go.mod h1:HUFCjcPTz96YtTuUlwG3i3EZG4WlniBvR9bd+iJxCUY=
|
||||||
github.com/pulumi/providertest v0.3.1 h1:vlftr7TZlObh81mL88IhhF0/9ZbLrZZos4NAvR4HUUw=
|
github.com/pulumi/providertest v0.6.0 h1:ZnefsbhkPE+BpKienHgb38P/6SEtXjjOXGGdMEUIOgk=
|
||||||
github.com/pulumi/providertest v0.3.1/go.mod h1:fFHUP4/9DRyYnHWiRnwcynMtM/a7hHR/QcJfcuZKO3A=
|
github.com/pulumi/providertest v0.6.0/go.mod h1:OBpIGSQrw1FW9VNaHBtKCRxEoTISvx8JsxECmRqRgRQ=
|
||||||
github.com/pulumi/pulumi-dotnet/pulumi-language-dotnet/v3 v3.0.0-20250806132441-44ca9a522cef h1:cxRa9R9To6OYKacIG2Em6zcM7BDNr6joC43uiV1lSVY=
|
github.com/pulumi/pulumi-dotnet/pulumi-language-dotnet/v3 v3.0.0-20250806132441-44ca9a522cef h1:cxRa9R9To6OYKacIG2Em6zcM7BDNr6joC43uiV1lSVY=
|
||||||
github.com/pulumi/pulumi-dotnet/pulumi-language-dotnet/v3 v3.0.0-20250806132441-44ca9a522cef/go.mod h1:VLcnE1lj92EfRi7CRMzdPkQ9OQvrlg2upJM1lBZzNmg=
|
github.com/pulumi/pulumi-dotnet/pulumi-language-dotnet/v3 v3.0.0-20250806132441-44ca9a522cef/go.mod h1:VLcnE1lj92EfRi7CRMzdPkQ9OQvrlg2upJM1lBZzNmg=
|
||||||
github.com/pulumi/pulumi-go-provider v1.1.2 h1:NUQDXaftBDFTPMBPwxo8FhJUX0ymkv6a1XiXTnCDpvg=
|
github.com/pulumi/pulumi-go-provider v1.1.2 h1:NUQDXaftBDFTPMBPwxo8FhJUX0ymkv6a1XiXTnCDpvg=
|
||||||
|
|||||||
Reference in New Issue
Block a user