Compare commits
56 Commits
update-git
...
update-git
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4f3b7720d | ||
|
|
8befdfed62 | ||
|
|
1e0f067064 | ||
|
|
52f09191a7 | ||
|
|
7a9b31c60f | ||
|
|
e5da099be4 | ||
|
|
1b95d18edc | ||
|
|
5eabae0608 | ||
|
|
583183d5e6 | ||
|
|
a30d557dc3 | ||
|
|
710f5d816b | ||
|
|
6aa0b4dde7 | ||
|
|
13a14388f2 | ||
|
|
13acd934b6 | ||
|
|
8cb8d21332 | ||
|
|
c11144e1b3 | ||
|
|
ca8a59a077 | ||
|
|
5b05d733ea | ||
|
|
e9f6bbf15d | ||
|
|
491f7de7d5 | ||
|
|
f5d459e624 | ||
|
|
d5e5c8a482 | ||
|
|
d0bb326600 | ||
|
|
534bc6c172 | ||
|
|
570f83ca62 | ||
|
|
b35af1d86d | ||
|
|
62db1d7f3b | ||
|
|
9b5a5d4371 | ||
|
|
8809a8c708 | ||
|
|
cc1bda22e5 | ||
|
|
f820f6547c | ||
|
|
214793b929 | ||
|
|
9e8c685bc8 | ||
|
|
09f7b32602 | ||
|
|
1e00e5dc89 | ||
|
|
93fae0c1a4 | ||
|
|
4c85816954 | ||
|
|
4e3830ca83 | ||
|
|
3f329778cf | ||
|
|
c64d5baba6 | ||
|
|
4c8968185c | ||
|
|
7a75efe8c4 | ||
|
|
16f3939ae0 | ||
|
|
31065543d9 | ||
|
|
68d5f3a0cb | ||
|
|
98fc73df74 | ||
|
|
2bf4175cae | ||
|
|
345f4699a8 | ||
|
|
d5d676f8ec | ||
|
|
f1ff9e765f | ||
|
|
c7ab0e0f35 | ||
|
|
b1e526630c | ||
|
|
32ecb82eb6 | ||
|
|
77b931b32c | ||
|
|
487acd799c | ||
|
|
8e273d9f68 |
@@ -11,19 +11,10 @@ parallel: 3
|
|||||||
esc:
|
esc:
|
||||||
enabled: true
|
enabled: true
|
||||||
envOverride:
|
envOverride:
|
||||||
AWS_REGION: us-west-2
|
|
||||||
PULUMI_API: "https://api.pulumi-staging.io"
|
|
||||||
ARM_CLIENT_ID: 30e520fa-12b4-4e21-b473-9426c5ac2e1e
|
|
||||||
ARM_SUBSCRIPTION_ID: 0282681f-7a9e-424b-80b2-96babd57a8a1
|
|
||||||
ARM_TENANT_ID: 706143bc-e1d4-4593-aee2-c9dc60ab9be7
|
|
||||||
ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }}
|
|
||||||
AZURE_LOCATION: westus
|
|
||||||
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
|
|
||||||
GOOGLE_CI_SERVICE_ACCOUNT_EMAIL: pulumi-ci@pulumi-ci-gcp-provider.iam.gserviceaccount.com
|
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_POOL: pulumi-ci
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
||||||
GOOGLE_PROJECT: pulumi-ci-gcp-provider
|
GOOGLE_PROJECT: pulumi-ci-gcp-provider
|
||||||
GOOGLE_PROJECT_NUMBER: 895284651812
|
GOOGLE_PROJECT_NUMBER: "895284651812"
|
||||||
GOOGLE_REGION: us-central1
|
GOOGLE_REGION: us-central1
|
||||||
GOOGLE_ZONE: us-central1-a
|
GOOGLE_ZONE: us-central1-a
|
||||||
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
|
||||||
|
|||||||
@@ -1,87 +0,0 @@
|
|||||||
[[tools.dotnet]]
|
|
||||||
version = "8.0.414"
|
|
||||||
backend = "asdf:dotnet"
|
|
||||||
|
|
||||||
[[tools."github:pulumi/pulumictl"]]
|
|
||||||
version = "0.0.50"
|
|
||||||
backend = "github:pulumi/pulumictl"
|
|
||||||
|
|
||||||
[tools."github:pulumi/pulumictl".platforms.linux-x64]
|
|
||||||
checksum = "blake3:c128dd74993f779c613296fe7cd21c20cbd323f24e59cb76e007620660b60348"
|
|
||||||
name = "pulumictl-v0.0.50-linux-amd64.tar.gz"
|
|
||||||
size = 27744219
|
|
||||||
url = "https://github.com/pulumi/pulumictl/releases/download/v0.0.50/pulumictl-v0.0.50-linux-amd64.tar.gz"
|
|
||||||
url_api = ""
|
|
||||||
|
|
||||||
[[tools."github:pulumi/schema-tools"]]
|
|
||||||
version = "0.6.0"
|
|
||||||
backend = "github:pulumi/schema-tools"
|
|
||||||
|
|
||||||
[tools."github:pulumi/schema-tools".platforms.linux-x64]
|
|
||||||
checksum = "blake3:82dfe616fee18b4258f6e3d2dc3c4e9f14afd43a0a4cc33eff2d2a04088d6ca3"
|
|
||||||
name = "schema-tools-v0.6.0-linux-amd64.tar.gz"
|
|
||||||
size = 14282746
|
|
||||||
url = "https://github.com/pulumi/schema-tools/releases/download/v0.6.0/schema-tools-v0.6.0-linux-amd64.tar.gz"
|
|
||||||
url_api = ""
|
|
||||||
|
|
||||||
[[tools.go]]
|
|
||||||
version = "1.24.1"
|
|
||||||
backend = "core:go"
|
|
||||||
|
|
||||||
[tools.go.platforms.linux-x64]
|
|
||||||
checksum = "sha256:cb2396bae64183cdccf81a9a6df0aea3bce9511fc21469fb89a0c00470088073"
|
|
||||||
size = 78503123
|
|
||||||
url = "https://dl.google.com/go/go1.24.1.linux-amd64.tar.gz"
|
|
||||||
|
|
||||||
[[tools.golangci-lint]]
|
|
||||||
version = "1.64.8"
|
|
||||||
backend = "aqua:golangci/golangci-lint"
|
|
||||||
|
|
||||||
[tools.golangci-lint.platforms.linux-x64]
|
|
||||||
checksum = "sha256:b6270687afb143d019f387c791cd2a6f1cb383be9b3124d241ca11bd3ce2e54e"
|
|
||||||
size = 12364828
|
|
||||||
url = "https://github.com/golangci/golangci-lint/releases/download/v1.64.8/golangci-lint-1.64.8-linux-amd64.tar.gz"
|
|
||||||
|
|
||||||
[[tools.gradle]]
|
|
||||||
version = "7.6.6"
|
|
||||||
backend = "aqua:gradle/gradle"
|
|
||||||
|
|
||||||
[tools.gradle.platforms.linux-x64]
|
|
||||||
checksum = "blake3:5cad8fc455b720b68a0bd2907d435e2919581708243f84f27845fe8812a09323"
|
|
||||||
size = 128439774
|
|
||||||
url = "https://github.com/gradle/gradle-distributions/releases/download/v7.6.6/gradle-7.6.6-bin.zip"
|
|
||||||
|
|
||||||
[[tools.java]]
|
|
||||||
version = "corretto-11.0.28.6.1"
|
|
||||||
backend = "core:java"
|
|
||||||
|
|
||||||
[tools.java.platforms.linux-x64]
|
|
||||||
checksum = "sha256:70734c46e0bbeb7f45b721756ba0b2f1f1e1ef85a11e10d5a488f06b257dadd9"
|
|
||||||
size = 195648709
|
|
||||||
url = "https://corretto.aws/downloads/resources/11.0.28.6.1/amazon-corretto-11.0.28.6.1-linux-x64.tar.gz"
|
|
||||||
|
|
||||||
[[tools.node]]
|
|
||||||
version = "20.19.5"
|
|
||||||
backend = "core:node"
|
|
||||||
|
|
||||||
[tools.node.platforms.linux-x64]
|
|
||||||
checksum = "sha256:4eba5fbe1fb10753bc06e42f001a91c5cec16798b7764a3e9257adc59af47fe1"
|
|
||||||
size = 47041607
|
|
||||||
url = "https://nodejs.org/dist/v20.19.5/node-v20.19.5-linux-x64.tar.gz"
|
|
||||||
|
|
||||||
[[tools."npm:yarn"]]
|
|
||||||
version = "1.22.22"
|
|
||||||
backend = "npm:yarn"
|
|
||||||
|
|
||||||
[[tools.pulumi]]
|
|
||||||
version = "3.192.0"
|
|
||||||
backend = "aqua:pulumi/pulumi"
|
|
||||||
|
|
||||||
[tools.pulumi.platforms.linux-x64]
|
|
||||||
checksum = "sha512:6351213bee02ade5b76407d9b43cdb243fa461ca38231b03410de5aa1f697e55ab6467da2a9e37ebbff7be6cd3485d833e9ad8f29d4de6919bbdd471fb25e45a"
|
|
||||||
size = 92867578
|
|
||||||
url = "https://github.com/pulumi/pulumi/releases/download/v3.192.0/pulumi-v3.192.0-linux-x64.tar.gz"
|
|
||||||
|
|
||||||
[[tools.python]]
|
|
||||||
version = "3.11.8"
|
|
||||||
backend = "core:python"
|
|
||||||
@@ -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,27 +2,34 @@
|
|||||||
# 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"
|
||||||
|
|
||||||
[tools]
|
[tools]
|
||||||
|
|
||||||
# Runtimes
|
# Runtimes
|
||||||
# TODO: we may not need `get_env` once https://github.com/jdx/mise/discussions/6339 is fixed
|
go = "{{ env.GO_VERSION_MISE }}"
|
||||||
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" = "{{ env.PULUMI_VERSION_MISE }}"
|
||||||
"github:pulumi/pulumictl" = 'latest'
|
"github:pulumi/pulumictl" = '0.0.50'
|
||||||
"github:pulumi/schema-tools" = "latest"
|
"github:pulumi/schema-tools" = "0.6.0"
|
||||||
gradle = '7.6'
|
"go:github.com/pulumi/upgrade-provider" = "0.0.1"
|
||||||
|
"aqua:gradle/gradle-distributions" = '7.6.6'
|
||||||
golangci-lint = "1.64.8" # See note about about overrides if you need to customize this.
|
golangci-lint = "1.64.8" # See note about about overrides if you need to customize this.
|
||||||
"npm:yarn" = "1.22.22"
|
"npm:yarn" = "1.22.22"
|
||||||
|
|
||||||
[settings]
|
[settings]
|
||||||
experimental = true # Required for Go binaries (e.g. pulumictl).
|
experimental = true # Required for Go binaries (e.g. pulumictl).
|
||||||
lockfile = true
|
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"
|
||||||
|
|||||||
19
.github/actions/download-provider/action.yml
vendored
Normal file
19
.github/actions/download-provider/action.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Download Provider Binary
|
||||||
|
description: Downloads the provider binary artifact and restores executable permissions
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Download provider
|
||||||
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
|
with:
|
||||||
|
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
||||||
|
path: ${{ github.workspace }}/bin
|
||||||
|
|
||||||
|
- name: UnTar provider binaries
|
||||||
|
shell: bash
|
||||||
|
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace}}/bin
|
||||||
|
|
||||||
|
- name: Restore Binary Permissions
|
||||||
|
shell: bash
|
||||||
|
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print -exec chmod +x {} \;
|
||||||
20
.github/actions/download-sdk/action.yml
vendored
Normal file
20
.github/actions/download-sdk/action.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: Download SDK
|
||||||
|
description: Downloads and extracts SDK artifacts for a specific language
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
language:
|
||||||
|
description: 'The SDK language to download (nodejs, python, dotnet, java)'
|
||||||
|
required: true
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Download SDK
|
||||||
|
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
||||||
|
with:
|
||||||
|
name: ${{ inputs.language }}-sdk.tar.gz
|
||||||
|
path: ${{ github.workspace }}/sdk/
|
||||||
|
|
||||||
|
- name: UnTar SDK folder
|
||||||
|
shell: bash
|
||||||
|
run: tar -zxf ${{ github.workspace }}/sdk/${{ inputs.language }}.tar.gz -C ${{ github.workspace }}/sdk/${{ inputs.language }}
|
||||||
41
.github/actions/setup-tools/action.yml
vendored
Normal file
41
.github/actions/setup-tools/action.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
name: Setup Tools
|
||||||
|
description: Installs all tools (Go, Node, Python, .NET, Java, Pulumi, etc.) using mise
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
cache:
|
||||||
|
description: Enable caching
|
||||||
|
required: false
|
||||||
|
default: "false"
|
||||||
|
github_token:
|
||||||
|
description: GitHub token
|
||||||
|
required: true
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Setup mise
|
||||||
|
uses: jdx/mise-action@c1a019b8d2586943b4dbebc456323b516910e310
|
||||||
|
env:
|
||||||
|
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
||||||
|
with:
|
||||||
|
version: 2026.2.15
|
||||||
|
cache_save: ${{ inputs.cache }}
|
||||||
|
github_token: ${{ inputs.github_token }}
|
||||||
|
|
||||||
|
- name: Setup Go Cache
|
||||||
|
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
|
||||||
|
with:
|
||||||
|
cache: ${{ inputs.cache }}
|
||||||
|
cache-dependency-path: |
|
||||||
|
provider/*.sum
|
||||||
|
upstream/*.sum
|
||||||
|
sdk/go/*.sum
|
||||||
|
sdk/*.sum
|
||||||
|
*.sum
|
||||||
|
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
|
||||||
|
with:
|
||||||
|
# we don't set node-version because we install with mise.
|
||||||
|
# this step is needed to setup npm auth
|
||||||
|
registry-url: https://registry.npmjs.org
|
||||||
370
.github/workflows/build.yml
vendored
370
.github/workflows/build.yml
vendored
@@ -22,11 +22,6 @@ env:
|
|||||||
PYTHONVERSION: "3.11.8"
|
PYTHONVERSION: "3.11.8"
|
||||||
DOTNETVERSION: "8.0.x"
|
DOTNETVERSION: "8.0.x"
|
||||||
JAVAVERSION: "11"
|
JAVAVERSION: "11"
|
||||||
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_SERVICE_ACCOUNT_EMAIL: pulumi-ci@pulumi-ci-gcp-provider.iam.gserviceaccount.com
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci
|
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
||||||
@@ -35,6 +30,9 @@ env:
|
|||||||
GOOGLE_REGION: us-central1
|
GOOGLE_REGION: us-central1
|
||||||
GOOGLE_ZONE: us-central1-a
|
GOOGLE_ZONE: us-central1-a
|
||||||
PULUMI_API: https://api.pulumi-staging.io
|
PULUMI_API: https://api.pulumi-staging.io
|
||||||
|
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
|
||||||
|
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||||
|
TF_APPEND_USER_AGENT: pulumi
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prerequisites:
|
prerequisites:
|
||||||
@@ -45,7 +43,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -57,24 +55,24 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
cache: 'true'
|
||||||
cache-dependency-path: "**/*.sum"
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- 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
|
||||||
@@ -126,70 +124,19 @@ 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
|
||||||
- name: Test Provider Library
|
- name: Test Provider Library
|
||||||
run: make test_provider
|
run: make test_provider
|
||||||
env:
|
env:
|
||||||
ARM_CLIENT_SECRET: ${{ steps.esc-secrets.outputs.ARM_CLIENT_SECRET }}
|
|
||||||
DIGITALOCEAN_TOKEN: ${{ steps.esc-secrets.outputs.DIGITALOCEAN_TOKEN }}
|
|
||||||
DOCKER_HUB_PASSWORD: ${{ steps.esc-secrets.outputs.DOCKER_HUB_PASSWORD }}
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Upload coverage reports to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
|
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
|
||||||
@@ -197,7 +144,7 @@ jobs:
|
|||||||
CODECOV_TOKEN: ${{ steps.esc-secrets.outputs.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ steps.esc-secrets.outputs.CODECOV_TOKEN }}
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure in building provider prerequisites
|
author_name: Failure in building provider prerequisites
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -222,7 +169,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -234,58 +181,25 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
- name: Download Provider Binary
|
||||||
- name: Install pulumictl
|
uses: ./.github/actions/download-provider
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download provider
|
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
|
||||||
with:
|
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
|
||||||
path: ${{ github.workspace }}/bin
|
|
||||||
- name: UnTar provider binaries
|
|
||||||
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
|
||||||
github.workspace}}/bin
|
|
||||||
- name: Restore Binary Permissions
|
|
||||||
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
|
|
||||||
-exec chmod +x {} \;
|
|
||||||
- name: Generate SDK
|
- name: Generate SDK
|
||||||
run: make generate_${{ matrix.language }}
|
run: make generate_${{ matrix.language }}
|
||||||
- name: Build SDK
|
- name: Build SDK
|
||||||
@@ -302,66 +216,18 @@ 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
|
||||||
retention-days: 30
|
retention-days: 30
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure while building SDKs
|
author_name: Failure while building SDKs
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -378,7 +244,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -423,7 +289,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -435,68 +301,30 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
- name: Download Provider Binary
|
||||||
- name: Install pulumictl
|
uses: ./.github/actions/download-provider
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download provider
|
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
|
||||||
with:
|
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
|
||||||
path: ${{ github.workspace }}/bin
|
|
||||||
- name: UnTar provider binaries
|
|
||||||
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
|
||||||
github.workspace}}/bin
|
|
||||||
- name: Restore Binary Permissions
|
|
||||||
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
|
|
||||||
-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: ./.github/actions/download-sdk
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.language }}-sdk.tar.gz
|
language: ${{ matrix.language }}
|
||||||
path: ${{ github.workspace}}/sdk/
|
|
||||||
- name: UnTar SDK folder
|
|
||||||
if: ${{ matrix.language != 'yaml' }}
|
|
||||||
run: tar -zxf ${{ github.workspace}}/sdk/${{ matrix.language}}.tar.gz -C ${{
|
|
||||||
github.workspace}}/sdk/${{ matrix.language}}
|
|
||||||
- name: Update path
|
- name: Update path
|
||||||
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
|
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
|
||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
@@ -517,7 +345,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@efb0bc8946938f0dfbfa00e829196ec95f0d0ea7 # v1.4.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:
|
||||||
@@ -548,7 +376,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure in SDK tests
|
author_name: Failure in SDK tests
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -564,7 +392,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -576,18 +404,23 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- 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:
|
||||||
@@ -597,14 +430,8 @@ jobs:
|
|||||||
haskell: true
|
haskell: true
|
||||||
swap-storage: true
|
swap-storage: true
|
||||||
large-packages: false
|
large-packages: false
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
|
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
|
||||||
with:
|
with:
|
||||||
aws-access-key-id: ${{ steps.esc-secrets.outputs.AWS_ACCESS_KEY_ID }}
|
aws-access-key-id: ${{ steps.esc-secrets.outputs.AWS_ACCESS_KEY_ID }}
|
||||||
aws-region: us-east-2
|
aws-region: us-east-2
|
||||||
@@ -628,7 +455,7 @@ jobs:
|
|||||||
version: latest
|
version: latest
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure in publishing binaries
|
author_name: Failure in publishing binaries
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -644,7 +471,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -656,45 +483,31 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Checkout Scripts Repo
|
- name: Checkout Scripts Repo
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
path: ci-scripts
|
path: ci-scripts
|
||||||
repository: pulumi/scripts
|
repository: pulumi/scripts
|
||||||
- run: echo "ci-scripts" >> .git/info/exclude
|
- run: echo "ci-scripts" >> .git/info/exclude
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- 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/
|
||||||
@@ -702,7 +515,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/
|
||||||
@@ -710,7 +523,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/
|
||||||
@@ -734,7 +547,7 @@ jobs:
|
|||||||
PUBLISH_REPO_PASSWORD: ${{ steps.esc-secrets.outputs.OSSRH_PASSWORD }}
|
PUBLISH_REPO_PASSWORD: ${{ steps.esc-secrets.outputs.OSSRH_PASSWORD }}
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure in publishing SDK
|
author_name: Failure in publishing SDK
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -742,27 +555,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
||||||
with:
|
|
||||||
lfs: true
|
|
||||||
persist-credentials: false
|
|
||||||
ref: ${{ env.PR_COMMIT_SHA }}
|
|
||||||
- name: Install Go
|
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- 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:
|
|
||||||
version: ${{ env.GOLANGCI_LINT_VERSION }}
|
|
||||||
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
|
||||||
|
|||||||
139
.github/workflows/claude.yml
vendored
Normal file
139
.github/workflows/claude.yml
vendored
Normal file
@@ -0,0 +1,139 @@
|
|||||||
|
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: jdx/mise-action@c1a019b8d2586943b4dbebc456323b516910e310
|
||||||
|
env:
|
||||||
|
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
||||||
|
with:
|
||||||
|
version: 2026.2.15
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
# only saving the cache in the prerequisites job
|
||||||
|
cache_save: false
|
||||||
|
- name: Set git identity
|
||||||
|
run: |-
|
||||||
|
git config --global user.name "claude[bot]"
|
||||||
|
git config --global user.email "bot@pulumi.com"
|
||||||
|
shell: bash
|
||||||
|
- 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 mod tidy *),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
|
||||||
13
.github/workflows/command-dispatch.yml
vendored
13
.github/workflows/command-dispatch.yml
vendored
@@ -1,11 +1,6 @@
|
|||||||
# 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
|
||||||
|
|
||||||
env:
|
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_SERVICE_ACCOUNT_EMAIL: pulumi-ci@pulumi-ci-gcp-provider.iam.gserviceaccount.com
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci
|
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
||||||
@@ -14,6 +9,10 @@ env:
|
|||||||
GOOGLE_REGION: us-central1
|
GOOGLE_REGION: us-central1
|
||||||
GOOGLE_ZONE: us-central1-a
|
GOOGLE_ZONE: us-central1-a
|
||||||
PULUMI_API: https://api.pulumi-staging.io
|
PULUMI_API: https://api.pulumi-staging.io
|
||||||
|
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
|
||||||
|
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||||
|
PULUMI_PULUMI_ENABLE_JOURNALING: "true"
|
||||||
|
TF_APPEND_USER_AGENT: pulumi
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
command-dispatch-for-testing:
|
command-dispatch-for-testing:
|
||||||
@@ -24,7 +23,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- env:
|
- env:
|
||||||
@@ -36,7 +35,7 @@ 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: peter-evans/slash-command-dispatch@13bc09769d122a64f75aa5037256f6f2d78be8c4 # v4
|
- uses: peter-evans/slash-command-dispatch@5c11dc7efead556e3bdabf664302212f79eb26fa # v5
|
||||||
with:
|
with:
|
||||||
commands: |
|
commands: |
|
||||||
run-acceptance-tests
|
run-acceptance-tests
|
||||||
|
|||||||
@@ -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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- id: schema_changed
|
- id: schema_changed
|
||||||
|
|||||||
2
.github/workflows/export-repo-secrets.yml
vendored
2
.github/workflows/export-repo-secrets.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Generate a GitHub token
|
- name: Generate a GitHub token
|
||||||
id: generate-token
|
id: generate-token
|
||||||
uses: actions/create-github-app-token@v1
|
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
|
||||||
with:
|
with:
|
||||||
app-id: 1256780 # Export Secrets GitHub App
|
app-id: 1256780 # Export Secrets GitHub App
|
||||||
private-key: ${{ secrets.EXPORT_SECRETS_PRIVATE_KEY }}
|
private-key: ${{ secrets.EXPORT_SECRETS_PRIVATE_KEY }}
|
||||||
|
|||||||
66
.github/workflows/lint.yml
vendored
Normal file
66
.github/workflows/lint.yml
vendored
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
# 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:
|
||||||
|
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_GO_DEP_ROOT: ${{ github.workspace }}/..
|
||||||
|
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||||
|
PULUMI_PULUMI_ENABLE_JOURNALING: "true"
|
||||||
|
TF_APPEND_USER_AGENT: pulumi
|
||||||
|
|
||||||
|
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: jdx/mise-action@c1a019b8d2586943b4dbebc456323b516910e310
|
||||||
|
env:
|
||||||
|
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
||||||
|
with:
|
||||||
|
version: 2026.2.15
|
||||||
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
|
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
|
||||||
387
.github/workflows/prerelease.yml
vendored
387
.github/workflows/prerelease.yml
vendored
@@ -13,11 +13,6 @@ env:
|
|||||||
PYTHONVERSION: "3.11.8"
|
PYTHONVERSION: "3.11.8"
|
||||||
DOTNETVERSION: "8.0.x"
|
DOTNETVERSION: "8.0.x"
|
||||||
JAVAVERSION: "11"
|
JAVAVERSION: "11"
|
||||||
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_SERVICE_ACCOUNT_EMAIL: pulumi-ci@pulumi-ci-gcp-provider.iam.gserviceaccount.com
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci
|
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
||||||
@@ -26,15 +21,21 @@ env:
|
|||||||
GOOGLE_REGION: us-central1
|
GOOGLE_REGION: us-central1
|
||||||
GOOGLE_ZONE: us-central1-a
|
GOOGLE_ZONE: us-central1-a
|
||||||
PULUMI_API: https://api.pulumi-staging.io
|
PULUMI_API: https://api.pulumi-staging.io
|
||||||
|
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
|
||||||
|
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||||
|
TF_APPEND_USER_AGENT: pulumi
|
||||||
IS_PRERELEASE: true
|
IS_PRERELEASE: true
|
||||||
|
|
||||||
jobs:
|
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -46,24 +47,24 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
cache: 'true'
|
||||||
cache-dependency-path: "**/*.sum"
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- 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
|
||||||
@@ -115,70 +116,19 @@ 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
|
||||||
- name: Test Provider Library
|
- name: Test Provider Library
|
||||||
run: make test_provider
|
run: make test_provider
|
||||||
env:
|
env:
|
||||||
ARM_CLIENT_SECRET: ${{ steps.esc-secrets.outputs.ARM_CLIENT_SECRET }}
|
|
||||||
DIGITALOCEAN_TOKEN: ${{ steps.esc-secrets.outputs.DIGITALOCEAN_TOKEN }}
|
|
||||||
DOCKER_HUB_PASSWORD: ${{ steps.esc-secrets.outputs.DOCKER_HUB_PASSWORD }}
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Upload coverage reports to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
|
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
|
||||||
@@ -186,7 +136,7 @@ jobs:
|
|||||||
CODECOV_TOKEN: ${{ steps.esc-secrets.outputs.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ steps.esc-secrets.outputs.CODECOV_TOKEN }}
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure in building provider prerequisites
|
author_name: Failure in building provider prerequisites
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -211,7 +161,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -223,58 +173,25 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
- name: Download Provider Binary
|
||||||
- name: Install pulumictl
|
uses: ./.github/actions/download-provider
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download provider
|
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
|
||||||
with:
|
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
|
||||||
path: ${{ github.workspace }}/bin
|
|
||||||
- name: UnTar provider binaries
|
|
||||||
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
|
||||||
github.workspace}}/bin
|
|
||||||
- name: Restore Binary Permissions
|
|
||||||
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
|
|
||||||
-exec chmod +x {} \;
|
|
||||||
- name: Generate SDK
|
- name: Generate SDK
|
||||||
run: make generate_${{ matrix.language }}
|
run: make generate_${{ matrix.language }}
|
||||||
- name: Build SDK
|
- name: Build SDK
|
||||||
@@ -291,65 +208,17 @@ 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
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure while building SDKs
|
author_name: Failure while building SDKs
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -376,7 +245,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -388,68 +257,30 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
- name: Download Provider Binary
|
||||||
- name: Install pulumictl
|
uses: ./.github/actions/download-provider
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download provider
|
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
|
||||||
with:
|
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
|
||||||
path: ${{ github.workspace }}/bin
|
|
||||||
- name: UnTar provider binaries
|
|
||||||
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
|
||||||
github.workspace}}/bin
|
|
||||||
- name: Restore Binary Permissions
|
|
||||||
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
|
|
||||||
-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: ./.github/actions/download-sdk
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.language }}-sdk.tar.gz
|
language: ${{ matrix.language }}
|
||||||
path: ${{ github.workspace}}/sdk/
|
|
||||||
- name: UnTar SDK folder
|
|
||||||
if: ${{ matrix.language != 'yaml' }}
|
|
||||||
run: tar -zxf ${{ github.workspace}}/sdk/${{ matrix.language}}.tar.gz -C ${{
|
|
||||||
github.workspace}}/sdk/${{ matrix.language}}
|
|
||||||
- name: Update path
|
- name: Update path
|
||||||
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
|
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
|
||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
@@ -470,7 +301,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@efb0bc8946938f0dfbfa00e829196ec95f0d0ea7 # v1.4.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:
|
||||||
@@ -501,7 +332,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure in SDK tests
|
author_name: Failure in SDK tests
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -517,7 +348,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -529,18 +360,23 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- 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,14 +386,8 @@ jobs:
|
|||||||
haskell: true
|
haskell: true
|
||||||
swap-storage: true
|
swap-storage: true
|
||||||
large-packages: false
|
large-packages: false
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
|
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
|
||||||
with:
|
with:
|
||||||
aws-access-key-id: ${{ steps.esc-secrets.outputs.AWS_ACCESS_KEY_ID }}
|
aws-access-key-id: ${{ steps.esc-secrets.outputs.AWS_ACCESS_KEY_ID }}
|
||||||
aws-region: us-east-2
|
aws-region: us-east-2
|
||||||
@@ -581,7 +411,7 @@ jobs:
|
|||||||
version: latest
|
version: latest
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure in publishing binaries
|
author_name: Failure in publishing binaries
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -597,7 +427,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -609,45 +439,31 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Checkout Scripts Repo
|
- name: Checkout Scripts Repo
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
path: ci-scripts
|
path: ci-scripts
|
||||||
repository: pulumi/scripts
|
repository: pulumi/scripts
|
||||||
- run: echo "ci-scripts" >> .git/info/exclude
|
- run: echo "ci-scripts" >> .git/info/exclude
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- 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/
|
||||||
@@ -655,7 +471,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/
|
||||||
@@ -663,7 +479,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/
|
||||||
@@ -682,7 +498,7 @@ jobs:
|
|||||||
PYPI_PASSWORD: ${{ steps.esc-secrets.outputs.PYPI_API_TOKEN }}
|
PYPI_PASSWORD: ${{ steps.esc-secrets.outputs.PYPI_API_TOKEN }}
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure in publishing SDK
|
author_name: Failure in publishing SDK
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -699,7 +515,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -711,36 +527,25 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- 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/
|
||||||
@@ -766,18 +571,18 @@ jobs:
|
|||||||
needs: publish_sdk
|
needs: publish_sdk
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- name: Comment PR
|
- name: Comment PR
|
||||||
|
|||||||
392
.github/workflows/release.yml
vendored
392
.github/workflows/release.yml
vendored
@@ -14,11 +14,6 @@ env:
|
|||||||
PYTHONVERSION: "3.11.8"
|
PYTHONVERSION: "3.11.8"
|
||||||
DOTNETVERSION: "8.0.x"
|
DOTNETVERSION: "8.0.x"
|
||||||
JAVAVERSION: "11"
|
JAVAVERSION: "11"
|
||||||
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_SERVICE_ACCOUNT_EMAIL: pulumi-ci@pulumi-ci-gcp-provider.iam.gserviceaccount.com
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci
|
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
||||||
@@ -27,6 +22,9 @@ env:
|
|||||||
GOOGLE_REGION: us-central1
|
GOOGLE_REGION: us-central1
|
||||||
GOOGLE_ZONE: us-central1-a
|
GOOGLE_ZONE: us-central1-a
|
||||||
PULUMI_API: https://api.pulumi-staging.io
|
PULUMI_API: https://api.pulumi-staging.io
|
||||||
|
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
|
||||||
|
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||||
|
TF_APPEND_USER_AGENT: pulumi
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prerequisites:
|
prerequisites:
|
||||||
@@ -37,7 +35,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -49,24 +47,24 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
cache: 'true'
|
||||||
cache-dependency-path: "**/*.sum"
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- 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
|
||||||
@@ -118,70 +116,19 @@ 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
|
||||||
- name: Test Provider Library
|
- name: Test Provider Library
|
||||||
run: make test_provider
|
run: make test_provider
|
||||||
env:
|
env:
|
||||||
ARM_CLIENT_SECRET: ${{ steps.esc-secrets.outputs.ARM_CLIENT_SECRET }}
|
|
||||||
DIGITALOCEAN_TOKEN: ${{ steps.esc-secrets.outputs.DIGITALOCEAN_TOKEN }}
|
|
||||||
DOCKER_HUB_PASSWORD: ${{ steps.esc-secrets.outputs.DOCKER_HUB_PASSWORD }}
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Upload coverage reports to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
|
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
|
||||||
@@ -189,7 +136,7 @@ jobs:
|
|||||||
CODECOV_TOKEN: ${{ steps.esc-secrets.outputs.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ steps.esc-secrets.outputs.CODECOV_TOKEN }}
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure in building provider prerequisites
|
author_name: Failure in building provider prerequisites
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -214,7 +161,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -226,58 +173,25 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
- name: Download Provider Binary
|
||||||
- name: Install pulumictl
|
uses: ./.github/actions/download-provider
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download provider
|
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
|
||||||
with:
|
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
|
||||||
path: ${{ github.workspace }}/bin
|
|
||||||
- name: UnTar provider binaries
|
|
||||||
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
|
||||||
github.workspace}}/bin
|
|
||||||
- name: Restore Binary Permissions
|
|
||||||
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
|
|
||||||
-exec chmod +x {} \;
|
|
||||||
- name: Generate SDK
|
- name: Generate SDK
|
||||||
run: make generate_${{ matrix.language }}
|
run: make generate_${{ matrix.language }}
|
||||||
- name: Build SDK
|
- name: Build SDK
|
||||||
@@ -294,65 +208,17 @@ 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
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure while building SDKs
|
author_name: Failure while building SDKs
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -379,7 +245,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -391,68 +257,30 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
- name: Download Provider Binary
|
||||||
- name: Install pulumictl
|
uses: ./.github/actions/download-provider
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download provider
|
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
|
||||||
with:
|
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
|
||||||
path: ${{ github.workspace }}/bin
|
|
||||||
- name: UnTar provider binaries
|
|
||||||
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
|
||||||
github.workspace}}/bin
|
|
||||||
- name: Restore Binary Permissions
|
|
||||||
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
|
|
||||||
-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: ./.github/actions/download-sdk
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.language }}-sdk.tar.gz
|
language: ${{ matrix.language }}
|
||||||
path: ${{ github.workspace}}/sdk/
|
|
||||||
- name: UnTar SDK folder
|
|
||||||
if: ${{ matrix.language != 'yaml' }}
|
|
||||||
run: tar -zxf ${{ github.workspace}}/sdk/${{ matrix.language}}.tar.gz -C ${{
|
|
||||||
github.workspace}}/sdk/${{ matrix.language}}
|
|
||||||
- name: Update path
|
- name: Update path
|
||||||
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
|
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
|
||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
@@ -473,7 +301,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@efb0bc8946938f0dfbfa00e829196ec95f0d0ea7 # v1.4.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:
|
||||||
@@ -504,7 +332,7 @@ jobs:
|
|||||||
GTIHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GTIHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure in SDK tests
|
author_name: Failure in SDK tests
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -520,7 +348,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -532,18 +360,23 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- 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:
|
||||||
@@ -553,14 +386,8 @@ jobs:
|
|||||||
haskell: true
|
haskell: true
|
||||||
swap-storage: true
|
swap-storage: true
|
||||||
large-packages: false
|
large-packages: false
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
|
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
|
||||||
with:
|
with:
|
||||||
aws-access-key-id: ${{ steps.esc-secrets.outputs.AWS_ACCESS_KEY_ID }}
|
aws-access-key-id: ${{ steps.esc-secrets.outputs.AWS_ACCESS_KEY_ID }}
|
||||||
aws-region: us-east-2
|
aws-region: us-east-2
|
||||||
@@ -584,7 +411,7 @@ jobs:
|
|||||||
version: latest
|
version: latest
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure in publishing binaries
|
author_name: Failure in publishing binaries
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -600,7 +427,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -612,45 +439,31 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Checkout Scripts Repo
|
- name: Checkout Scripts Repo
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
path: ci-scripts
|
path: ci-scripts
|
||||||
repository: pulumi/scripts
|
repository: pulumi/scripts
|
||||||
- run: echo "ci-scripts" >> .git/info/exclude
|
- run: echo "ci-scripts" >> .git/info/exclude
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- 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/
|
||||||
@@ -658,7 +471,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/
|
||||||
@@ -666,7 +479,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/
|
||||||
@@ -685,7 +498,7 @@ jobs:
|
|||||||
PYPI_PASSWORD: ${{ steps.esc-secrets.outputs.PYPI_API_TOKEN }}
|
PYPI_PASSWORD: ${{ steps.esc-secrets.outputs.PYPI_API_TOKEN }}
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure in publishing SDK
|
author_name: Failure in publishing SDK
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -702,7 +515,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -714,36 +527,25 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- 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/
|
||||||
@@ -769,18 +571,18 @@ jobs:
|
|||||||
needs: publish_sdk
|
needs: publish_sdk
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- id: version
|
- id: version
|
||||||
name: Set Provider Version
|
name: Set Provider Version
|
||||||
uses: pulumi/provider-version-action@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
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/
|
||||||
@@ -805,7 +607,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -817,6 +619,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- env:
|
- env:
|
||||||
|
|||||||
200
.github/workflows/run-acceptance-tests.yml
vendored
200
.github/workflows/run-acceptance-tests.yml
vendored
@@ -17,11 +17,6 @@ env:
|
|||||||
PYTHONVERSION: "3.11.8"
|
PYTHONVERSION: "3.11.8"
|
||||||
DOTNETVERSION: "8.0.x"
|
DOTNETVERSION: "8.0.x"
|
||||||
JAVAVERSION: "11"
|
JAVAVERSION: "11"
|
||||||
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_SERVICE_ACCOUNT_EMAIL: pulumi-ci@pulumi-ci-gcp-provider.iam.gserviceaccount.com
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci
|
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
||||||
@@ -30,6 +25,10 @@ env:
|
|||||||
GOOGLE_REGION: us-central1
|
GOOGLE_REGION: us-central1
|
||||||
GOOGLE_ZONE: us-central1-a
|
GOOGLE_ZONE: us-central1-a
|
||||||
PULUMI_API: https://api.pulumi-staging.io
|
PULUMI_API: https://api.pulumi-staging.io
|
||||||
|
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
|
||||||
|
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||||
|
PULUMI_PULUMI_ENABLE_JOURNALING: "true"
|
||||||
|
TF_APPEND_USER_AGENT: pulumi
|
||||||
PR_COMMIT_SHA: ${{ github.event.client_payload.pull_request.head.sha }}
|
PR_COMMIT_SHA: ${{ github.event.client_payload.pull_request.head.sha }}
|
||||||
jobs:
|
jobs:
|
||||||
comment-notification:
|
comment-notification:
|
||||||
@@ -38,7 +37,7 @@ jobs:
|
|||||||
name: comment-notification
|
name: comment-notification
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
@@ -63,7 +62,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
@@ -77,24 +76,24 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
cache: 'true'
|
||||||
cache-dependency-path: "**/*.sum"
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- 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
|
||||||
@@ -146,14 +145,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"
|
||||||
@@ -168,12 +169,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 \
|
||||||
@@ -186,9 +186,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"
|
||||||
@@ -200,16 +198,13 @@ 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
|
||||||
- name: Test Provider Library
|
- name: Test Provider Library
|
||||||
run: make test_provider
|
run: make test_provider
|
||||||
env:
|
env:
|
||||||
ARM_CLIENT_SECRET: ${{ steps.esc-secrets.outputs.ARM_CLIENT_SECRET }}
|
|
||||||
DIGITALOCEAN_TOKEN: ${{ steps.esc-secrets.outputs.DIGITALOCEAN_TOKEN }}
|
|
||||||
DOCKER_HUB_PASSWORD: ${{ steps.esc-secrets.outputs.DOCKER_HUB_PASSWORD }}
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Upload coverage reports to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
|
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
|
||||||
@@ -217,7 +212,7 @@ jobs:
|
|||||||
CODECOV_TOKEN: ${{ steps.esc-secrets.outputs.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ steps.esc-secrets.outputs.CODECOV_TOKEN }}
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure in building provider prerequisites
|
author_name: Failure in building provider prerequisites
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -244,7 +239,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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
@@ -258,49 +253,25 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- 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
|
||||||
@@ -326,14 +297,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"
|
||||||
@@ -346,14 +316,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 \
|
||||||
@@ -367,7 +335,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"
|
||||||
@@ -377,14 +344,14 @@ 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
|
||||||
retention-days: 30
|
retention-days: 30
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure while building SDKs
|
author_name: Failure while building SDKs
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -413,7 +380,7 @@ jobs:
|
|||||||
id-token: write
|
id-token: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
@@ -427,49 +394,25 @@ 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@f96d032a2758fdda7939e5728eff6c0d980ae894 # v1.6.0
|
uses: pulumi/provider-version-action@3a647064cf4697c7c6352b9a1d9e554450cbe957 # v1.6.1
|
||||||
with:
|
with:
|
||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- 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
|
||||||
@@ -481,7 +424,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/
|
||||||
@@ -509,7 +452,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@efb0bc8946938f0dfbfa00e829196ec95f0d0ea7 # v1.4.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:
|
||||||
@@ -540,7 +483,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- if: failure() && github.event_name == 'push'
|
- if: failure() && github.event_name == 'push'
|
||||||
name: Notify Slack
|
name: Notify Slack
|
||||||
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
|
uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
|
||||||
with:
|
with:
|
||||||
author_name: Failure in SDK tests
|
author_name: Failure in SDK tests
|
||||||
fields: repo,commit,author,action
|
fields: repo,commit,author,action
|
||||||
@@ -554,7 +497,7 @@ jobs:
|
|||||||
name: sentinel
|
name: sentinel
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
@@ -569,7 +512,7 @@ jobs:
|
|||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
- name: Mark workflow as successful
|
- name: Mark workflow as successful
|
||||||
uses: guibranco/github-status-action-v2@0849440ec82c5fa69b2377725b9b7852a3977e76 # v1.1.13
|
uses: guibranco/github-status-action-v2@631f55ea0251f0fb284525ad86c30e9f7a8dd284 # v1.1.14
|
||||||
with:
|
with:
|
||||||
authToken: ${{ secrets.GITHUB_TOKEN }}
|
authToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
context: Sentinel
|
context: Sentinel
|
||||||
@@ -586,27 +529,8 @@ jobs:
|
|||||||
- prerequisites
|
- prerequisites
|
||||||
- lint
|
- lint
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repo
|
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
||||||
with:
|
|
||||||
lfs: true
|
|
||||||
persist-credentials: false
|
|
||||||
ref: ${{ env.PR_COMMIT_SHA }}
|
|
||||||
- name: Install Go
|
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- 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:
|
|
||||||
version: ${{ env.GOLANGCI_LINT_VERSION }}
|
|
||||||
working-directory: .
|
|
||||||
name: lint
|
|
||||||
if: github.event_name == 'repository_dispatch' ||
|
if: github.event_name == 'repository_dispatch' ||
|
||||||
github.event.pull_request.head.repo.full_name == github.repository
|
github.event.pull_request.head.repo.full_name == github.repository
|
||||||
|
name: lint
|
||||||
|
uses: ./.github/workflows/lint.yml
|
||||||
|
secrets: inherit
|
||||||
|
|||||||
59
.github/workflows/weekly-pulumi-update.yml
vendored
59
.github/workflows/weekly-pulumi-update.yml
vendored
@@ -14,11 +14,6 @@ env:
|
|||||||
PYTHONVERSION: "3.11.8"
|
PYTHONVERSION: "3.11.8"
|
||||||
DOTNETVERSION: "8.0.x"
|
DOTNETVERSION: "8.0.x"
|
||||||
JAVAVERSION: "11"
|
JAVAVERSION: "11"
|
||||||
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_SERVICE_ACCOUNT_EMAIL: pulumi-ci@pulumi-ci-gcp-provider.iam.gserviceaccount.com
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci
|
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
||||||
@@ -27,6 +22,10 @@ env:
|
|||||||
GOOGLE_REGION: us-central1
|
GOOGLE_REGION: us-central1
|
||||||
GOOGLE_ZONE: us-central1-a
|
GOOGLE_ZONE: us-central1-a
|
||||||
PULUMI_API: https://api.pulumi-staging.io
|
PULUMI_API: https://api.pulumi-staging.io
|
||||||
|
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
|
||||||
|
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||||
|
PULUMI_PULUMI_ENABLE_JOURNALING: "true"
|
||||||
|
TF_APPEND_USER_AGENT: pulumi
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
weekly-pulumi-update:
|
weekly-pulumi-update:
|
||||||
@@ -34,7 +33,7 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- env:
|
- env:
|
||||||
@@ -46,40 +45,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
|
||||||
- name: Install Go
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
id: app-auth
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
app-id: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_APP_ID }}
|
||||||
cache-dependency-path: "**/*.sum"
|
private-key: ${{ steps.esc-secrets.outputs.PULUMI_PROVIDER_AUTOMATION_PRIVATE_KEY }}
|
||||||
- name: Install pulumictl
|
owner: ${{ github.repository_owner }}
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
- name: Setup Tools
|
||||||
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
repo: pulumi/pulumictl
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Update Pulumi/Pulumi
|
- name: Update Pulumi/Pulumi
|
||||||
id: gomod
|
id: gomod
|
||||||
run: >-
|
run: >-
|
||||||
@@ -89,10 +64,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
|
||||||
@@ -134,9 +109,7 @@ jobs:
|
|||||||
|
|
||||||
msg="Automated upgrade: bump pulumi/pulumi to ${ver}"
|
msg="Automated upgrade: bump pulumi/pulumi to ${ver}"
|
||||||
|
|
||||||
# See https://github.com/cli/cli/issues/6485#issuecomment-2560935183 for --head workaround
|
gh pr create -t "$msg" -b "$msg"
|
||||||
|
|
||||||
gh pr create -t "$msg" -b "$msg" --head "$(git branch --show-current)"
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
|
GITHUB_TOKEN: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }}
|
||||||
name: weekly-pulumi-update
|
name: weekly-pulumi-update
|
||||||
|
|||||||
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
|
||||||
|
|||||||
128
.golangci.yml
128
.golangci.yml
@@ -1,104 +1,46 @@
|
|||||||
run:
|
version: "2"
|
||||||
timeout: 10m
|
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
enable-all: false
|
|
||||||
enable:
|
enable:
|
||||||
- depguard
|
- goconst
|
||||||
- errcheck
|
|
||||||
- exhaustive
|
|
||||||
- copyloopvar
|
|
||||||
- gci
|
|
||||||
- gocritic
|
|
||||||
- gofumpt
|
|
||||||
- goheader
|
|
||||||
- gosec
|
- gosec
|
||||||
- govet
|
|
||||||
- importas
|
|
||||||
- ineffassign
|
|
||||||
- lll
|
- lll
|
||||||
- misspell
|
- misspell
|
||||||
- nakedret
|
- nakedret
|
||||||
- nolintlint
|
|
||||||
- paralleltest
|
|
||||||
- perfsprint
|
|
||||||
- prealloc
|
|
||||||
- revive
|
- revive
|
||||||
- unconvert
|
- unconvert
|
||||||
- unused
|
exclusions:
|
||||||
|
generated: lax
|
||||||
linters-settings:
|
presets:
|
||||||
depguard:
|
- comments
|
||||||
rules:
|
- common-false-positives
|
||||||
protobuf:
|
- legacy
|
||||||
deny:
|
- std-error-handling
|
||||||
- pkg: "github.com/golang/protobuf"
|
paths:
|
||||||
desc: Use google.golang.org/protobuf instead
|
- schema.go
|
||||||
|
- pulumiManifest.go
|
||||||
|
- pkg/vendored
|
||||||
|
- third_party$
|
||||||
|
- builtin$
|
||||||
|
- examples$
|
||||||
|
formatters:
|
||||||
|
enable:
|
||||||
|
- gci
|
||||||
|
- gofmt
|
||||||
|
settings:
|
||||||
gci:
|
gci:
|
||||||
sections:
|
sections:
|
||||||
- standard # Standard section: captures all standard library packages.
|
- standard
|
||||||
- blank # Blank section: contains all blank imports.
|
- blank
|
||||||
- default # Default section: contains all imports that could not be matched to another section type.
|
- default
|
||||||
- prefix(github.com/pulumi/) # Custom section: groups all imports with the github.com/pulumi/ prefix.
|
- prefix(github.com/pulumi/)
|
||||||
- prefix(github.com/pulumi/pulumi-dockerbuild/) # Custom section: local imports
|
- prefix(github.com/pulumi/pulumi-docker-build)
|
||||||
custom-order: true
|
custom-order: true
|
||||||
gocritic:
|
exclusions:
|
||||||
enable-all: true
|
generated: lax
|
||||||
disabled-checks:
|
paths:
|
||||||
- hugeParam
|
- schema.go
|
||||||
- importShadow
|
- pulumiManifest.go
|
||||||
goheader:
|
- pkg/vendored
|
||||||
template: |-
|
- third_party$
|
||||||
Copyright 2024, Pulumi Corporation.
|
- builtin$
|
||||||
|
- examples$
|
||||||
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
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -182,6 +182,7 @@ bin/${PROVIDER}: $(shell find ./provider -name '*.go') go.mod
|
|||||||
(cd provider && go build -o ../bin/${PROVIDER} -ldflags "-X ${PROJECT}/${VERSION_PATH}=${VERSION_GENERIC}" $(PROJECT)/${PROVIDER_PATH}/cmd/$(PROVIDER))
|
(cd provider && go build -o ../bin/${PROVIDER} -ldflags "-X ${PROJECT}/${VERSION_PATH}=${VERSION_GENERIC}" $(PROJECT)/${PROVIDER_PATH}/cmd/$(PROVIDER))
|
||||||
|
|
||||||
bin/pulumi-gen-${PACK}: # Required by CI
|
bin/pulumi-gen-${PACK}: # Required by CI
|
||||||
|
@mkdir -p bin
|
||||||
touch bin/pulumi-gen-${PACK}
|
touch bin/pulumi-gen-${PACK}
|
||||||
|
|
||||||
go.mod: $(shell find . -name '*.go')
|
go.mod: $(shell find . -name '*.go')
|
||||||
@@ -257,6 +258,7 @@ AZURE_SIGNING_KEY_VAULT_URI ?=
|
|||||||
SKIP_SIGNING ?=
|
SKIP_SIGNING ?=
|
||||||
|
|
||||||
bin/jsign-6.0.jar:
|
bin/jsign-6.0.jar:
|
||||||
|
@mkdir -p bin
|
||||||
wget https://github.com/ebourg/jsign/releases/download/6.0/jsign-6.0.jar --output-document=bin/jsign-6.0.jar
|
wget https://github.com/ebourg/jsign/releases/download/6.0/jsign-6.0.jar --output-document=bin/jsign-6.0.jar
|
||||||
|
|
||||||
sign-goreleaser-exe-amd64: GORELEASER_ARCH := amd64_v1
|
sign-goreleaser-exe-amd64: GORELEASER_ARCH := amd64_v1
|
||||||
|
|||||||
@@ -1,204 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
# Copyright 2016-2018, Pulumi Corporation. All rights reserved.
|
|
||||||
|
|
||||||
import argparse
|
|
||||||
import asyncio
|
|
||||||
from typing import Optional
|
|
||||||
import logging
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
import traceback
|
|
||||||
import runpy
|
|
||||||
from concurrent.futures import ThreadPoolExecutor
|
|
||||||
|
|
||||||
# The user might not have installed Pulumi yet in their environment - provide a high-quality error message in that case.
|
|
||||||
try:
|
|
||||||
import pulumi
|
|
||||||
import pulumi.runtime
|
|
||||||
except ImportError:
|
|
||||||
# For whatever reason, sys.stderr.write is not picked up by the engine as a message, but 'print' is. The Python
|
|
||||||
# langhost automatically flushes stdout and stderr on shutdown, so we don't need to do it here - just trust that
|
|
||||||
# Python does the sane thing when printing to stderr.
|
|
||||||
print(traceback.format_exc(), file=sys.stderr)
|
|
||||||
print("""
|
|
||||||
It looks like the Pulumi SDK has not been installed. Have you run pip install?
|
|
||||||
If you are running in a virtualenv, you must run pip install -r requirements.txt from inside the virtualenv.""", file=sys.stderr)
|
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
# use exit code 32 to signal to the language host that an error message was displayed to the user
|
|
||||||
PYTHON_PROCESS_EXITED_AFTER_SHOWING_USER_ACTIONABLE_MESSAGE_CODE = 32
|
|
||||||
|
|
||||||
def get_abs_module_path(mod_path):
|
|
||||||
path, ext = os.path.splitext(mod_path)
|
|
||||||
if not ext:
|
|
||||||
path = os.path.join(path, '__main__')
|
|
||||||
return os.path.abspath(path)
|
|
||||||
|
|
||||||
|
|
||||||
def _get_user_stacktrace(user_program_abspath: str) -> str:
|
|
||||||
'''grabs the current stacktrace and truncates it to show the only stacks pertaining to a user's program'''
|
|
||||||
tb = traceback.extract_tb(sys.exc_info()[2])
|
|
||||||
|
|
||||||
for frame_index, frame in enumerate(tb):
|
|
||||||
# loop over stack frames until we reach the main program
|
|
||||||
# then return the traceback truncated to the user's code
|
|
||||||
cur_module = frame[0]
|
|
||||||
if get_abs_module_path(user_program_abspath) == get_abs_module_path(cur_module):
|
|
||||||
# we have detected the start of a user's stack trace
|
|
||||||
remaining_frames = len(tb)-frame_index
|
|
||||||
|
|
||||||
# include remaining frames from the bottom by negating
|
|
||||||
return traceback.format_exc(limit=-remaining_frames)
|
|
||||||
|
|
||||||
# we did not detect a __main__ program, return normal traceback
|
|
||||||
return traceback.format_exc()
|
|
||||||
|
|
||||||
def _set_default_executor(loop, parallelism: Optional[int]):
|
|
||||||
'''configure this event loop to respect the settings provided.'''
|
|
||||||
if parallelism is None:
|
|
||||||
return
|
|
||||||
parallelism = max(parallelism, 1)
|
|
||||||
exec = ThreadPoolExecutor(max_workers=parallelism)
|
|
||||||
loop.set_default_executor(exec)
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
# Parse the arguments, program name, and optional arguments.
|
|
||||||
ap = argparse.ArgumentParser(description='Execute a Pulumi Python program')
|
|
||||||
ap.add_argument('--project', help='Set the project name')
|
|
||||||
ap.add_argument('--stack', help='Set the stack name')
|
|
||||||
ap.add_argument('--parallel', help='Run P resource operations in parallel (default=none)')
|
|
||||||
ap.add_argument('--dry_run', help='Simulate resource changes, but without making them')
|
|
||||||
ap.add_argument('--pwd', help='Change the working directory before running the program')
|
|
||||||
ap.add_argument('--monitor', help='An RPC address for the resource monitor to connect to')
|
|
||||||
ap.add_argument('--engine', help='An RPC address for the engine to connect to')
|
|
||||||
ap.add_argument('--tracing', help='A Zipkin-compatible endpoint to send tracing data to')
|
|
||||||
ap.add_argument('--organization', help='Set the organization name')
|
|
||||||
ap.add_argument('PROGRAM', help='The Python program to run')
|
|
||||||
ap.add_argument('ARGS', help='Arguments to pass to the program', nargs='*')
|
|
||||||
args = ap.parse_args()
|
|
||||||
|
|
||||||
# If any config variables are present, parse and set them, so subsequent accesses are fast.
|
|
||||||
config_env = pulumi.runtime.get_config_env()
|
|
||||||
if hasattr(pulumi.runtime, "get_config_secret_keys_env") and hasattr(pulumi.runtime, "set_all_config"):
|
|
||||||
# If the pulumi SDK has `get_config_secret_keys_env` and `set_all_config`, use them
|
|
||||||
# to set the config and secret keys.
|
|
||||||
config_secret_keys_env = pulumi.runtime.get_config_secret_keys_env()
|
|
||||||
pulumi.runtime.set_all_config(config_env, config_secret_keys_env)
|
|
||||||
else:
|
|
||||||
# Otherwise, fallback to setting individual config values.
|
|
||||||
for k, v in config_env.items():
|
|
||||||
pulumi.runtime.set_config(k, v)
|
|
||||||
|
|
||||||
# Configure the runtime so that the user program hooks up to Pulumi as appropriate.
|
|
||||||
# New versions of pulumi python support setting organization, old versions do not
|
|
||||||
try:
|
|
||||||
settings = pulumi.runtime.Settings(
|
|
||||||
monitor=args.monitor,
|
|
||||||
engine=args.engine,
|
|
||||||
project=args.project,
|
|
||||||
stack=args.stack,
|
|
||||||
parallel=int(args.parallel),
|
|
||||||
dry_run=args.dry_run == "true",
|
|
||||||
organization=args.organization,
|
|
||||||
)
|
|
||||||
except TypeError:
|
|
||||||
settings = pulumi.runtime.Settings(
|
|
||||||
monitor=args.monitor,
|
|
||||||
engine=args.engine,
|
|
||||||
project=args.project,
|
|
||||||
stack=args.stack,
|
|
||||||
parallel=int(args.parallel),
|
|
||||||
dry_run=args.dry_run == "true"
|
|
||||||
)
|
|
||||||
|
|
||||||
pulumi.runtime.configure(settings)
|
|
||||||
|
|
||||||
# Finally, swap in the args, chdir if needed, and run the program as if it had been executed directly.
|
|
||||||
sys.argv = [args.PROGRAM] + args.ARGS
|
|
||||||
if args.pwd is not None:
|
|
||||||
os.chdir(args.pwd)
|
|
||||||
|
|
||||||
successful = False
|
|
||||||
|
|
||||||
try:
|
|
||||||
# The docs for get_running_loop are somewhat misleading because they state:
|
|
||||||
# This function can only be called from a coroutine or a callback. However, if the function is
|
|
||||||
# called from outside a coroutine or callback (the standard case when running `pulumi up`), the function
|
|
||||||
# raises a RuntimeError as expected and falls through to the exception clause below.
|
|
||||||
loop = asyncio.get_running_loop()
|
|
||||||
except RuntimeError:
|
|
||||||
loop = asyncio.new_event_loop()
|
|
||||||
asyncio.set_event_loop(loop)
|
|
||||||
|
|
||||||
# Configure the event loop to respect the parallelism value provided as input.
|
|
||||||
_set_default_executor(loop, settings.parallel)
|
|
||||||
|
|
||||||
# We are (unfortunately) suppressing the log output of asyncio to avoid showing to users some of the bad things we
|
|
||||||
# do in our programming model.
|
|
||||||
#
|
|
||||||
# Fundamentally, Pulumi is a way for users to build asynchronous dataflow graphs that, as their deployments
|
|
||||||
# progress, resolve naturally and eventually result in the complete resolution of the graph. If one node in the
|
|
||||||
# graph fails (i.e. a resource fails to create, there's an exception in an apply, etc.), part of the graph remains
|
|
||||||
# unevaluated at the time that we exit.
|
|
||||||
#
|
|
||||||
# asyncio abhors this. It gets very upset if the process terminates without having observed every future that we
|
|
||||||
# have resolved. If we are terminating abnormally, it is highly likely that we are not going to observe every single
|
|
||||||
# future that we have created. Furthermore, it's *harmless* to do this - asyncio logs errors because it thinks it
|
|
||||||
# needs to tell users that they're doing bad things (which, to their credit, they are), but we are doing this
|
|
||||||
# deliberately.
|
|
||||||
#
|
|
||||||
# In order to paper over this for our users, we simply turn off the logger for asyncio. Users won't see any asyncio
|
|
||||||
# error messages, but if they stick to the Pulumi programming model, they wouldn't be seeing any anyway.
|
|
||||||
logging.getLogger("asyncio").setLevel(logging.CRITICAL)
|
|
||||||
exit_code = 1
|
|
||||||
try:
|
|
||||||
# record the location of the user's program to return user tracebacks
|
|
||||||
user_program_abspath = os.path.abspath(args.PROGRAM)
|
|
||||||
def run():
|
|
||||||
try:
|
|
||||||
runpy.run_path(args.PROGRAM, run_name='__main__')
|
|
||||||
except ImportError as e:
|
|
||||||
def fix_module_file(m: str) -> str:
|
|
||||||
# Work around python 11 reporting "<frozen runpy>" rather
|
|
||||||
# than runpy.__file__ in the traceback.
|
|
||||||
return runpy.__file__ if m == "<frozen runpy>" else m
|
|
||||||
|
|
||||||
# detect if the main pulumi python program does not exist
|
|
||||||
stack_modules = [fix_module_file(f.filename) for f in traceback.extract_tb(e.__traceback__)]
|
|
||||||
unique_modules = set(module for module in stack_modules)
|
|
||||||
last_module_name = stack_modules[-1]
|
|
||||||
|
|
||||||
# we identify a missing program error if
|
|
||||||
# 1. the only modules in the stack trace are
|
|
||||||
# - `pulumi-language-python-exec`
|
|
||||||
# - `runpy`
|
|
||||||
# 2. the last function in the stack trace is in the `runpy` module
|
|
||||||
if unique_modules == {
|
|
||||||
__file__, # the language runtime itself
|
|
||||||
runpy.__file__,
|
|
||||||
} and last_module_name == runpy.__file__ :
|
|
||||||
# this error will only be hit when the user provides a directory
|
|
||||||
# the engine has a check to determine if the `main` file exists and will fail early
|
|
||||||
|
|
||||||
# if a language runtime receives a directory, it's the language's responsibility to determine
|
|
||||||
# whether the provided directory has a pulumi program
|
|
||||||
pulumi.log.error(f"unable to find main python program `__main__.py` in `{user_program_abspath}`")
|
|
||||||
sys.exit(PYTHON_PROCESS_EXITED_AFTER_SHOWING_USER_ACTIONABLE_MESSAGE_CODE)
|
|
||||||
else:
|
|
||||||
raise e
|
|
||||||
|
|
||||||
coro = pulumi.runtime.run_in_stack(run)
|
|
||||||
loop.run_until_complete(coro)
|
|
||||||
exit_code = 0
|
|
||||||
except pulumi.RunError as e:
|
|
||||||
pulumi.log.error(str(e))
|
|
||||||
except Exception:
|
|
||||||
error_msg = "Program failed with an unhandled exception:\n" + _get_user_stacktrace(user_program_abspath)
|
|
||||||
pulumi.log.error(error_msg)
|
|
||||||
exit_code = PYTHON_PROCESS_EXITED_AFTER_SHOWING_USER_ACTIONABLE_MESSAGE_CODE
|
|
||||||
finally:
|
|
||||||
loop.close()
|
|
||||||
sys.stdout.flush()
|
|
||||||
sys.stderr.flush()
|
|
||||||
|
|
||||||
sys.exit(exit_code)
|
|
||||||
@@ -10,8 +10,9 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
|
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestDotNetExample(t *testing.T) {
|
func TestDotNetExample(t *testing.T) {
|
||||||
|
|||||||
@@ -1,17 +1,16 @@
|
|||||||
module provider-docker-build
|
module provider-docker-build
|
||||||
|
|
||||||
go 1.24.1
|
go 1.24.7
|
||||||
|
|
||||||
toolchain go1.24.5
|
toolchain go1.24.13
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild v0.0.12
|
github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild v0.0.15
|
||||||
github.com/pulumi/pulumi/sdk/v3 v3.192.0
|
github.com/pulumi/pulumi/sdk/v3 v3.209.0
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
dario.cat/mergo v1.0.1 // indirect
|
dario.cat/mergo v1.0.1 // indirect
|
||||||
github.com/BurntSushi/toml v1.5.0 // indirect
|
|
||||||
github.com/Microsoft/go-winio v0.6.2 // indirect
|
github.com/Microsoft/go-winio v0.6.2 // indirect
|
||||||
github.com/ProtonMail/go-crypto v1.2.0 // indirect
|
github.com/ProtonMail/go-crypto v1.2.0 // indirect
|
||||||
github.com/agext/levenshtein v1.2.3 // indirect
|
github.com/agext/levenshtein v1.2.3 // indirect
|
||||||
@@ -27,14 +26,14 @@ require (
|
|||||||
github.com/charmbracelet/x/cellbuf v0.0.13 // indirect
|
github.com/charmbracelet/x/cellbuf v0.0.13 // indirect
|
||||||
github.com/charmbracelet/x/term v0.2.1 // indirect
|
github.com/charmbracelet/x/term v0.2.1 // indirect
|
||||||
github.com/cheggaaa/pb v1.0.29 // indirect
|
github.com/cheggaaa/pb v1.0.29 // indirect
|
||||||
github.com/cloudflare/circl v1.6.1 // indirect
|
github.com/cloudflare/circl v1.6.3 // indirect
|
||||||
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
|
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
|
||||||
github.com/djherbis/times v1.6.0 // indirect
|
github.com/djherbis/times v1.6.0 // indirect
|
||||||
github.com/emirpasic/gods v1.18.1 // indirect
|
github.com/emirpasic/gods v1.18.1 // indirect
|
||||||
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
|
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
|
||||||
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
||||||
github.com/go-git/go-billy/v5 v5.6.2 // indirect
|
github.com/go-git/go-billy/v5 v5.6.2 // indirect
|
||||||
github.com/go-git/go-git/v5 v5.16.0 // indirect
|
github.com/go-git/go-git/v5 v5.16.5 // indirect
|
||||||
github.com/gogo/protobuf v1.3.2 // indirect
|
github.com/gogo/protobuf v1.3.2 // indirect
|
||||||
github.com/golang/glog v1.2.4 // indirect
|
github.com/golang/glog v1.2.4 // indirect
|
||||||
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
|
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
|
||||||
@@ -58,38 +57,36 @@ require (
|
|||||||
github.com/opentracing/basictracer-go v1.1.0 // indirect
|
github.com/opentracing/basictracer-go v1.1.0 // indirect
|
||||||
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
||||||
github.com/pgavlin/fx v0.1.6 // indirect
|
github.com/pgavlin/fx v0.1.6 // indirect
|
||||||
|
github.com/pgavlin/fx/v2 v2.0.10 // indirect
|
||||||
github.com/pjbgf/sha1cd v0.3.2 // indirect
|
github.com/pjbgf/sha1cd v0.3.2 // indirect
|
||||||
github.com/pkg/errors v0.9.1 // indirect
|
github.com/pkg/errors v0.9.1 // indirect
|
||||||
github.com/pkg/term v1.1.0 // indirect
|
github.com/pkg/term v1.1.0 // indirect
|
||||||
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect
|
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect
|
||||||
github.com/pulumi/esc v0.17.0 // indirect
|
github.com/pulumi/esc v0.22.0 // indirect
|
||||||
github.com/rivo/uniseg v0.4.7 // indirect
|
github.com/rivo/uniseg v0.4.7 // indirect
|
||||||
github.com/rogpeppe/go-internal v1.14.1 // indirect
|
github.com/rogpeppe/go-internal v1.14.1 // indirect
|
||||||
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect
|
|
||||||
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
|
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
|
||||||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
|
github.com/sergi/go-diff v1.4.0 // indirect
|
||||||
github.com/skeema/knownhosts v1.3.1 // indirect
|
github.com/skeema/knownhosts v1.3.1 // indirect
|
||||||
github.com/spf13/cast v1.5.0 // indirect
|
github.com/spf13/cast v1.5.0 // indirect
|
||||||
github.com/spf13/cobra v1.9.1 // indirect
|
github.com/spf13/cobra v1.10.1 // indirect
|
||||||
github.com/spf13/pflag v1.0.6 // indirect
|
github.com/spf13/pflag v1.0.9 // indirect
|
||||||
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
|
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
|
||||||
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
|
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
|
||||||
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
|
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
|
||||||
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
||||||
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
||||||
github.com/zclconf/go-cty v1.16.2 // indirect
|
github.com/zclconf/go-cty v1.16.3 // indirect
|
||||||
go.opentelemetry.io/otel v1.36.0 // indirect
|
|
||||||
go.opentelemetry.io/otel/sdk v1.36.0 // indirect
|
|
||||||
go.uber.org/atomic v1.11.0 // indirect
|
go.uber.org/atomic v1.11.0 // indirect
|
||||||
golang.org/x/crypto v0.39.0 // indirect
|
golang.org/x/crypto v0.45.0 // indirect
|
||||||
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0 // indirect
|
golang.org/x/exp v0.0.0-20250718183923-645b1fa84792 // indirect
|
||||||
golang.org/x/mod v0.25.0 // indirect
|
golang.org/x/mod v0.29.0 // indirect
|
||||||
golang.org/x/net v0.40.0 // indirect
|
golang.org/x/net v0.47.0 // indirect
|
||||||
golang.org/x/sync v0.15.0 // indirect
|
golang.org/x/sync v0.18.0 // indirect
|
||||||
golang.org/x/sys v0.33.0 // indirect
|
golang.org/x/sys v0.38.0 // indirect
|
||||||
golang.org/x/term v0.32.0 // indirect
|
golang.org/x/term v0.37.0 // indirect
|
||||||
golang.org/x/text v0.26.0 // indirect
|
golang.org/x/text v0.31.0 // indirect
|
||||||
golang.org/x/tools v0.33.0 // indirect
|
golang.org/x/tools v0.38.0 // indirect
|
||||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20250519155744-55703ea1f237 // indirect
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20250519155744-55703ea1f237 // indirect
|
||||||
google.golang.org/grpc v1.72.1 // indirect
|
google.golang.org/grpc v1.72.1 // indirect
|
||||||
google.golang.org/protobuf v1.36.6 // indirect
|
google.golang.org/protobuf v1.36.6 // indirect
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s=
|
dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s=
|
||||||
dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
|
dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
|
||||||
github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg=
|
|
||||||
github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
|
|
||||||
github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM=
|
github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM=
|
||||||
github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo=
|
github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo=
|
||||||
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
|
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
|
||||||
@@ -39,8 +37,8 @@ github.com/charmbracelet/x/term v0.2.1 h1:AQeHeLZ1OqSXhrAWpYUtZyX1T3zVxfpZuEQMIQ
|
|||||||
github.com/charmbracelet/x/term v0.2.1/go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg=
|
github.com/charmbracelet/x/term v0.2.1/go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg=
|
||||||
github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo=
|
github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo=
|
||||||
github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30=
|
github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30=
|
||||||
github.com/cloudflare/circl v1.6.1 h1:zqIqSPIndyBh1bjLVVDHMPpVKqp8Su/V+6MeDzzQBQ0=
|
github.com/cloudflare/circl v1.6.3 h1:9GPOhQGF9MCYUeXyMYlqTR6a5gTrgR/fBLXvUgtVcg8=
|
||||||
github.com/cloudflare/circl v1.6.1/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs=
|
github.com/cloudflare/circl v1.6.3/go.mod h1:2eXP6Qfat4O/Yhh8BznvKnJ+uzEoTQ6jVKJRn81BiS4=
|
||||||
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
|
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
|
||||||
github.com/cyphar/filepath-securejoin v0.4.1 h1:JyxxyPEaktOD+GAnqIqTf9A8tHyAG22rowi7HkoSU1s=
|
github.com/cyphar/filepath-securejoin v0.4.1 h1:JyxxyPEaktOD+GAnqIqTf9A8tHyAG22rowi7HkoSU1s=
|
||||||
github.com/cyphar/filepath-securejoin v0.4.1/go.mod h1:Sdj7gXlvMcPZsbhwhQ33GguGLDGQL7h7bg04C/+u9jI=
|
github.com/cyphar/filepath-securejoin v0.4.1/go.mod h1:Sdj7gXlvMcPZsbhwhQ33GguGLDGQL7h7bg04C/+u9jI=
|
||||||
@@ -69,8 +67,8 @@ github.com/go-git/go-billy/v5 v5.6.2 h1:6Q86EsPXMa7c3YZ3aLAQsMA0VlWmy43r6FHqa/UN
|
|||||||
github.com/go-git/go-billy/v5 v5.6.2/go.mod h1:rcFC2rAsp/erv7CMz9GczHcuD0D32fWzH+MJAU+jaUU=
|
github.com/go-git/go-billy/v5 v5.6.2/go.mod h1:rcFC2rAsp/erv7CMz9GczHcuD0D32fWzH+MJAU+jaUU=
|
||||||
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4=
|
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4=
|
||||||
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII=
|
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII=
|
||||||
github.com/go-git/go-git/v5 v5.16.0 h1:k3kuOEpkc0DeY7xlL6NaaNg39xdgQbtH5mwCafHO9AQ=
|
github.com/go-git/go-git/v5 v5.16.5 h1:mdkuqblwr57kVfXri5TTH+nMFLNUxIj9Z7F5ykFbw5s=
|
||||||
github.com/go-git/go-git/v5 v5.16.0/go.mod h1:4Ge4alE/5gPs30F2H1esi2gPd69R0C39lolkucHBOp8=
|
github.com/go-git/go-git/v5 v5.16.5/go.mod h1:QOMLpNf1qxuSY4StA/ArOdfFR2TrKEjJiye2kel2m+M=
|
||||||
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
|
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
|
||||||
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
|
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
|
||||||
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
|
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
|
||||||
@@ -146,8 +144,8 @@ github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+
|
|||||||
github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc=
|
github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc=
|
||||||
github.com/pgavlin/fx v0.1.6 h1:r9jEg69DhNoCd3Xh0+5mIbdbS3PqWrVWujkY76MFRTU=
|
github.com/pgavlin/fx v0.1.6 h1:r9jEg69DhNoCd3Xh0+5mIbdbS3PqWrVWujkY76MFRTU=
|
||||||
github.com/pgavlin/fx v0.1.6/go.mod h1:KWZJ6fqBBSh8GxHYqwYCf3rYE7Gp2p0N8tJp8xv9u9M=
|
github.com/pgavlin/fx v0.1.6/go.mod h1:KWZJ6fqBBSh8GxHYqwYCf3rYE7Gp2p0N8tJp8xv9u9M=
|
||||||
github.com/pgavlin/fx/v2 v2.0.3 h1:ZBVklTFjxcWvBVPE+ti5qwnmTIQ0Gq6nuj3J5RKDtKk=
|
github.com/pgavlin/fx/v2 v2.0.10 h1:ggyQ6pB+lEQEbEae48Wh/X221eLOamMD7i01ISe88u4=
|
||||||
github.com/pgavlin/fx/v2 v2.0.3/go.mod h1:Cvnwqq0BopdHUJ7CU50h1XPeKrF4ZwdFj1nJLXbAjCE=
|
github.com/pgavlin/fx/v2 v2.0.10/go.mod h1:M/nF/ooAOy+NUBooYYXl2REARzJ/giPJxfMs8fINfKc=
|
||||||
github.com/pjbgf/sha1cd v0.3.2 h1:a9wb0bp1oC2TGwStyn0Umc/IGKQnEgF0vVaZ8QF8eo4=
|
github.com/pjbgf/sha1cd v0.3.2 h1:a9wb0bp1oC2TGwStyn0Umc/IGKQnEgF0vVaZ8QF8eo4=
|
||||||
github.com/pjbgf/sha1cd v0.3.2/go.mod h1:zQWigSxVmsHEZow5qaLtPYxpcKMMQpa09ixqBxuCS6A=
|
github.com/pjbgf/sha1cd v0.3.2/go.mod h1:zQWigSxVmsHEZow5qaLtPYxpcKMMQpa09ixqBxuCS6A=
|
||||||
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
|
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
|
||||||
@@ -159,33 +157,31 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI
|
|||||||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||||
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0=
|
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0=
|
||||||
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE=
|
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE=
|
||||||
github.com/pulumi/esc v0.17.0 h1:oaVOIyFTENlYDuqc3pW75lQT9jb2cd6ie/4/Twxn66w=
|
github.com/pulumi/esc v0.22.0 h1:Kbk0kIPsoIu6vnLgKtiE8AKRfl8B8bg6adiQuwJiBjA=
|
||||||
github.com/pulumi/esc v0.17.0/go.mod h1:XnSxlt5NkmuAj304l/gK4pRErFbtqq6XpfX1tYT9Jbc=
|
github.com/pulumi/esc v0.22.0/go.mod h1:mkghIFn/TvN3XnP4jmCB4U5BG1I4UjGluARi39ckrCE=
|
||||||
github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild v0.0.12 h1:uzmw+0iic764m0Yvh4I/jRV1x3q49dVh5Ctq9RllsQ8=
|
github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild v0.0.15 h1:K6F/3o44gGj+ljRS4spCGvAXMSwECHITjaCccfjXNyE=
|
||||||
github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild v0.0.12/go.mod h1:6zFMe786NvFDO03BVJwdw1R/Yms4F6vAU49iBHo8zbQ=
|
github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild v0.0.15/go.mod h1:cZyHs6q34kbQZJYaBjWUJhPsgwUFoL6xyjo7sRqBcv4=
|
||||||
github.com/pulumi/pulumi/sdk/v3 v3.192.0 h1:sfHuR3P02wSbV3xdSMEQ0+uC/HzlMz0YfKrVAXy1hSQ=
|
github.com/pulumi/pulumi/sdk/v3 v3.209.0 h1:Ti0FohAset2HEgogTxTOWoyvQd2N2+pkTSIn5DW3W7s=
|
||||||
github.com/pulumi/pulumi/sdk/v3 v3.192.0/go.mod h1:aV0+c5xpSYccWKmOjTZS9liYCqh7+peu3cQgSXu7CJw=
|
github.com/pulumi/pulumi/sdk/v3 v3.209.0/go.mod h1:qBMg01woyYVNqNDJXpFL1e5gdN7oQQvCNNNtfq1gsEo=
|
||||||
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
|
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
|
||||||
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
|
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
|
||||||
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
|
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
|
||||||
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
|
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
|
||||||
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
|
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
|
||||||
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
|
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
|
||||||
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
|
|
||||||
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
|
|
||||||
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 h1:lZUw3E0/J3roVtGQ+SCrUrg3ON6NgVqpn3+iol9aGu4=
|
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 h1:lZUw3E0/J3roVtGQ+SCrUrg3ON6NgVqpn3+iol9aGu4=
|
||||||
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1/go.mod h1:uToXkOrWAZ6/Oc07xWQrPOhJotwFIyu2bBVN41fcDUY=
|
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1/go.mod h1:uToXkOrWAZ6/Oc07xWQrPOhJotwFIyu2bBVN41fcDUY=
|
||||||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8=
|
github.com/sergi/go-diff v1.4.0 h1:n/SP9D5ad1fORl+llWyN+D6qoUETXNZARKjyY2/KVCw=
|
||||||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
|
github.com/sergi/go-diff v1.4.0/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
|
||||||
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
|
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
|
||||||
github.com/skeema/knownhosts v1.3.1 h1:X2osQ+RAjK76shCbvhHHHVl3ZlgDm8apHEHFqRjnBY8=
|
github.com/skeema/knownhosts v1.3.1 h1:X2osQ+RAjK76shCbvhHHHVl3ZlgDm8apHEHFqRjnBY8=
|
||||||
github.com/skeema/knownhosts v1.3.1/go.mod h1:r7KTdC8l4uxWRyK2TpQZ/1o5HaSzh06ePQNxPwTcfiY=
|
github.com/skeema/knownhosts v1.3.1/go.mod h1:r7KTdC8l4uxWRyK2TpQZ/1o5HaSzh06ePQNxPwTcfiY=
|
||||||
github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w=
|
github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w=
|
||||||
github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU=
|
github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU=
|
||||||
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
|
github.com/spf13/cobra v1.10.1 h1:lJeBwCfmrnXthfAupyUTzJ/J4Nc1RsHC/mSRU2dll/s=
|
||||||
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
|
github.com/spf13/cobra v1.10.1/go.mod h1:7SmJGaTHFVBY0jW4NXGluQoLvhqFQM+6XSKD+P4XaB0=
|
||||||
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
|
github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY=
|
||||||
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
||||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||||
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
|
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
|
||||||
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
|
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
|
||||||
@@ -193,7 +189,6 @@ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXf
|
|||||||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
||||||
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
||||||
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
|
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
|
||||||
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
|
||||||
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
|
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
|
||||||
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
||||||
github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U=
|
github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U=
|
||||||
@@ -208,8 +203,8 @@ github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavM
|
|||||||
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM=
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM=
|
||||||
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||||
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||||
github.com/zclconf/go-cty v1.16.2 h1:LAJSwc3v81IRBZyUVQDUdZ7hs3SYs9jv0eZJDWHD/70=
|
github.com/zclconf/go-cty v1.16.3 h1:osr++gw2T61A8KVYHoQiFbFd1Lh3JOCXc/jFLJXKTxk=
|
||||||
github.com/zclconf/go-cty v1.16.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
|
github.com/zclconf/go-cty v1.16.3/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
|
||||||
go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA=
|
go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA=
|
||||||
go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A=
|
go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A=
|
||||||
go.opentelemetry.io/otel v1.36.0 h1:UumtzIklRBY6cI/lllNZlALOF5nNIzJVb16APdvgTXg=
|
go.opentelemetry.io/otel v1.36.0 h1:UumtzIklRBY6cI/lllNZlALOF5nNIzJVb16APdvgTXg=
|
||||||
@@ -228,29 +223,29 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk
|
|||||||
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||||
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||||
golang.org/x/crypto v0.39.0 h1:SHs+kF4LP+f+p14esP5jAoDpHU8Gu/v9lFRK6IT5imM=
|
golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=
|
||||||
golang.org/x/crypto v0.39.0/go.mod h1:L+Xg3Wf6HoL4Bn4238Z6ft6KfEpN0tJGo53AAPC632U=
|
golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4=
|
||||||
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0 h1:R84qjqJb5nVJMxqWYb3np9L5ZsaDtB+a39EqjV0JSUM=
|
golang.org/x/exp v0.0.0-20250718183923-645b1fa84792 h1:R9PFI6EUdfVKgwKjZef7QIwGcBKu86OEFpJ9nUEP2l4=
|
||||||
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0/go.mod h1:S9Xr4PYopiDyqSyp5NjCrhFrqg6A5zA2E/iPHPhqnS8=
|
golang.org/x/exp v0.0.0-20250718183923-645b1fa84792/go.mod h1:A+z0yzpGtvnG90cToK5n2tu8UJVP2XUATh+r+sfOOOc=
|
||||||
golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
|
golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
|
||||||
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
|
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
|
||||||
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||||
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||||
golang.org/x/mod v0.25.0 h1:n7a+ZbQKQA/Ysbyb0/6IbB1H/X41mKgbhfv7AfG/44w=
|
golang.org/x/mod v0.29.0 h1:HV8lRxZC4l2cr3Zq1LvtOsi/ThTgWnUk/y64QSs8GwA=
|
||||||
golang.org/x/mod v0.25.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww=
|
golang.org/x/mod v0.29.0/go.mod h1:NyhrlYXJ2H4eJiRy/WDBO6HMqZQ6q9nk4JzS3NuCK+w=
|
||||||
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||||
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||||
golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
|
golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
|
||||||
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
|
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
|
||||||
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||||
golang.org/x/net v0.40.0 h1:79Xs7wF06Gbdcg4kdCCIQArK11Z1hr5POQ6+fIYHNuY=
|
golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY=
|
||||||
golang.org/x/net v0.40.0/go.mod h1:y0hY0exeL2Pku80/zKK7tpntoX23cqL3Oa6njdgRtds=
|
golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU=
|
||||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.15.0 h1:KWH3jNZsfyT6xfAfKiz6MRNmd46ByHDYaZ7KSkCtdW8=
|
golang.org/x/sync v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I=
|
||||||
golang.org/x/sync v0.15.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
|
golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
|
||||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
@@ -266,24 +261,24 @@ golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBc
|
|||||||
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw=
|
golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc=
|
||||||
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
|
golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
|
||||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||||
golang.org/x/term v0.32.0 h1:DR4lr0TjUs3epypdhTOkMmuF5CDFJ/8pOnbzMZPQ7bg=
|
golang.org/x/term v0.37.0 h1:8EGAD0qCmHYZg6J17DvsMy9/wJ7/D/4pV/wfnld5lTU=
|
||||||
golang.org/x/term v0.32.0/go.mod h1:uZG1FhGx848Sqfsq4/DlJr3xGGsYMu/L5GW4abiaEPQ=
|
golang.org/x/term v0.37.0/go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254=
|
||||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||||
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||||
golang.org/x/text v0.26.0 h1:P42AVeLghgTYr4+xUnTRKDMqpar+PtX7KWuNQL21L8M=
|
golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM=
|
||||||
golang.org/x/text v0.26.0/go.mod h1:QK15LZJUUQVJxhz7wXgxSy/CJaTFjd0G+YLonydOVQA=
|
golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM=
|
||||||
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
||||||
golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
||||||
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
|
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
|
||||||
golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
|
golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
|
||||||
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
|
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
|
||||||
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
|
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
|
||||||
golang.org/x/tools v0.33.0 h1:4qz2S3zmRxbGIhDIAgjxvFutSvH5EfnsYrRBj0UI0bc=
|
golang.org/x/tools v0.38.0 h1:Hx2Xv8hISq8Lm16jvBZ2VQf+RLmbd7wVUsALibYI/IQ=
|
||||||
golang.org/x/tools v0.33.0/go.mod h1:CIJMaWEY88juyUfo7UbgPqbC8rU2OqfAV1h2Qp0oMYI=
|
golang.org/x/tools v0.38.0/go.mod h1:yEsQ/d/YK8cjh0L6rZlY8tgtlKiBNTL14pGDJPJpYQs=
|
||||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||||
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||||
@@ -303,7 +298,6 @@ gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRN
|
|||||||
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||||
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
|
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
|
||||||
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
|
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
|
||||||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
|
||||||
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
||||||
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||||
lukechampine.com/frand v1.5.1 h1:fg0eRtdmGFIxhP5zQJzM1lFDbD6CUfu/f+7WgAZd5/w=
|
lukechampine.com/frand v1.5.1 h1:fg0eRtdmGFIxhP5zQJzM1lFDbD6CUfu/f+7WgAZd5/w=
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild"
|
|
||||||
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
|
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
|
||||||
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
|
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
|
||||||
|
|
||||||
|
"github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -8,8 +8,9 @@ import (
|
|||||||
"path"
|
"path"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
|
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestGoExample(t *testing.T) {
|
func TestGoExample(t *testing.T) {
|
||||||
|
|||||||
@@ -8,8 +8,9 @@ import (
|
|||||||
"path"
|
"path"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
|
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestJavaExample(t *testing.T) {
|
func TestJavaExample(t *testing.T) {
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"typescript": "^4.0.0",
|
"typescript": "^4.0.0",
|
||||||
"@pulumi/pulumi": "3.184.0"
|
"@pulumi/pulumi": "3.224.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,14 +16,15 @@ import (
|
|||||||
"github.com/aws/aws-sdk-go/aws"
|
"github.com/aws/aws-sdk-go/aws"
|
||||||
"github.com/aws/aws-sdk-go/aws/session"
|
"github.com/aws/aws-sdk-go/aws/session"
|
||||||
"github.com/aws/aws-sdk-go/service/ecr"
|
"github.com/aws/aws-sdk-go/service/ecr"
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/pulumi/providertest"
|
"github.com/pulumi/providertest"
|
||||||
"github.com/pulumi/providertest/optproviderupgrade"
|
"github.com/pulumi/providertest/optproviderupgrade"
|
||||||
"github.com/pulumi/providertest/pulumitest"
|
"github.com/pulumi/providertest/pulumitest"
|
||||||
"github.com/pulumi/providertest/pulumitest/assertpreview"
|
"github.com/pulumi/providertest/pulumitest/assertpreview"
|
||||||
"github.com/pulumi/providertest/pulumitest/opttest"
|
"github.com/pulumi/providertest/pulumitest/opttest"
|
||||||
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
||||||
"github.com/stretchr/testify/assert"
|
|
||||||
"github.com/stretchr/testify/require"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestNodeExample(t *testing.T) {
|
func TestNodeExample(t *testing.T) {
|
||||||
|
|||||||
@@ -8,8 +8,9 @@ import (
|
|||||||
"path"
|
"path"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
|
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestPythonExample(t *testing.T) {
|
func TestPythonExample(t *testing.T) {
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
"@types/node": "^20.0.0"
|
"@types/node": "^20.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pulumi/pulumi": "3.184.0"
|
"@pulumi/pulumi": "3.224.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -4,6 +4,6 @@
|
|||||||
"@types/node": "^20.0.0"
|
"@types/node": "^20.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pulumi/pulumi": "3.184.0"
|
"@pulumi/pulumi": "3.224.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,3 +38,5 @@ variables:
|
|||||||
auth-token:
|
auth-token:
|
||||||
fn::aws:ecr:getAuthorizationToken:
|
fn::aws:ecr:getAuthorizationToken:
|
||||||
registryId: ${ecr-repository.registryId}
|
registryId: ${ecr-repository.registryId}
|
||||||
|
config:
|
||||||
|
aws:region: us-west-2
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"typescript": "^4.0.0",
|
"typescript": "^4.0.0",
|
||||||
"@pulumi/pulumi": "3.184.0"
|
"@pulumi/pulumi": "3.224.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,15 +8,17 @@ import (
|
|||||||
"path"
|
"path"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/pulumi/providertest"
|
"github.com/pulumi/providertest"
|
||||||
"github.com/pulumi/providertest/providers"
|
"github.com/pulumi/providertest/providers"
|
||||||
"github.com/pulumi/providertest/pulumitest"
|
"github.com/pulumi/providertest/pulumitest"
|
||||||
"github.com/pulumi/providertest/pulumitest/assertpreview"
|
"github.com/pulumi/providertest/pulumitest/assertpreview"
|
||||||
"github.com/pulumi/providertest/pulumitest/opttest"
|
"github.com/pulumi/providertest/pulumitest/opttest"
|
||||||
"github.com/pulumi/pulumi-docker-build/provider"
|
|
||||||
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
||||||
pulumirpc "github.com/pulumi/pulumi/sdk/v3/proto/go"
|
pulumirpc "github.com/pulumi/pulumi/sdk/v3/proto/go"
|
||||||
"github.com/stretchr/testify/require"
|
|
||||||
|
"github.com/pulumi/pulumi-docker-build/provider"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestYAMLExample(t *testing.T) {
|
func TestYAMLExample(t *testing.T) {
|
||||||
|
|||||||
315
go.mod
315
go.mod
@@ -1,6 +1,6 @@
|
|||||||
module github.com/pulumi/pulumi-docker-build
|
module github.com/pulumi/pulumi-docker-build
|
||||||
|
|
||||||
go 1.24.1
|
go 1.25.0
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/aws/aws-sdk-go v1.55.5
|
github.com/aws/aws-sdk-go v1.55.5
|
||||||
@@ -9,138 +9,91 @@ require (
|
|||||||
github.com/docker/buildx v0.22.0
|
github.com/docker/buildx v0.22.0
|
||||||
github.com/docker/cli v28.0.4+incompatible
|
github.com/docker/cli v28.0.4+incompatible
|
||||||
github.com/docker/docker v28.0.1+incompatible
|
github.com/docker/docker v28.0.1+incompatible
|
||||||
github.com/golangci/golangci-lint v1.59.1
|
|
||||||
github.com/moby/buildkit v0.20.1
|
github.com/moby/buildkit v0.20.1
|
||||||
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.101.2
|
||||||
github.com/pulumi/pulumi-go-provider v1.1.2
|
github.com/pulumi/pulumi-go-provider v1.3.0
|
||||||
github.com/pulumi/pulumi-java/pkg v1.16.0
|
github.com/pulumi/pulumi-java/pkg v1.21.2
|
||||||
github.com/pulumi/pulumi-yaml v1.21.2
|
github.com/pulumi/pulumi/pkg/v3 v3.224.0
|
||||||
github.com/pulumi/pulumi/pkg/v3 v3.192.0
|
github.com/pulumi/pulumi/sdk/v3 v3.224.0
|
||||||
github.com/pulumi/pulumi/sdk/go/pulumi-language-go/v3 v3.0.0-20250806165243-bee5e4fa4815
|
|
||||||
github.com/pulumi/pulumi/sdk/nodejs/cmd/pulumi-language-nodejs/v3 v3.0.0-20250806165243-bee5e4fa4815
|
|
||||||
github.com/pulumi/pulumi/sdk/python/cmd/pulumi-language-python/v3 v3.0.0-20250806165243-bee5e4fa4815
|
|
||||||
github.com/pulumi/pulumi/sdk/v3 v3.192.0
|
|
||||||
github.com/regclient/regclient v0.7.1
|
github.com/regclient/regclient v0.7.1
|
||||||
github.com/sirupsen/logrus v1.9.3
|
github.com/sirupsen/logrus v1.9.3
|
||||||
github.com/spf13/afero v1.14.0
|
github.com/spf13/afero v1.14.0
|
||||||
github.com/stretchr/testify v1.10.0
|
github.com/stretchr/testify v1.11.1
|
||||||
github.com/tonistiigi/fsutil v0.0.0-20250113203817-b14e27f4135a
|
github.com/tonistiigi/fsutil v0.0.0-20250113203817-b14e27f4135a
|
||||||
github.com/tonistiigi/go-csvvalue v0.0.0-20240710180619-ddb21b71c0b4
|
github.com/tonistiigi/go-csvvalue v0.0.0-20240710180619-ddb21b71c0b4
|
||||||
go.opentelemetry.io/otel/metric v1.36.0
|
go.opentelemetry.io/otel/metric v1.40.0
|
||||||
go.opentelemetry.io/otel/sdk v1.36.0
|
go.opentelemetry.io/otel/sdk v1.40.0
|
||||||
go.opentelemetry.io/otel/trace v1.36.0
|
go.opentelemetry.io/otel/trace v1.40.0
|
||||||
go.uber.org/mock v0.5.2
|
go.uber.org/mock v0.6.0
|
||||||
golang.org/x/crypto v0.39.0
|
golang.org/x/crypto v0.48.0
|
||||||
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0
|
golang.org/x/exp v0.0.0-20250718183923-645b1fa84792
|
||||||
google.golang.org/protobuf v1.36.6
|
google.golang.org/protobuf v1.36.11
|
||||||
gopkg.in/yaml.v3 v3.0.1
|
gopkg.in/yaml.v3 v3.0.1
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
4d63.com/gocheckcompilerdirectives v1.2.1 // indirect
|
|
||||||
4d63.com/gochecknoglobals v0.2.1 // indirect
|
|
||||||
cloud.google.com/go v0.112.1 // indirect
|
cloud.google.com/go v0.112.1 // indirect
|
||||||
cloud.google.com/go/compute/metadata v0.6.0 // indirect
|
cloud.google.com/go/compute/metadata v0.9.0 // indirect
|
||||||
cloud.google.com/go/iam v1.1.6 // indirect
|
cloud.google.com/go/iam v1.1.6 // indirect
|
||||||
cloud.google.com/go/kms v1.15.7 // indirect
|
cloud.google.com/go/kms v1.15.7 // indirect
|
||||||
cloud.google.com/go/logging v1.9.0 // indirect
|
cloud.google.com/go/logging v1.9.0 // indirect
|
||||||
cloud.google.com/go/longrunning v0.5.5 // indirect
|
cloud.google.com/go/longrunning v0.5.5 // indirect
|
||||||
cloud.google.com/go/storage v1.39.1 // indirect
|
cloud.google.com/go/storage v1.39.1 // indirect
|
||||||
dario.cat/mergo v1.0.1 // indirect
|
dario.cat/mergo v1.0.1 // indirect
|
||||||
github.com/4meepo/tagalign v1.3.4 // indirect
|
|
||||||
github.com/Abirdcfly/dupword v0.0.14 // indirect
|
|
||||||
github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 // indirect
|
github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 // indirect
|
||||||
github.com/AlecAivazis/survey/v2 v2.3.7 // indirect
|
|
||||||
github.com/Antonboom/errname v0.1.13 // indirect
|
|
||||||
github.com/Antonboom/nilnil v0.1.9 // indirect
|
|
||||||
github.com/Antonboom/testifylint v1.3.1 // indirect
|
|
||||||
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.17.0 // indirect
|
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.17.0 // indirect
|
||||||
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.8.2 // indirect
|
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.8.2 // indirect
|
||||||
github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 // indirect
|
github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 // indirect
|
||||||
github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys v0.10.0 // indirect
|
github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys v0.10.0 // indirect
|
||||||
github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1 // indirect
|
github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1 // indirect
|
||||||
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.5.0 // indirect
|
|
||||||
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
|
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
|
||||||
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
|
|
||||||
github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect
|
|
||||||
github.com/AzureAD/microsoft-authentication-library-for-go v1.3.3 // indirect
|
github.com/AzureAD/microsoft-authentication-library-for-go v1.3.3 // indirect
|
||||||
github.com/BurntSushi/toml v1.5.0 // indirect
|
github.com/BurntSushi/toml v1.5.0 // indirect
|
||||||
github.com/Crocmagnon/fatcontext v0.2.2 // indirect
|
|
||||||
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect
|
|
||||||
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.2.0 // indirect
|
|
||||||
github.com/Masterminds/semver/v3 v3.2.1 // indirect
|
|
||||||
github.com/Microsoft/go-winio v0.6.2 // indirect
|
github.com/Microsoft/go-winio v0.6.2 // indirect
|
||||||
github.com/OpenPeeDeeP/depguard/v2 v2.2.0 // indirect
|
|
||||||
github.com/ProtonMail/go-crypto v1.2.0 // indirect
|
github.com/ProtonMail/go-crypto v1.2.0 // indirect
|
||||||
github.com/agext/levenshtein v1.2.3 // indirect
|
github.com/agext/levenshtein v1.2.3 // indirect
|
||||||
github.com/alecthomas/chroma v0.10.0 // indirect
|
|
||||||
github.com/alecthomas/chroma/v2 v2.13.0 // indirect
|
|
||||||
github.com/alecthomas/go-check-sumtype v0.1.4 // indirect
|
|
||||||
github.com/alexkohler/nakedret/v2 v2.0.4 // indirect
|
|
||||||
github.com/alexkohler/prealloc v1.0.0 // indirect
|
|
||||||
github.com/alingse/asasalint v0.0.11 // indirect
|
|
||||||
github.com/apparentlymart/go-cidr v1.0.1 // indirect
|
github.com/apparentlymart/go-cidr v1.0.1 // indirect
|
||||||
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
|
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
|
||||||
github.com/ashanbrown/forbidigo v1.6.0 // indirect
|
|
||||||
github.com/ashanbrown/makezero v1.1.1 // indirect
|
|
||||||
github.com/atotto/clipboard v0.1.4 // indirect
|
github.com/atotto/clipboard v0.1.4 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2 v1.30.3 // indirect
|
github.com/aws/aws-sdk-go-v2 v1.30.3 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.3 // indirect
|
|
||||||
github.com/aws/aws-sdk-go-v2/config v1.27.27 // indirect
|
github.com/aws/aws-sdk-go-v2/config v1.27.27 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/credentials v1.17.27 // indirect
|
github.com/aws/aws-sdk-go-v2/credentials v1.17.27 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.11 // indirect
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.11 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.8 // indirect
|
|
||||||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.15 // indirect
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.15 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.15 // indirect
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.15 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect
|
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.15 // indirect
|
|
||||||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.3 // indirect
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.3 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.17 // indirect
|
|
||||||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.17 // indirect
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.17 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.15 // indirect
|
|
||||||
github.com/aws/aws-sdk-go-v2/service/kms v1.30.1 // indirect
|
github.com/aws/aws-sdk-go-v2/service/kms v1.30.1 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/service/s3 v1.58.2 // indirect
|
|
||||||
github.com/aws/aws-sdk-go-v2/service/sso v1.22.4 // indirect
|
github.com/aws/aws-sdk-go-v2/service/sso v1.22.4 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.4 // indirect
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.4 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/service/sts v1.30.3 // indirect
|
github.com/aws/aws-sdk-go-v2/service/sts v1.30.3 // indirect
|
||||||
github.com/aws/smithy-go v1.20.3 // indirect
|
github.com/aws/smithy-go v1.20.3 // indirect
|
||||||
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
||||||
github.com/aymerick/douceur v0.2.0 // indirect
|
|
||||||
github.com/beorn7/perks v1.0.1 // indirect
|
github.com/beorn7/perks v1.0.1 // indirect
|
||||||
github.com/bkielbasa/cyclop v1.2.1 // indirect
|
|
||||||
github.com/blizzy78/varnamelen v0.8.0 // indirect
|
|
||||||
github.com/bombsimon/wsl/v4 v4.2.1 // indirect
|
|
||||||
github.com/breml/bidichk v0.2.7 // indirect
|
|
||||||
github.com/breml/errchkjson v0.3.6 // indirect
|
|
||||||
github.com/butuzov/ireturn v0.3.0 // indirect
|
|
||||||
github.com/butuzov/mirror v1.2.0 // indirect
|
|
||||||
github.com/catenacyber/perfsprint v0.7.1 // indirect
|
|
||||||
github.com/ccojocar/zxcvbn-go v1.0.2 // indirect
|
|
||||||
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
|
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
|
||||||
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
|
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
|
||||||
github.com/cenkalti/backoff/v5 v5.0.2 // indirect
|
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
|
||||||
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
||||||
github.com/charithe/durationcheck v0.0.10 // indirect
|
github.com/charmbracelet/bubbles v1.0.0 // indirect
|
||||||
github.com/charmbracelet/bubbles v0.21.0 // indirect
|
github.com/charmbracelet/bubbletea v1.3.10 // indirect
|
||||||
github.com/charmbracelet/bubbletea v1.3.4 // indirect
|
github.com/charmbracelet/colorprofile v0.4.2 // indirect
|
||||||
github.com/charmbracelet/colorprofile v0.3.0 // indirect
|
|
||||||
github.com/charmbracelet/glamour v0.6.0 // indirect
|
|
||||||
github.com/charmbracelet/lipgloss v1.1.0 // indirect
|
github.com/charmbracelet/lipgloss v1.1.0 // indirect
|
||||||
github.com/charmbracelet/x/ansi v0.8.0 // indirect
|
github.com/charmbracelet/x/ansi v0.11.6 // indirect
|
||||||
github.com/charmbracelet/x/cellbuf v0.0.13 // indirect
|
github.com/charmbracelet/x/cellbuf v0.0.15 // indirect
|
||||||
github.com/charmbracelet/x/term v0.2.1 // indirect
|
github.com/charmbracelet/x/term v0.2.2 // indirect
|
||||||
github.com/chavacava/garif v0.1.0 // indirect
|
|
||||||
github.com/cheggaaa/pb v1.0.29 // indirect
|
github.com/cheggaaa/pb v1.0.29 // indirect
|
||||||
github.com/ckaznocha/intrange v0.1.2 // indirect
|
github.com/clipperhouse/displaywidth v0.11.0 // indirect
|
||||||
github.com/cloudflare/circl v1.6.1 // indirect
|
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
|
||||||
|
github.com/cloudflare/circl v1.6.3 // indirect
|
||||||
github.com/compose-spec/compose-go/v2 v2.4.8 // indirect
|
github.com/compose-spec/compose-go/v2 v2.4.8 // indirect
|
||||||
github.com/containerd/console v1.0.4 // indirect
|
github.com/containerd/console v1.0.4 // indirect
|
||||||
github.com/containerd/containerd/api v1.8.0 // indirect
|
github.com/containerd/containerd/api v1.8.0 // indirect
|
||||||
github.com/containerd/containerd/v2 v2.0.3 // indirect
|
github.com/containerd/containerd/v2 v2.0.7 // indirect
|
||||||
github.com/containerd/continuity v0.4.5 // indirect
|
github.com/containerd/continuity v0.4.5 // indirect
|
||||||
github.com/containerd/errdefs v1.0.0 // indirect
|
github.com/containerd/errdefs v1.0.0 // indirect
|
||||||
github.com/containerd/errdefs/pkg v0.3.0 // indirect
|
github.com/containerd/errdefs/pkg v0.3.0 // indirect
|
||||||
@@ -148,15 +101,10 @@ require (
|
|||||||
github.com/containerd/platforms v1.0.0-rc.1 // indirect
|
github.com/containerd/platforms v1.0.0-rc.1 // indirect
|
||||||
github.com/containerd/ttrpc v1.2.7 // indirect
|
github.com/containerd/ttrpc v1.2.7 // indirect
|
||||||
github.com/containerd/typeurl/v2 v2.2.3 // indirect
|
github.com/containerd/typeurl/v2 v2.2.3 // indirect
|
||||||
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
|
|
||||||
github.com/curioswitch/go-reassign v0.2.0 // indirect
|
|
||||||
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
|
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
|
||||||
github.com/daixiang0/gci v0.13.4 // indirect
|
|
||||||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
||||||
github.com/deckarep/golang-set/v2 v2.5.0 // indirect
|
github.com/deckarep/golang-set/v2 v2.5.0 // indirect
|
||||||
github.com/denis-tingaikin/go-header v0.5.0 // indirect
|
|
||||||
github.com/djherbis/times v1.6.0 // indirect
|
github.com/djherbis/times v1.6.0 // indirect
|
||||||
github.com/dlclark/regexp2 v1.11.0 // indirect
|
|
||||||
github.com/docker/cli-docs-tool v0.9.0 // indirect
|
github.com/docker/cli-docs-tool v0.9.0 // indirect
|
||||||
github.com/docker/distribution v2.8.3+incompatible // indirect
|
github.com/docker/distribution v2.8.3+incompatible // indirect
|
||||||
github.com/docker/docker-credential-helpers v0.8.2 // indirect
|
github.com/docker/docker-credential-helpers v0.8.2 // indirect
|
||||||
@@ -164,78 +112,46 @@ require (
|
|||||||
github.com/docker/go-metrics v0.0.1 // indirect
|
github.com/docker/go-metrics v0.0.1 // indirect
|
||||||
github.com/docker/go-units v0.5.0 // indirect
|
github.com/docker/go-units v0.5.0 // indirect
|
||||||
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect
|
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect
|
||||||
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
||||||
github.com/edsrzf/mmap-go v1.2.0 // indirect
|
github.com/edsrzf/mmap-go v1.2.0 // indirect
|
||||||
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
|
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
|
||||||
github.com/emirpasic/gods v1.18.1 // indirect
|
github.com/emirpasic/gods v1.18.1 // indirect
|
||||||
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
|
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
|
||||||
github.com/erikgeiser/promptkit v0.9.0 // indirect
|
|
||||||
github.com/ettle/strcase v0.2.0 // indirect
|
|
||||||
github.com/fatih/color v1.17.0 // indirect
|
github.com/fatih/color v1.17.0 // indirect
|
||||||
github.com/fatih/structtag v1.2.0 // indirect
|
|
||||||
github.com/felixge/httpsnoop v1.0.4 // indirect
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
||||||
github.com/firefart/nonamedreturns v1.0.5 // indirect
|
|
||||||
github.com/fsnotify/fsnotify v1.9.0 // indirect
|
github.com/fsnotify/fsnotify v1.9.0 // indirect
|
||||||
github.com/fvbommel/sortorder v1.0.1 // indirect
|
github.com/fvbommel/sortorder v1.0.1 // indirect
|
||||||
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
|
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
|
||||||
github.com/fzipp/gocyclo v0.6.0 // indirect
|
|
||||||
github.com/ghostiam/protogetter v0.3.6 // indirect
|
|
||||||
github.com/go-critic/go-critic v0.11.4 // indirect
|
|
||||||
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
||||||
github.com/go-git/go-billy/v5 v5.6.2 // indirect
|
github.com/go-git/go-billy/v5 v5.6.2 // indirect
|
||||||
github.com/go-git/go-git/v5 v5.16.0 // indirect
|
github.com/go-git/go-git/v5 v5.16.5 // indirect
|
||||||
github.com/go-jose/go-jose/v3 v3.0.4 // indirect
|
github.com/go-jose/go-jose/v3 v3.0.4 // indirect
|
||||||
github.com/go-logr/logr v1.4.2 // indirect
|
github.com/go-logr/logr v1.4.3 // indirect
|
||||||
github.com/go-logr/stdr v1.2.2 // indirect
|
github.com/go-logr/stdr v1.2.2 // indirect
|
||||||
github.com/go-ole/go-ole v1.2.6 // indirect
|
|
||||||
github.com/go-openapi/jsonpointer v0.19.6 // indirect
|
github.com/go-openapi/jsonpointer v0.19.6 // indirect
|
||||||
github.com/go-openapi/jsonreference v0.20.2 // indirect
|
github.com/go-openapi/jsonreference v0.20.2 // indirect
|
||||||
github.com/go-openapi/swag v0.22.4 // indirect
|
github.com/go-openapi/swag v0.22.4 // indirect
|
||||||
github.com/go-toolsmith/astcast v1.1.0 // indirect
|
github.com/go-test/deep v1.1.1 // indirect
|
||||||
github.com/go-toolsmith/astcopy v1.1.0 // indirect
|
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
|
||||||
github.com/go-toolsmith/astequal v1.2.0 // indirect
|
|
||||||
github.com/go-toolsmith/astfmt v1.1.0 // indirect
|
|
||||||
github.com/go-toolsmith/astp v1.1.0 // indirect
|
|
||||||
github.com/go-toolsmith/strparse v1.1.0 // indirect
|
|
||||||
github.com/go-toolsmith/typep v1.1.0 // indirect
|
|
||||||
github.com/go-viper/mapstructure/v2 v2.0.0 // indirect
|
|
||||||
github.com/go-xmlfmt/xmlfmt v1.1.2 // indirect
|
|
||||||
github.com/gobwas/glob v0.2.3 // indirect
|
|
||||||
github.com/godbus/dbus/v5 v5.1.0 // indirect
|
|
||||||
github.com/gofrs/flock v0.12.1 // indirect
|
github.com/gofrs/flock v0.12.1 // indirect
|
||||||
github.com/gofrs/uuid v4.2.0+incompatible // indirect
|
github.com/gofrs/uuid v4.2.0+incompatible // indirect
|
||||||
github.com/gogo/protobuf v1.3.2 // indirect
|
github.com/gogo/protobuf v1.3.2 // indirect
|
||||||
github.com/golang-jwt/jwt/v5 v5.2.2 // indirect
|
github.com/golang-jwt/jwt/v5 v5.2.2 // indirect
|
||||||
github.com/golang/glog v1.2.4 // indirect
|
github.com/golang/glog v1.2.5 // indirect
|
||||||
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
|
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
|
||||||
github.com/golang/protobuf v1.5.4 // indirect
|
github.com/golang/protobuf v1.5.4 // indirect
|
||||||
github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a // indirect
|
|
||||||
github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e // indirect
|
|
||||||
github.com/golangci/misspell v0.6.0 // indirect
|
|
||||||
github.com/golangci/modinfo v0.3.4 // indirect
|
|
||||||
github.com/golangci/plugin-module-register v0.1.1 // indirect
|
|
||||||
github.com/golangci/revgrep v0.5.3 // indirect
|
|
||||||
github.com/golangci/unconvert v0.0.0-20240309020433-c5143eacb3ed // indirect
|
|
||||||
github.com/google/gnostic-models v0.6.8 // indirect
|
github.com/google/gnostic-models v0.6.8 // indirect
|
||||||
github.com/google/go-cmp v0.7.0 // indirect
|
github.com/google/go-cmp v0.7.0 // indirect
|
||||||
github.com/google/go-querystring v1.1.0 // indirect
|
github.com/google/go-querystring v1.1.0 // indirect
|
||||||
github.com/google/gofuzz v1.2.0 // indirect
|
github.com/google/gofuzz v1.2.0 // indirect
|
||||||
github.com/google/pprof v0.0.0-20240525223248-4bfdf5a9a2af // indirect
|
|
||||||
github.com/google/s2a-go v0.1.7 // indirect
|
github.com/google/s2a-go v0.1.7 // indirect
|
||||||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
||||||
github.com/google/uuid v1.6.0 // indirect
|
github.com/google/uuid v1.6.0 // indirect
|
||||||
github.com/google/wire v0.6.0 // indirect
|
github.com/google/wire v0.6.0 // indirect
|
||||||
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
|
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
|
||||||
github.com/googleapis/gax-go/v2 v2.12.2 // indirect
|
github.com/googleapis/gax-go/v2 v2.12.2 // indirect
|
||||||
github.com/gordonklaus/ineffassign v0.1.0 // indirect
|
|
||||||
github.com/gorilla/css v1.0.0 // indirect
|
|
||||||
github.com/gorilla/mux v1.8.1 // indirect
|
github.com/gorilla/mux v1.8.1 // indirect
|
||||||
github.com/gorilla/websocket v1.5.0 // indirect
|
github.com/gorilla/websocket v1.5.0 // indirect
|
||||||
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 // indirect
|
||||||
github.com/gostaticanalysis/comment v1.4.2 // indirect
|
|
||||||
github.com/gostaticanalysis/forcetypeassert v0.1.0 // indirect
|
|
||||||
github.com/gostaticanalysis/nilerr v0.1.1 // indirect
|
|
||||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 // indirect
|
|
||||||
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect
|
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect
|
||||||
github.com/hashicorp/errwrap v1.1.0 // indirect
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
||||||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
||||||
@@ -246,59 +162,28 @@ require (
|
|||||||
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8 // indirect
|
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8 // indirect
|
||||||
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
|
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
|
||||||
github.com/hashicorp/go-sockaddr v1.0.6 // indirect
|
github.com/hashicorp/go-sockaddr v1.0.6 // indirect
|
||||||
github.com/hashicorp/go-version v1.7.0 // indirect
|
github.com/hashicorp/go-version v1.8.0 // indirect
|
||||||
github.com/hashicorp/hcl v1.0.0 // indirect
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
||||||
github.com/hashicorp/hcl/v2 v2.23.0 // indirect
|
github.com/hashicorp/hcl/v2 v2.24.0 // indirect
|
||||||
github.com/hashicorp/vault/api v1.12.0 // indirect
|
github.com/hashicorp/vault/api v1.12.0 // indirect
|
||||||
github.com/hexops/gotextdiff v1.0.3 // indirect
|
|
||||||
github.com/iancoleman/strcase v0.3.0 // indirect
|
github.com/iancoleman/strcase v0.3.0 // indirect
|
||||||
github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd // indirect
|
|
||||||
github.com/imdario/mergo v0.3.16 // indirect
|
github.com/imdario/mergo v0.3.16 // indirect
|
||||||
github.com/in-toto/in-toto-golang v0.5.0 // indirect
|
github.com/in-toto/in-toto-golang v0.5.0 // indirect
|
||||||
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
||||||
github.com/iwdgo/sigintwindows v0.2.2 // indirect
|
github.com/iwdgo/sigintwindows v0.2.2 // indirect
|
||||||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
||||||
github.com/jgautheron/goconst v1.7.1 // indirect
|
|
||||||
github.com/jingyugao/rowserrcheck v1.1.1 // indirect
|
|
||||||
github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af // indirect
|
|
||||||
github.com/jjti/go-spancheck v0.6.1 // indirect
|
|
||||||
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
||||||
github.com/jonboulle/clockwork v0.4.0 // indirect
|
|
||||||
github.com/josharian/intern v1.0.0 // indirect
|
github.com/josharian/intern v1.0.0 // indirect
|
||||||
github.com/json-iterator/go v1.1.12 // indirect
|
github.com/json-iterator/go v1.1.12 // indirect
|
||||||
github.com/julz/importas v0.1.0 // indirect
|
|
||||||
github.com/karamaru-alpha/copyloopvar v1.1.0 // indirect
|
|
||||||
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
|
|
||||||
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
||||||
github.com/kisielk/errcheck v1.7.0 // indirect
|
github.com/klauspost/compress v1.18.0 // indirect
|
||||||
github.com/kkHAIKE/contextcheck v1.1.5 // indirect
|
|
||||||
github.com/klauspost/compress v1.17.11 // indirect
|
|
||||||
github.com/kulti/thelper v0.6.3 // indirect
|
|
||||||
github.com/kunwardeep/paralleltest v1.0.10 // indirect
|
|
||||||
github.com/kylelemons/godebug v1.1.0 // indirect
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
||||||
github.com/kyoh86/exportloopref v0.1.11 // indirect
|
github.com/lucasb-eyer/go-colorful v1.3.0 // indirect
|
||||||
github.com/lasiar/canonicalheader v1.1.1 // indirect
|
|
||||||
github.com/ldez/gomoddirectives v0.2.4 // indirect
|
|
||||||
github.com/ldez/tagliatelle v0.5.0 // indirect
|
|
||||||
github.com/leonklingele/grouper v1.1.2 // indirect
|
|
||||||
github.com/lib/pq v1.10.9 // indirect
|
|
||||||
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
|
|
||||||
github.com/lufeee/execinquery v1.2.1 // indirect
|
|
||||||
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
|
|
||||||
github.com/macabu/inamedparam v0.1.3 // indirect
|
|
||||||
github.com/magiconair/properties v1.8.6 // indirect
|
|
||||||
github.com/mailru/easyjson v0.7.7 // indirect
|
github.com/mailru/easyjson v0.7.7 // indirect
|
||||||
github.com/maratori/testableexamples v1.0.0 // indirect
|
|
||||||
github.com/maratori/testpackage v1.1.1 // indirect
|
|
||||||
github.com/matoous/godox v0.0.0-20230222163458-006bad1f9d26 // indirect
|
|
||||||
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
||||||
github.com/mattn/go-isatty v0.0.20 // indirect
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
||||||
github.com/mattn/go-localereader v0.0.1 // indirect
|
github.com/mattn/go-localereader v0.0.1 // indirect
|
||||||
github.com/mattn/go-runewidth v0.0.16 // indirect
|
github.com/mattn/go-runewidth v0.0.20 // indirect
|
||||||
github.com/mattn/go-shellwords v1.0.12 // indirect
|
github.com/mattn/go-shellwords v1.0.12 // indirect
|
||||||
github.com/mgechev/revive v1.3.7 // indirect
|
|
||||||
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
|
|
||||||
github.com/microcosm-cc/bluemonday v1.0.21 // indirect
|
|
||||||
github.com/mitchellh/copystructure v1.2.0 // indirect
|
github.com/mitchellh/copystructure v1.2.0 // indirect
|
||||||
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
||||||
github.com/mitchellh/go-ps v1.0.0 // indirect
|
github.com/mitchellh/go-ps v1.0.0 // indirect
|
||||||
@@ -308,7 +193,6 @@ require (
|
|||||||
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
||||||
github.com/moby/docker-image-spec v1.3.1 // indirect
|
github.com/moby/docker-image-spec v1.3.1 // indirect
|
||||||
github.com/moby/locker v1.0.1 // indirect
|
github.com/moby/locker v1.0.1 // indirect
|
||||||
github.com/moby/moby v28.3.3+incompatible // indirect
|
|
||||||
github.com/moby/spdystream v0.4.0 // indirect
|
github.com/moby/spdystream v0.4.0 // indirect
|
||||||
github.com/moby/sys/mountinfo v0.7.2 // indirect
|
github.com/moby/sys/mountinfo v0.7.2 // indirect
|
||||||
github.com/moby/sys/sequential v0.6.0 // indirect
|
github.com/moby/sys/sequential v0.6.0 // indirect
|
||||||
@@ -317,170 +201,104 @@ require (
|
|||||||
github.com/moby/sys/userns v0.1.0 // indirect
|
github.com/moby/sys/userns v0.1.0 // indirect
|
||||||
github.com/moby/term v0.5.2 // indirect
|
github.com/moby/term v0.5.2 // indirect
|
||||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||||
github.com/modern-go/reflect2 v1.0.2 // indirect
|
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
|
||||||
github.com/moricho/tparallel v0.3.1 // indirect
|
|
||||||
github.com/morikuni/aec v1.0.0 // indirect
|
github.com/morikuni/aec v1.0.0 // indirect
|
||||||
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
|
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
|
||||||
github.com/muesli/cancelreader v0.2.2 // indirect
|
github.com/muesli/cancelreader v0.2.2 // indirect
|
||||||
github.com/muesli/termenv v0.16.0 // indirect
|
github.com/muesli/termenv v0.16.0 // indirect
|
||||||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
||||||
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
|
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
|
||||||
github.com/nakabonne/nestif v0.3.1 // indirect
|
|
||||||
github.com/natefinch/atomic v1.0.1 // indirect
|
github.com/natefinch/atomic v1.0.1 // indirect
|
||||||
github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d // indirect
|
|
||||||
github.com/nishanths/exhaustive v0.12.0 // indirect
|
|
||||||
github.com/nishanths/predeclared v0.2.2 // indirect
|
|
||||||
github.com/nunnatsa/ginkgolinter v0.16.2 // indirect
|
|
||||||
github.com/nxadm/tail v1.4.11 // indirect
|
github.com/nxadm/tail v1.4.11 // indirect
|
||||||
github.com/olekukonko/tablewriter v0.0.5 // indirect
|
|
||||||
github.com/opencontainers/go-digest v1.0.0 // indirect
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
||||||
github.com/opencontainers/image-spec v1.1.0 // indirect
|
github.com/opencontainers/image-spec v1.1.0 // indirect
|
||||||
github.com/opentracing/basictracer-go v1.1.0 // indirect
|
github.com/opentracing/basictracer-go v1.1.0 // indirect
|
||||||
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
||||||
github.com/pelletier/go-toml v1.9.5 // indirect
|
github.com/pelletier/go-toml v1.9.5 // indirect
|
||||||
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
|
|
||||||
github.com/pgavlin/aho-corasick v0.5.1 // indirect
|
|
||||||
github.com/pgavlin/diff v0.0.0-20230503175810-113847418e2e // indirect
|
|
||||||
github.com/pgavlin/fx v0.1.6 // indirect
|
github.com/pgavlin/fx v0.1.6 // indirect
|
||||||
|
github.com/pgavlin/fx/v2 v2.0.10 // indirect
|
||||||
github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect
|
github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect
|
||||||
github.com/pgavlin/text v0.0.0-20240821195002-b51d0990e284 // indirect
|
|
||||||
github.com/pjbgf/sha1cd v0.3.2 // indirect
|
github.com/pjbgf/sha1cd v0.3.2 // indirect
|
||||||
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
||||||
github.com/pkg/errors v0.9.1 // indirect
|
github.com/pkg/errors v0.9.1 // indirect
|
||||||
github.com/pkg/term v1.1.0 // indirect
|
github.com/pkg/term v1.1.0 // indirect
|
||||||
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
|
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
|
||||||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
||||||
github.com/polyfloyd/go-errorlint v1.5.2 // indirect
|
|
||||||
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
|
|
||||||
github.com/prometheus/client_golang v1.20.5 // indirect
|
github.com/prometheus/client_golang v1.20.5 // indirect
|
||||||
github.com/prometheus/client_model v0.6.1 // indirect
|
github.com/prometheus/client_model v0.6.1 // indirect
|
||||||
github.com/prometheus/common v0.55.0 // indirect
|
github.com/prometheus/common v0.55.0 // indirect
|
||||||
github.com/prometheus/procfs v0.15.1 // indirect
|
github.com/prometheus/procfs v0.15.1 // indirect
|
||||||
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect
|
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect
|
||||||
github.com/pulumi/esc v0.17.0 // indirect
|
github.com/pulumi/esc v0.22.0 // indirect
|
||||||
github.com/pulumi/inflector v0.2.1 // indirect
|
github.com/pulumi/inflector v0.2.1 // indirect
|
||||||
github.com/quasilyte/go-ruleguard v0.4.2 // indirect
|
|
||||||
github.com/quasilyte/go-ruleguard/dsl v0.3.22 // indirect
|
|
||||||
github.com/quasilyte/gogrep v0.5.0 // indirect
|
|
||||||
github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect
|
|
||||||
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect
|
|
||||||
github.com/rivo/uniseg v0.4.7 // indirect
|
github.com/rivo/uniseg v0.4.7 // indirect
|
||||||
github.com/rogpeppe/go-internal v1.14.1 // indirect
|
github.com/rogpeppe/go-internal v1.14.1 // indirect
|
||||||
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
|
||||||
github.com/ryancurrah/gomodguard v1.3.2 // indirect
|
|
||||||
github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect
|
|
||||||
github.com/ryanuber/go-glob v1.0.0 // indirect
|
github.com/ryanuber/go-glob v1.0.0 // indirect
|
||||||
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect
|
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect
|
||||||
github.com/sanposhiho/wastedassign/v2 v2.0.7 // indirect
|
|
||||||
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
|
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
|
||||||
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
|
|
||||||
github.com/sashamelentyev/usestdlibvars v1.26.0 // indirect
|
|
||||||
github.com/secure-systems-lab/go-securesystemslib v0.4.0 // indirect
|
github.com/secure-systems-lab/go-securesystemslib v0.4.0 // indirect
|
||||||
github.com/securego/gosec/v2 v2.20.1-0.20240525090044-5f0084eb01a9 // indirect
|
|
||||||
github.com/segmentio/asm v1.2.0 // indirect
|
github.com/segmentio/asm v1.2.0 // indirect
|
||||||
github.com/segmentio/encoding v0.4.1 // indirect
|
github.com/segmentio/encoding v0.4.1 // indirect
|
||||||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
|
github.com/sergi/go-diff v1.4.0 // indirect
|
||||||
github.com/serialx/hashring v0.0.0-20200727003509-22c0c7ab6b1b // indirect
|
github.com/serialx/hashring v0.0.0-20200727003509-22c0c7ab6b1b // indirect
|
||||||
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c // indirect
|
|
||||||
github.com/shibumi/go-pathspec v1.3.0 // indirect
|
github.com/shibumi/go-pathspec v1.3.0 // indirect
|
||||||
github.com/shirou/gopsutil/v3 v3.24.5 // indirect
|
|
||||||
github.com/shoenig/go-m1cpu v0.1.6 // indirect
|
|
||||||
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 // indirect
|
|
||||||
github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546 // indirect
|
|
||||||
github.com/sivchari/containedctx v1.0.3 // indirect
|
|
||||||
github.com/sivchari/tenv v1.7.1 // indirect
|
|
||||||
github.com/skeema/knownhosts v1.3.1 // indirect
|
github.com/skeema/knownhosts v1.3.1 // indirect
|
||||||
github.com/sonatard/noctx v0.0.2 // indirect
|
|
||||||
github.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67 // indirect
|
|
||||||
github.com/sourcegraph/go-diff v0.7.0 // indirect
|
|
||||||
github.com/spf13/cast v1.5.0 // indirect
|
github.com/spf13/cast v1.5.0 // indirect
|
||||||
github.com/spf13/cobra v1.9.1 // indirect
|
github.com/spf13/cobra v1.10.2 // indirect
|
||||||
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
github.com/spf13/pflag v1.0.10 // indirect
|
||||||
github.com/spf13/pflag v1.0.6 // indirect
|
|
||||||
github.com/spf13/viper v1.12.0 // indirect
|
|
||||||
github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect
|
|
||||||
github.com/stbenjam/no-sprintf-host-port v0.1.1 // indirect
|
|
||||||
github.com/stretchr/objx v0.5.2 // indirect
|
|
||||||
github.com/subosito/gotenv v1.4.1 // indirect
|
|
||||||
github.com/t-yuki/gocover-cobertura v0.0.0-20180217150009-aaee18c8195c // indirect
|
|
||||||
github.com/tdakkota/asciicheck v0.2.0 // indirect
|
|
||||||
github.com/tetafro/godot v1.4.16 // indirect
|
|
||||||
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
|
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
|
||||||
github.com/timakin/bodyclose v0.0.0-20230421092635-574207250966 // indirect
|
|
||||||
github.com/timonwong/loggercheck v0.9.4 // indirect
|
|
||||||
github.com/tklauser/go-sysconf v0.3.12 // indirect
|
|
||||||
github.com/tklauser/numcpus v0.6.1 // indirect
|
|
||||||
github.com/tomarrell/wrapcheck/v2 v2.8.3 // indirect
|
|
||||||
github.com/tommy-muehle/go-mnd/v2 v2.5.1 // indirect
|
|
||||||
github.com/tonistiigi/dchapes-mode v0.0.0-20241001053921-ca0759fec205 // indirect
|
github.com/tonistiigi/dchapes-mode v0.0.0-20241001053921-ca0759fec205 // indirect
|
||||||
github.com/tonistiigi/jaeger-ui-rest v0.0.0-20250211190051-7d4944a45bb6 // indirect
|
github.com/tonistiigi/jaeger-ui-rest v0.0.0-20250211190051-7d4944a45bb6 // indirect
|
||||||
github.com/tonistiigi/units v0.0.0-20180711220420-6950e57a87ea // indirect
|
github.com/tonistiigi/units v0.0.0-20180711220420-6950e57a87ea // indirect
|
||||||
github.com/tonistiigi/vt100 v0.0.0-20240514184818-90bafcd6abab // indirect
|
github.com/tonistiigi/vt100 v0.0.0-20240514184818-90bafcd6abab // indirect
|
||||||
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
|
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
|
||||||
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
|
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
|
||||||
github.com/ulikunitz/xz v0.5.12 // indirect
|
github.com/ulikunitz/xz v0.5.15 // indirect
|
||||||
github.com/ultraware/funlen v0.1.0 // indirect
|
|
||||||
github.com/ultraware/whitespace v0.1.1 // indirect
|
|
||||||
github.com/uudashr/gocognit v1.1.2 // indirect
|
|
||||||
github.com/x448/float16 v0.8.4 // indirect
|
github.com/x448/float16 v0.8.4 // indirect
|
||||||
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
||||||
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
|
||||||
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
||||||
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
||||||
github.com/xen0n/gosmopolitan v1.2.2 // indirect
|
|
||||||
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
||||||
github.com/yagipy/maintidx v1.0.0 // indirect
|
github.com/zclconf/go-cty v1.17.0 // indirect
|
||||||
github.com/yeya24/promlinter v0.3.0 // indirect
|
|
||||||
github.com/ykadowak/zerologlint v0.1.5 // indirect
|
|
||||||
github.com/yuin/goldmark v1.5.2 // indirect
|
|
||||||
github.com/yuin/goldmark-emoji v1.0.1 // indirect
|
|
||||||
github.com/yusufpapurcu/wmi v1.2.4 // indirect
|
|
||||||
github.com/zclconf/go-cty v1.16.3 // indirect
|
|
||||||
gitlab.com/bosi/decorder v0.4.2 // indirect
|
|
||||||
go-simpler.org/musttag v0.12.2 // indirect
|
|
||||||
go-simpler.org/sloglint v0.7.1 // indirect
|
|
||||||
go.opencensus.io v0.24.0 // indirect
|
go.opencensus.io v0.24.0 // indirect
|
||||||
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
|
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
|
||||||
|
go.opentelemetry.io/collector/featuregate v1.52.0 // indirect
|
||||||
|
go.opentelemetry.io/collector/pdata v1.52.0 // indirect
|
||||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.56.0 // indirect
|
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.56.0 // indirect
|
||||||
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.56.0 // indirect
|
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.56.0 // indirect
|
||||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0 // indirect
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0 // indirect
|
||||||
go.opentelemetry.io/otel v1.36.0 // indirect
|
go.opentelemetry.io/otel v1.40.0 // indirect
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.31.0 // indirect
|
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.31.0 // indirect
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.31.0 // indirect
|
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.31.0 // indirect
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.36.0 // indirect
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.40.0 // indirect
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.36.0 // indirect
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.40.0 // indirect
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.31.0 // indirect
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.31.0 // indirect
|
||||||
go.opentelemetry.io/otel/sdk/metric v1.34.0 // indirect
|
go.opentelemetry.io/otel/sdk/metric v1.40.0 // indirect
|
||||||
go.opentelemetry.io/proto/otlp v1.6.0 // indirect
|
go.opentelemetry.io/proto/otlp v1.9.0 // indirect
|
||||||
go.pennock.tech/tabular v1.1.3 // indirect
|
|
||||||
go.uber.org/atomic v1.11.0 // indirect
|
go.uber.org/atomic v1.11.0 // indirect
|
||||||
go.uber.org/automaxprocs v1.6.0 // indirect
|
|
||||||
go.uber.org/multierr v1.11.0 // indirect
|
go.uber.org/multierr v1.11.0 // indirect
|
||||||
go.uber.org/zap v1.27.0 // indirect
|
|
||||||
gocloud.dev v0.37.0 // indirect
|
gocloud.dev v0.37.0 // indirect
|
||||||
gocloud.dev/secrets/hashivault v0.37.0 // indirect
|
gocloud.dev/secrets/hashivault v0.37.0 // indirect
|
||||||
golang.org/x/exp/typeparams v0.0.0-20240314144324-c7f7c6466f7f // indirect
|
golang.org/x/mod v0.32.0 // indirect
|
||||||
golang.org/x/mod v0.25.0 // indirect
|
golang.org/x/net v0.51.0 // indirect
|
||||||
golang.org/x/net v0.40.0 // indirect
|
golang.org/x/oauth2 v0.35.0 // indirect
|
||||||
golang.org/x/oauth2 v0.30.0 // indirect
|
golang.org/x/sync v0.19.0 // indirect
|
||||||
golang.org/x/sync v0.15.0 // indirect
|
golang.org/x/sys v0.41.0 // indirect
|
||||||
golang.org/x/sys v0.33.0 // indirect
|
golang.org/x/term v0.40.0 // indirect
|
||||||
golang.org/x/term v0.32.0 // indirect
|
golang.org/x/text v0.34.0 // indirect
|
||||||
golang.org/x/text v0.26.0 // indirect
|
golang.org/x/time v0.12.0 // indirect
|
||||||
golang.org/x/time v0.6.0 // indirect
|
golang.org/x/tools v0.41.0 // indirect
|
||||||
golang.org/x/tools v0.33.0 // indirect
|
|
||||||
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
|
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
|
||||||
google.golang.org/api v0.169.0 // indirect
|
google.golang.org/api v0.169.0 // indirect
|
||||||
google.golang.org/genproto v0.0.0-20240311173647-c811ad7063a7 // indirect
|
google.golang.org/genproto v0.0.0-20240311173647-c811ad7063a7 // indirect
|
||||||
google.golang.org/genproto/googleapis/api v0.0.0-20250519155744-55703ea1f237 // indirect
|
google.golang.org/genproto/googleapis/api v0.0.0-20260223185530-2f722ef697dc // indirect
|
||||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20250519155744-55703ea1f237 // indirect
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20260223185530-2f722ef697dc // indirect
|
||||||
google.golang.org/grpc v1.72.1 // indirect
|
google.golang.org/grpc v1.79.1 // indirect
|
||||||
gopkg.in/inf.v0 v0.9.1 // indirect
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
||||||
gopkg.in/ini.v1 v1.67.0 // indirect
|
|
||||||
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
|
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
|
||||||
gopkg.in/warnings.v0 v0.1.2 // indirect
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
||||||
gopkg.in/yaml.v2 v2.4.0 // indirect
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||||
honnef.co/go/tools v0.4.7 // indirect
|
|
||||||
k8s.io/api v0.31.2 // indirect
|
k8s.io/api v0.31.2 // indirect
|
||||||
k8s.io/apimachinery v0.31.2 // indirect
|
k8s.io/apimachinery v0.31.2 // indirect
|
||||||
k8s.io/client-go v0.31.2 // indirect
|
k8s.io/client-go v0.31.2 // indirect
|
||||||
@@ -489,7 +307,6 @@ require (
|
|||||||
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
|
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
|
||||||
lukechampine.com/frand v1.5.1 // indirect
|
lukechampine.com/frand v1.5.1 // indirect
|
||||||
mvdan.cc/gofumpt v0.6.0 // indirect
|
mvdan.cc/gofumpt v0.6.0 // indirect
|
||||||
mvdan.cc/unparam v0.0.0-20240528143540-8a5130ca722f // indirect
|
|
||||||
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
|
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
|
||||||
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
|
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
|
||||||
sigs.k8s.io/yaml v1.4.0 // indirect
|
sigs.k8s.io/yaml v1.4.0 // indirect
|
||||||
|
|||||||
@@ -16,8 +16,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/pulumi/pulumi-docker-build/provider"
|
|
||||||
"github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil"
|
"github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil"
|
||||||
|
|
||||||
|
"github.com/pulumi/pulumi-docker-build/provider"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -12,9 +12,6 @@
|
|||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"repository": "https://github.com/pulumi/pulumi-docker-build",
|
"repository": "https://github.com/pulumi/pulumi-docker-build",
|
||||||
"publisher": "Pulumi",
|
"publisher": "Pulumi",
|
||||||
"meta": {
|
|
||||||
"moduleFormat": "(.*)"
|
|
||||||
},
|
|
||||||
"language": {
|
"language": {
|
||||||
"csharp": {
|
"csharp": {
|
||||||
"packageReferences": {
|
"packageReferences": {
|
||||||
@@ -264,8 +261,8 @@
|
|||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"bucket",
|
"region",
|
||||||
"region"
|
"bucket"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"docker-build:index:CacheMode": {
|
"docker-build:index:CacheMode": {
|
||||||
@@ -539,8 +536,8 @@
|
|||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"bucket",
|
"region",
|
||||||
"region"
|
"bucket"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"docker-build:index:CompressionType": {
|
"docker-build:index:CompressionType": {
|
||||||
@@ -1044,9 +1041,14 @@
|
|||||||
"DOCKER_HOST"
|
"DOCKER_HOST"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"registries": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/types/docker-build:index:Registry"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "object",
|
|
||||||
"inputProperties": {
|
"inputProperties": {
|
||||||
"host": {
|
"host": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -1206,11 +1208,10 @@
|
|||||||
"description": "Set the target build stage(s) to build.\n\nIf not specified all targets will be built by default.\n\nEquivalent to Docker's `--target` flag."
|
"description": "Set the target build stage(s) to build.\n\nIf not specified all targets will be built by default.\n\nEquivalent to Docker's `--target` flag."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "object",
|
|
||||||
"required": [
|
"required": [
|
||||||
"contextHash",
|
|
||||||
"digest",
|
|
||||||
"push",
|
"push",
|
||||||
|
"digest",
|
||||||
|
"contextHash",
|
||||||
"ref"
|
"ref"
|
||||||
],
|
],
|
||||||
"inputProperties": {
|
"inputProperties": {
|
||||||
@@ -1370,11 +1371,10 @@
|
|||||||
"description": "The tag to apply to the index."
|
"description": "The tag to apply to the index."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "object",
|
|
||||||
"required": [
|
"required": [
|
||||||
"ref",
|
"tag",
|
||||||
"sources",
|
"sources",
|
||||||
"tag"
|
"ref"
|
||||||
],
|
],
|
||||||
"inputProperties": {
|
"inputProperties": {
|
||||||
"push": {
|
"push": {
|
||||||
@@ -1399,8 +1399,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"requiredInputs": [
|
"requiredInputs": [
|
||||||
"sources",
|
"tag",
|
||||||
"tag"
|
"sources"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -448,7 +448,7 @@ func (c CacheFrom) String() string {
|
|||||||
return join(c.Local, c.Registry, c.GHA, c.AZBlob, c.S3, c.Raw)
|
return join(c.Local, c.Registry, c.GHA, c.AZBlob, c.S3, c.Raw)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c CacheFrom) validate(preview bool) (*controllerapi.CacheOptionsEntry, error) {
|
func (c CacheFrom) validate(_ bool) (*controllerapi.CacheOptionsEntry, error) {
|
||||||
if strings.Count(c.String(), "type=") > 1 {
|
if strings.Count(c.String(), "type=") > 1 {
|
||||||
return nil, errors.New("cacheFrom should only specify one cache type")
|
return nil, errors.New("cacheFrom should only specify one cache type")
|
||||||
}
|
}
|
||||||
@@ -672,7 +672,7 @@ func (c CacheTo) String() string {
|
|||||||
return join(c.Inline, c.Local, c.Registry, c.GHA, c.AZBlob, c.S3, c.Raw)
|
return join(c.Inline, c.Local, c.Registry, c.GHA, c.AZBlob, c.S3, c.Raw)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c CacheTo) validate(preview bool) (*controllerapi.CacheOptionsEntry, error) {
|
func (c CacheTo) validate(_ bool) (*controllerapi.CacheOptionsEntry, error) {
|
||||||
if strings.Count(c.String(), "type=") > 1 {
|
if strings.Count(c.String(), "type=") > 1 {
|
||||||
return nil, errors.New("cacheTo should only specify one cache type")
|
return nil, errors.New("cacheTo should only specify one cache type")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ func hashFile(
|
|||||||
if fileMode.IsDir() {
|
if fileMode.IsDir() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if !(fileMode.IsRegular() || fileMode.Type() == os.ModeSymlink) {
|
if !fileMode.IsRegular() && fileMode.Type() != os.ModeSymlink {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,10 @@ import (
|
|||||||
"github.com/pulumi/pulumi-go-provider/infer"
|
"github.com/pulumi/pulumi-go-provider/infer"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
trueLiteral = "true"
|
||||||
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
_ fmt.Stringer = (*Export)(nil)
|
_ fmt.Stringer = (*Export)(nil)
|
||||||
_ fmt.Stringer = (*ExportDocker)(nil)
|
_ fmt.Stringer = (*ExportDocker)(nil)
|
||||||
@@ -114,7 +118,7 @@ func (e Export) pushed() bool {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return exp[0].Attrs["push"] == "true"
|
return exp[0].Attrs["push"] == trueLiteral
|
||||||
}
|
}
|
||||||
if e.Registry != nil {
|
if e.Registry != nil {
|
||||||
return e.Registry.Push == nil || *e.Registry.Push
|
return e.Registry.Push == nil || *e.Registry.Push
|
||||||
@@ -182,7 +186,7 @@ func parseExports(inp []string) ([]*controllerapi.ExportEntry, error) {
|
|||||||
if out.Type == "registry" {
|
if out.Type == "registry" {
|
||||||
out.Type = client.ExporterImage
|
out.Type = client.ExporterImage
|
||||||
if _, ok := out.Attrs["push"]; !ok {
|
if _, ok := out.Attrs["push"]; !ok {
|
||||||
out.Attrs["push"] = "true"
|
out.Attrs["push"] = trueLiteral
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ type host struct {
|
|||||||
supportsMultipleExports bool
|
supportsMultipleExports bool
|
||||||
}
|
}
|
||||||
|
|
||||||
func newHost(ctx context.Context, config *Config) (*host, error) {
|
func newHost(_ context.Context, config *Config) (*host, error) {
|
||||||
docker, err := newDockerCLI(config)
|
docker, err := newDockerCLI(config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -98,13 +98,13 @@ func (h *host) builderFor(ctx context.Context, build Build) (*cachedBuilder, err
|
|||||||
if err != nil && build.ShouldExec() && strings.HasPrefix(opts.Builder, "cloud-") {
|
if err != nil && build.ShouldExec() && strings.HasPrefix(opts.Builder, "cloud-") {
|
||||||
//nolint:revive // Human-readable.
|
//nolint:revive // Human-readable.
|
||||||
err = errors.Join(err,
|
err = errors.Join(err,
|
||||||
errors.New("Make sure you're logged in to Docker (`docker login`) if you're trying to use a cloud builder."),
|
errors.New("Make sure you're logged in to Docker (`docker login`) if you're trying to use a cloud builder"), //nolint:lll,staticcheck
|
||||||
errors.New("Make sure you have the correct buildx plugin installed (https://github.com/docker/buildx-desktop)."),
|
errors.New("Make sure you have the correct buildx plugin installed (https://github.com/docker/buildx-desktop)"), //nolint:lll,staticcheck
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if err != nil && build.ShouldExec() {
|
if err != nil && build.ShouldExec() {
|
||||||
//nolint:revive // Human-readable.
|
//nolint:revive // Human-readable.
|
||||||
err = errors.Join(err, errors.New(
|
err = errors.Join(err, errors.New( //nolint:staticcheck
|
||||||
"Make sure your buildx plugin is executable (`docker buildx version`)"),
|
"Make sure your buildx plugin is executable (`docker buildx version`)"),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -176,8 +176,8 @@ func (h *host) builderFor(ctx context.Context, build Build) (*cachedBuilder, err
|
|||||||
if err != nil && !build.ShouldExec() {
|
if err != nil && !build.ShouldExec() {
|
||||||
if strings.Contains(err.Error(), "failed to find driver") {
|
if strings.Contains(err.Error(), "failed to find driver") {
|
||||||
//nolint:revive // Human-readable.
|
//nolint:revive // Human-readable.
|
||||||
err = errors.Join(err, errors.New(
|
err = errors.Join(err, errors.New( //nolint:staticcheck
|
||||||
"Use `exec: true` if you're trying to use Docker Build Cloud or other custom drivers.",
|
"Use `exec: true` if you're trying to use Docker Build Cloud or other custom drivers",
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
return nil, fmt.Errorf("loading nodes: %w", err)
|
return nil, fmt.Errorf("loading nodes: %w", err)
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ func TestImageLifecycle(t *testing.T) {
|
|||||||
Return(nil)
|
Return(nil)
|
||||||
return c
|
return c
|
||||||
},
|
},
|
||||||
op: func(t *testing.T) integration.Operation {
|
op: func(_ *testing.T) integration.Operation {
|
||||||
return integration.Operation{
|
return integration.Operation{
|
||||||
Inputs: property.NewMap(map[string]property.Value{
|
Inputs: property.NewMap(map[string]property.Value{
|
||||||
"push": property.New(false),
|
"push": property.New(false),
|
||||||
@@ -130,7 +130,7 @@ func TestImageLifecycle(t *testing.T) {
|
|||||||
{
|
{
|
||||||
name: "tags are required when pushing",
|
name: "tags are required when pushing",
|
||||||
client: noClient,
|
client: noClient,
|
||||||
op: func(t *testing.T) integration.Operation {
|
op: func(_ *testing.T) integration.Operation {
|
||||||
return integration.Operation{
|
return integration.Operation{
|
||||||
Inputs: property.NewMap(map[string]property.Value{
|
Inputs: property.NewMap(map[string]property.Value{
|
||||||
"push": property.New(false),
|
"push": property.New(false),
|
||||||
@@ -159,7 +159,7 @@ func TestImageLifecycle(t *testing.T) {
|
|||||||
{
|
{
|
||||||
name: "invalid exports",
|
name: "invalid exports",
|
||||||
client: noClient,
|
client: noClient,
|
||||||
op: func(t *testing.T) integration.Operation {
|
op: func(_ *testing.T) integration.Operation {
|
||||||
return integration.Operation{
|
return integration.Operation{
|
||||||
Inputs: property.NewMap(map[string]property.Value{
|
Inputs: property.NewMap(map[string]property.Value{
|
||||||
"push": property.New(false),
|
"push": property.New(false),
|
||||||
@@ -192,7 +192,7 @@ func TestImageLifecycle(t *testing.T) {
|
|||||||
)
|
)
|
||||||
return c
|
return c
|
||||||
},
|
},
|
||||||
op: func(t *testing.T) integration.Operation {
|
op: func(_ *testing.T) integration.Operation {
|
||||||
return integration.Operation{
|
return integration.Operation{
|
||||||
Inputs: property.NewMap(map[string]property.Value{
|
Inputs: property.NewMap(map[string]property.Value{
|
||||||
"push": property.New(false),
|
"push": property.New(false),
|
||||||
@@ -219,7 +219,7 @@ func TestImageLifecycle(t *testing.T) {
|
|||||||
)
|
)
|
||||||
return c
|
return c
|
||||||
},
|
},
|
||||||
op: func(t *testing.T) integration.Operation {
|
op: func(_ *testing.T) integration.Operation {
|
||||||
return integration.Operation{
|
return integration.Operation{
|
||||||
Inputs: property.NewMap(map[string]property.Value{
|
Inputs: property.NewMap(map[string]property.Value{
|
||||||
"push": property.New(false),
|
"push": property.New(false),
|
||||||
@@ -252,7 +252,7 @@ func TestImageLifecycle(t *testing.T) {
|
|||||||
c.EXPECT().Delete(gomock.Any(), "default-dockerfile").Return(nil)
|
c.EXPECT().Delete(gomock.Any(), "default-dockerfile").Return(nil)
|
||||||
return c
|
return c
|
||||||
},
|
},
|
||||||
op: func(t *testing.T) integration.Operation {
|
op: func(_ *testing.T) integration.Operation {
|
||||||
return integration.Operation{
|
return integration.Operation{
|
||||||
Inputs: property.NewMap(map[string]property.Value{
|
Inputs: property.NewMap(map[string]property.Value{
|
||||||
"push": property.New(false),
|
"push": property.New(false),
|
||||||
@@ -294,7 +294,7 @@ func TestImageLifecycle(t *testing.T) {
|
|||||||
c.EXPECT().Delete(gomock.Any(), "inline-dockerfile").Return(nil)
|
c.EXPECT().Delete(gomock.Any(), "inline-dockerfile").Return(nil)
|
||||||
return c
|
return c
|
||||||
},
|
},
|
||||||
op: func(t *testing.T) integration.Operation {
|
op: func(_ *testing.T) integration.Operation {
|
||||||
return integration.Operation{
|
return integration.Operation{
|
||||||
Inputs: property.NewMap(map[string]property.Value{
|
Inputs: property.NewMap(map[string]property.Value{
|
||||||
"push": property.New(false),
|
"push": property.New(false),
|
||||||
@@ -459,7 +459,7 @@ func TestImageDiff(t *testing.T) {
|
|||||||
is.Pull = true
|
is.Pull = true
|
||||||
return is
|
return is
|
||||||
},
|
},
|
||||||
inputs: func(t *testing.T, ia ImageArgs) ImageArgs {
|
inputs: func(_ *testing.T, ia ImageArgs) ImageArgs {
|
||||||
ia.Pull = true
|
ia.Pull = true
|
||||||
return ia
|
return ia
|
||||||
},
|
},
|
||||||
@@ -472,7 +472,7 @@ func TestImageDiff(t *testing.T) {
|
|||||||
is.Load = true
|
is.Load = true
|
||||||
return is
|
return is
|
||||||
},
|
},
|
||||||
inputs: func(t *testing.T, ia ImageArgs) ImageArgs {
|
inputs: func(_ *testing.T, ia ImageArgs) ImageArgs {
|
||||||
ia.Pull = true
|
ia.Pull = true
|
||||||
ia.Load = true
|
ia.Load = true
|
||||||
return ia
|
return ia
|
||||||
@@ -534,7 +534,7 @@ func TestImageDiff(t *testing.T) {
|
|||||||
{
|
{
|
||||||
name: "diff if pull changes",
|
name: "diff if pull changes",
|
||||||
state: func(*testing.T, ImageState) ImageState { return baseState },
|
state: func(*testing.T, ImageState) ImageState { return baseState },
|
||||||
inputs: func(t *testing.T, ia ImageArgs) ImageArgs {
|
inputs: func(_ *testing.T, ia ImageArgs) ImageArgs {
|
||||||
ia.Pull = true
|
ia.Pull = true
|
||||||
return ia
|
return ia
|
||||||
},
|
},
|
||||||
@@ -543,7 +543,7 @@ func TestImageDiff(t *testing.T) {
|
|||||||
{
|
{
|
||||||
name: "diff if load changes",
|
name: "diff if load changes",
|
||||||
state: func(*testing.T, ImageState) ImageState { return baseState },
|
state: func(*testing.T, ImageState) ImageState { return baseState },
|
||||||
inputs: func(t *testing.T, ia ImageArgs) ImageArgs {
|
inputs: func(_ *testing.T, ia ImageArgs) ImageArgs {
|
||||||
ia.Load = true
|
ia.Load = true
|
||||||
return ia
|
return ia
|
||||||
},
|
},
|
||||||
@@ -552,7 +552,7 @@ func TestImageDiff(t *testing.T) {
|
|||||||
{
|
{
|
||||||
name: "diff if push changes",
|
name: "diff if push changes",
|
||||||
state: func(*testing.T, ImageState) ImageState { return baseState },
|
state: func(*testing.T, ImageState) ImageState { return baseState },
|
||||||
inputs: func(t *testing.T, ia ImageArgs) ImageArgs {
|
inputs: func(_ *testing.T, ia ImageArgs) ImageArgs {
|
||||||
ia.Push = true
|
ia.Push = true
|
||||||
return ia
|
return ia
|
||||||
},
|
},
|
||||||
@@ -561,7 +561,7 @@ func TestImageDiff(t *testing.T) {
|
|||||||
{
|
{
|
||||||
name: "diff if buildOnPreview doesn't change",
|
name: "diff if buildOnPreview doesn't change",
|
||||||
state: func(*testing.T, ImageState) ImageState { return baseState },
|
state: func(*testing.T, ImageState) ImageState { return baseState },
|
||||||
inputs: func(t *testing.T, ia ImageArgs) ImageArgs {
|
inputs: func(_ *testing.T, ia ImageArgs) ImageArgs {
|
||||||
val := true
|
val := true
|
||||||
ia.BuildOnPreview = &val
|
ia.BuildOnPreview = &val
|
||||||
return ia
|
return ia
|
||||||
@@ -571,7 +571,7 @@ func TestImageDiff(t *testing.T) {
|
|||||||
{
|
{
|
||||||
name: "diff if buildOnPreview changes",
|
name: "diff if buildOnPreview changes",
|
||||||
state: func(*testing.T, ImageState) ImageState { return baseState },
|
state: func(*testing.T, ImageState) ImageState { return baseState },
|
||||||
inputs: func(t *testing.T, ia ImageArgs) ImageArgs {
|
inputs: func(_ *testing.T, ia ImageArgs) ImageArgs {
|
||||||
val := false
|
val := false
|
||||||
ia.BuildOnPreview = &val
|
ia.BuildOnPreview = &val
|
||||||
return ia
|
return ia
|
||||||
@@ -581,7 +581,7 @@ func TestImageDiff(t *testing.T) {
|
|||||||
{
|
{
|
||||||
name: "diff if ssh changes",
|
name: "diff if ssh changes",
|
||||||
state: func(*testing.T, ImageState) ImageState { return baseState },
|
state: func(*testing.T, ImageState) ImageState { return baseState },
|
||||||
inputs: func(t *testing.T, ia ImageArgs) ImageArgs {
|
inputs: func(_ *testing.T, ia ImageArgs) ImageArgs {
|
||||||
ia.SSH = []SSH{{ID: "default"}}
|
ia.SSH = []SSH{{ID: "default"}}
|
||||||
return ia
|
return ia
|
||||||
},
|
},
|
||||||
@@ -590,7 +590,7 @@ func TestImageDiff(t *testing.T) {
|
|||||||
{
|
{
|
||||||
name: "diff if hosts change",
|
name: "diff if hosts change",
|
||||||
state: func(*testing.T, ImageState) ImageState { return baseState },
|
state: func(*testing.T, ImageState) ImageState { return baseState },
|
||||||
inputs: func(t *testing.T, ia ImageArgs) ImageArgs {
|
inputs: func(_ *testing.T, ia ImageArgs) ImageArgs {
|
||||||
ia.AddHosts = []string{"localhost"}
|
ia.AddHosts = []string{"localhost"}
|
||||||
return ia
|
return ia
|
||||||
},
|
},
|
||||||
@@ -751,7 +751,7 @@ func TestImageDiff(t *testing.T) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "diff if local export doesn't exist",
|
name: "diff if local export doesn't exist",
|
||||||
state: func(t *testing.T, state ImageState) ImageState {
|
state: func(_ *testing.T, state ImageState) ImageState {
|
||||||
state.Exports = []Export{
|
state.Exports = []Export{
|
||||||
{Local: &ExportLocal{Dest: "not-real"}},
|
{Local: &ExportLocal{Dest: "not-real"}},
|
||||||
}
|
}
|
||||||
@@ -767,7 +767,7 @@ func TestImageDiff(t *testing.T) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "diff if tar export doesn't exist",
|
name: "diff if tar export doesn't exist",
|
||||||
state: func(t *testing.T, state ImageState) ImageState {
|
state: func(_ *testing.T, state ImageState) ImageState {
|
||||||
state.Exports = []Export{
|
state.Exports = []Export{
|
||||||
{Tar: &ExportTar{ExportLocal: ExportLocal{Dest: "not-real"}}},
|
{Tar: &ExportTar{ExportLocal: ExportLocal{Dest: "not-real"}}},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import (
|
|||||||
|
|
||||||
func TestIndexLifecycle(t *testing.T) {
|
func TestIndexLifecycle(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
realClient := func(t *testing.T) clientF { return RealClientF }
|
realClient := func(_ *testing.T) clientF { return RealClientF }
|
||||||
|
|
||||||
tests := []struct {
|
tests := []struct {
|
||||||
name string
|
name string
|
||||||
@@ -44,7 +44,7 @@ func TestIndexLifecycle(t *testing.T) {
|
|||||||
{
|
{
|
||||||
name: "not pushed",
|
name: "not pushed",
|
||||||
client: realClient,
|
client: realClient,
|
||||||
op: func(t *testing.T) integration.Operation {
|
op: func(_ *testing.T) integration.Operation {
|
||||||
return integration.Operation{
|
return integration.Operation{
|
||||||
Inputs: property.NewMap(map[string]property.Value{
|
Inputs: property.NewMap(map[string]property.Value{
|
||||||
"tag": property.New(
|
"tag": property.New(
|
||||||
@@ -63,7 +63,7 @@ func TestIndexLifecycle(t *testing.T) {
|
|||||||
name: "pushed",
|
name: "pushed",
|
||||||
skip: os.Getenv("DOCKER_HUB_PASSWORD") == "",
|
skip: os.Getenv("DOCKER_HUB_PASSWORD") == "",
|
||||||
client: realClient,
|
client: realClient,
|
||||||
op: func(t *testing.T) integration.Operation {
|
op: func(_ *testing.T) integration.Operation {
|
||||||
return integration.Operation{
|
return integration.Operation{
|
||||||
Inputs: property.NewMap(map[string]property.Value{
|
Inputs: property.NewMap(map[string]property.Value{
|
||||||
"tag": property.New(
|
"tag": property.New(
|
||||||
@@ -85,7 +85,7 @@ func TestIndexLifecycle(t *testing.T) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "expired credentials",
|
name: "expired credentials",
|
||||||
client: func(t *testing.T) clientF {
|
client: func(_ *testing.T) clientF {
|
||||||
ctrl := gomock.NewController(t)
|
ctrl := gomock.NewController(t)
|
||||||
c := NewMockClient(ctrl)
|
c := NewMockClient(ctrl)
|
||||||
c.EXPECT().ManifestCreate(gomock.Any(), true, gomock.Any(), gomock.Any())
|
c.EXPECT().ManifestCreate(gomock.Any(), true, gomock.Any(), gomock.Any())
|
||||||
@@ -93,7 +93,7 @@ func TestIndexLifecycle(t *testing.T) {
|
|||||||
c.EXPECT().ManifestDelete(gomock.Any(), gomock.Any()).Return(nil)
|
c.EXPECT().ManifestDelete(gomock.Any(), gomock.Any()).Return(nil)
|
||||||
return mockClientF(c)
|
return mockClientF(c)
|
||||||
},
|
},
|
||||||
op: func(t *testing.T) integration.Operation {
|
op: func(_ *testing.T) integration.Operation {
|
||||||
return integration.Operation{
|
return integration.Operation{
|
||||||
Inputs: property.NewMap(map[string]property.Value{
|
Inputs: property.NewMap(map[string]property.Value{
|
||||||
"tag": property.New(
|
"tag": property.New(
|
||||||
@@ -157,7 +157,7 @@ func TestIndexDiff(t *testing.T) {
|
|||||||
{
|
{
|
||||||
name: "diff if tag changes",
|
name: "diff if tag changes",
|
||||||
state: func(*testing.T, IndexState) IndexState { return baseState },
|
state: func(*testing.T, IndexState) IndexState { return baseState },
|
||||||
inputs: func(t *testing.T, a IndexArgs) IndexArgs {
|
inputs: func(_ *testing.T, a IndexArgs) IndexArgs {
|
||||||
a.Tag = "new-tag"
|
a.Tag = "new-tag"
|
||||||
return a
|
return a
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -18,11 +18,11 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
|
csgen "github.com/pulumi/pulumi-dotnet/pulumi-language-dotnet/v3/codegen"
|
||||||
provider "github.com/pulumi/pulumi-go-provider"
|
provider "github.com/pulumi/pulumi-go-provider"
|
||||||
"github.com/pulumi/pulumi-go-provider/infer"
|
"github.com/pulumi/pulumi-go-provider/infer"
|
||||||
pschema "github.com/pulumi/pulumi-go-provider/middleware/schema"
|
pschema "github.com/pulumi/pulumi-go-provider/middleware/schema"
|
||||||
"github.com/pulumi/pulumi-java/pkg/codegen/java"
|
"github.com/pulumi/pulumi-java/pkg/codegen/java"
|
||||||
csgen "github.com/pulumi/pulumi/pkg/v3/codegen/dotnet"
|
|
||||||
gogen "github.com/pulumi/pulumi/pkg/v3/codegen/go"
|
gogen "github.com/pulumi/pulumi/pkg/v3/codegen/go"
|
||||||
tsgen "github.com/pulumi/pulumi/pkg/v3/codegen/nodejs"
|
tsgen "github.com/pulumi/pulumi/pkg/v3/codegen/nodejs"
|
||||||
pygen "github.com/pulumi/pulumi/pkg/v3/codegen/python"
|
pygen "github.com/pulumi/pulumi/pkg/v3/codegen/python"
|
||||||
|
|||||||
@@ -15,10 +15,11 @@
|
|||||||
package provider
|
package provider
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/pulumi/pulumi-docker-build/provider/internal"
|
|
||||||
gp "github.com/pulumi/pulumi-go-provider"
|
gp "github.com/pulumi/pulumi-go-provider"
|
||||||
"github.com/pulumi/pulumi/pkg/v3/resource/provider"
|
"github.com/pulumi/pulumi/pkg/v3/resource/provider"
|
||||||
rpc "github.com/pulumi/pulumi/sdk/v3/proto/go"
|
rpc "github.com/pulumi/pulumi/sdk/v3/proto/go"
|
||||||
|
|
||||||
|
"github.com/pulumi/pulumi-docker-build/provider/internal"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Version is initialized by the Go linker to contain the semver of this build.
|
// Version is initialized by the Go linker to contain the semver of this build.
|
||||||
|
|||||||
1
sdk/dotnet/.gitattributes
generated
vendored
Normal file
1
sdk/dotnet/.gitattributes
generated
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
* linguist-generated
|
||||||
2
sdk/dotnet/.gitignore
generated
vendored
Normal file
2
sdk/dotnet/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
bin
|
||||||
|
obj
|
||||||
1
sdk/go/.gitattributes
generated
vendored
Normal file
1
sdk/go/.gitattributes
generated
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
* linguist-generated
|
||||||
93
sdk/go/dockerbuild/go.mod
generated
93
sdk/go/dockerbuild/go.mod
generated
@@ -1,30 +1,33 @@
|
|||||||
module github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild
|
module github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild
|
||||||
|
|
||||||
go 1.24.1
|
go 1.25.0
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/blang/semver v3.5.1+incompatible
|
github.com/blang/semver v3.5.1+incompatible
|
||||||
github.com/pulumi/pulumi/sdk/v3 v3.192.0
|
github.com/pulumi/pulumi/sdk/v3 v3.224.0
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
dario.cat/mergo v1.0.1 // indirect
|
dario.cat/mergo v1.0.1 // indirect
|
||||||
github.com/BurntSushi/toml v1.5.0 // indirect
|
|
||||||
github.com/Microsoft/go-winio v0.6.2 // indirect
|
github.com/Microsoft/go-winio v0.6.2 // indirect
|
||||||
github.com/ProtonMail/go-crypto v1.2.0 // indirect
|
github.com/ProtonMail/go-crypto v1.2.0 // indirect
|
||||||
github.com/agext/levenshtein v1.2.3 // indirect
|
github.com/agext/levenshtein v1.2.3 // indirect
|
||||||
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
|
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
|
||||||
github.com/atotto/clipboard v0.1.4 // indirect
|
github.com/atotto/clipboard v0.1.4 // indirect
|
||||||
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
||||||
github.com/charmbracelet/bubbles v0.21.0 // indirect
|
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
|
||||||
github.com/charmbracelet/bubbletea v1.3.4 // indirect
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
||||||
github.com/charmbracelet/colorprofile v0.3.0 // indirect
|
github.com/charmbracelet/bubbles v1.0.0 // indirect
|
||||||
|
github.com/charmbracelet/bubbletea v1.3.10 // indirect
|
||||||
|
github.com/charmbracelet/colorprofile v0.4.2 // indirect
|
||||||
github.com/charmbracelet/lipgloss v1.1.0 // indirect
|
github.com/charmbracelet/lipgloss v1.1.0 // indirect
|
||||||
github.com/charmbracelet/x/ansi v0.8.0 // indirect
|
github.com/charmbracelet/x/ansi v0.11.6 // indirect
|
||||||
github.com/charmbracelet/x/cellbuf v0.0.13 // indirect
|
github.com/charmbracelet/x/cellbuf v0.0.15 // indirect
|
||||||
github.com/charmbracelet/x/term v0.2.1 // indirect
|
github.com/charmbracelet/x/term v0.2.2 // indirect
|
||||||
github.com/cheggaaa/pb v1.0.29 // indirect
|
github.com/cheggaaa/pb v1.0.29 // indirect
|
||||||
github.com/cloudflare/circl v1.6.1 // indirect
|
github.com/clipperhouse/displaywidth v0.11.0 // indirect
|
||||||
|
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
|
||||||
|
github.com/cloudflare/circl v1.6.3 // indirect
|
||||||
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
|
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
|
||||||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
||||||
github.com/djherbis/times v1.6.0 // indirect
|
github.com/djherbis/times v1.6.0 // indirect
|
||||||
@@ -34,69 +37,87 @@ require (
|
|||||||
github.com/frankban/quicktest v1.14.6 // indirect
|
github.com/frankban/quicktest v1.14.6 // indirect
|
||||||
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
||||||
github.com/go-git/go-billy/v5 v5.6.2 // indirect
|
github.com/go-git/go-billy/v5 v5.6.2 // indirect
|
||||||
github.com/go-git/go-git/v5 v5.16.0 // indirect
|
github.com/go-git/go-git/v5 v5.16.5 // indirect
|
||||||
|
github.com/go-logr/logr v1.4.3 // indirect
|
||||||
|
github.com/go-logr/stdr v1.2.2 // indirect
|
||||||
github.com/gogo/protobuf v1.3.2 // indirect
|
github.com/gogo/protobuf v1.3.2 // indirect
|
||||||
github.com/golang/glog v1.2.4 // indirect
|
github.com/golang/glog v1.2.5 // indirect
|
||||||
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
|
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
|
||||||
github.com/google/uuid v1.6.0 // indirect
|
github.com/google/uuid v1.6.0 // indirect
|
||||||
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 // indirect
|
||||||
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect
|
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect
|
||||||
github.com/hashicorp/errwrap v1.1.0 // indirect
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
||||||
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
||||||
github.com/hashicorp/hcl/v2 v2.23.0 // indirect
|
github.com/hashicorp/go-version v1.8.0 // indirect
|
||||||
|
github.com/hashicorp/hcl/v2 v2.24.0 // indirect
|
||||||
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
||||||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
||||||
|
github.com/json-iterator/go v1.1.12 // indirect
|
||||||
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
||||||
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
|
github.com/klauspost/compress v1.18.0 // indirect
|
||||||
|
github.com/lucasb-eyer/go-colorful v1.3.0 // indirect
|
||||||
github.com/mattn/go-isatty v0.0.20 // indirect
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
||||||
github.com/mattn/go-localereader v0.0.1 // indirect
|
github.com/mattn/go-localereader v0.0.1 // indirect
|
||||||
github.com/mattn/go-runewidth v0.0.16 // indirect
|
github.com/mattn/go-runewidth v0.0.20 // indirect
|
||||||
github.com/mitchellh/go-ps v1.0.0 // indirect
|
github.com/mitchellh/go-ps v1.0.0 // indirect
|
||||||
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
|
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
|
||||||
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||||
|
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
|
||||||
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
|
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
|
||||||
github.com/muesli/cancelreader v0.2.2 // indirect
|
github.com/muesli/cancelreader v0.2.2 // indirect
|
||||||
github.com/muesli/termenv v0.16.0 // indirect
|
github.com/muesli/termenv v0.16.0 // indirect
|
||||||
github.com/opentracing/basictracer-go v1.1.0 // indirect
|
github.com/opentracing/basictracer-go v1.1.0 // indirect
|
||||||
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
||||||
github.com/pgavlin/fx v0.1.6 // indirect
|
github.com/pgavlin/fx v0.1.6 // indirect
|
||||||
|
github.com/pgavlin/fx/v2 v2.0.10 // indirect
|
||||||
github.com/pjbgf/sha1cd v0.3.2 // indirect
|
github.com/pjbgf/sha1cd v0.3.2 // indirect
|
||||||
github.com/pkg/errors v0.9.1 // indirect
|
github.com/pkg/errors v0.9.1 // indirect
|
||||||
github.com/pkg/term v1.1.0 // indirect
|
github.com/pkg/term v1.1.0 // indirect
|
||||||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
||||||
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect
|
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect
|
||||||
github.com/pulumi/esc v0.17.0 // indirect
|
github.com/pulumi/esc v0.22.0 // indirect
|
||||||
github.com/rivo/uniseg v0.4.7 // indirect
|
github.com/rivo/uniseg v0.4.7 // indirect
|
||||||
github.com/rogpeppe/go-internal v1.14.1 // indirect
|
github.com/rogpeppe/go-internal v1.14.1 // indirect
|
||||||
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect
|
|
||||||
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
|
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
|
||||||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
|
github.com/sergi/go-diff v1.4.0 // indirect
|
||||||
github.com/skeema/knownhosts v1.3.1 // indirect
|
github.com/skeema/knownhosts v1.3.1 // indirect
|
||||||
github.com/spf13/cast v1.5.0 // indirect
|
github.com/spf13/cast v1.5.0 // indirect
|
||||||
github.com/spf13/cobra v1.9.1 // indirect
|
github.com/spf13/cobra v1.10.2 // indirect
|
||||||
github.com/spf13/pflag v1.0.6 // indirect
|
github.com/spf13/pflag v1.0.10 // indirect
|
||||||
github.com/stretchr/objx v0.5.2 // indirect
|
github.com/stretchr/objx v0.5.2 // indirect
|
||||||
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
|
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
|
||||||
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
|
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
|
||||||
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
|
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
|
||||||
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
||||||
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
||||||
github.com/zclconf/go-cty v1.16.3 // indirect
|
github.com/zclconf/go-cty v1.17.0 // indirect
|
||||||
go.opentelemetry.io/otel v1.36.0 // indirect
|
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
|
||||||
go.opentelemetry.io/otel/sdk v1.36.0 // indirect
|
go.opentelemetry.io/collector/featuregate v1.52.0 // indirect
|
||||||
|
go.opentelemetry.io/collector/pdata v1.52.0 // indirect
|
||||||
|
go.opentelemetry.io/otel v1.40.0 // indirect
|
||||||
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.40.0 // indirect
|
||||||
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.40.0 // indirect
|
||||||
|
go.opentelemetry.io/otel/metric v1.40.0 // indirect
|
||||||
|
go.opentelemetry.io/otel/sdk v1.40.0 // indirect
|
||||||
|
go.opentelemetry.io/otel/trace v1.40.0 // indirect
|
||||||
|
go.opentelemetry.io/proto/otlp v1.9.0 // indirect
|
||||||
go.uber.org/atomic v1.11.0 // indirect
|
go.uber.org/atomic v1.11.0 // indirect
|
||||||
golang.org/x/crypto v0.39.0 // indirect
|
go.uber.org/multierr v1.11.0 // indirect
|
||||||
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0 // indirect
|
golang.org/x/crypto v0.48.0 // indirect
|
||||||
golang.org/x/mod v0.25.0 // indirect
|
golang.org/x/exp v0.0.0-20250718183923-645b1fa84792 // indirect
|
||||||
golang.org/x/net v0.40.0 // indirect
|
golang.org/x/mod v0.32.0 // indirect
|
||||||
golang.org/x/sync v0.15.0 // indirect
|
golang.org/x/net v0.51.0 // indirect
|
||||||
golang.org/x/sys v0.33.0 // indirect
|
golang.org/x/sync v0.19.0 // indirect
|
||||||
golang.org/x/term v0.32.0 // indirect
|
golang.org/x/sys v0.41.0 // indirect
|
||||||
golang.org/x/text v0.26.0 // indirect
|
golang.org/x/term v0.40.0 // indirect
|
||||||
golang.org/x/tools v0.33.0 // indirect
|
golang.org/x/text v0.34.0 // indirect
|
||||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20250519155744-55703ea1f237 // indirect
|
golang.org/x/tools v0.41.0 // indirect
|
||||||
google.golang.org/grpc v1.72.1 // indirect
|
google.golang.org/genproto/googleapis/api v0.0.0-20260223185530-2f722ef697dc // indirect
|
||||||
google.golang.org/protobuf v1.36.6 // indirect
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20260223185530-2f722ef697dc // indirect
|
||||||
|
google.golang.org/grpc v1.79.1 // indirect
|
||||||
|
google.golang.org/protobuf v1.36.11 // indirect
|
||||||
gopkg.in/warnings.v0 v0.1.2 // indirect
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
||||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||||
lukechampine.com/frand v1.5.1 // indirect
|
lukechampine.com/frand v1.5.1 // indirect
|
||||||
pgregory.net/rapid v1.1.0 // indirect
|
pgregory.net/rapid v1.2.0 // indirect
|
||||||
)
|
)
|
||||||
|
|||||||
219
sdk/go/dockerbuild/go.sum
generated
219
sdk/go/dockerbuild/go.sum
generated
@@ -1,7 +1,5 @@
|
|||||||
dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s=
|
dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s=
|
||||||
dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
|
dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
|
||||||
github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg=
|
|
||||||
github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
|
|
||||||
github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM=
|
github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM=
|
||||||
github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo=
|
github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo=
|
||||||
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
|
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
|
||||||
@@ -23,24 +21,32 @@ github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiE
|
|||||||
github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8=
|
github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8=
|
||||||
github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ=
|
github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ=
|
||||||
github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
|
github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
|
||||||
github.com/charmbracelet/bubbles v0.21.0 h1:9TdC97SdRVg/1aaXNVWfFH3nnLAwOXr8Fn6u6mfQdFs=
|
github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM=
|
||||||
github.com/charmbracelet/bubbles v0.21.0/go.mod h1:HF+v6QUR4HkEpz62dx7ym2xc71/KBHg+zKwJtMw+qtg=
|
github.com/cenkalti/backoff/v5 v5.0.3/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw=
|
||||||
github.com/charmbracelet/bubbletea v1.3.4 h1:kCg7B+jSCFPLYRA52SDZjr51kG/fMUEoPoZrkaDHyoI=
|
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
|
||||||
github.com/charmbracelet/bubbletea v1.3.4/go.mod h1:dtcUCyCGEX3g9tosuYiut3MXgY/Jsv9nKVdibKKRRXo=
|
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||||
github.com/charmbracelet/colorprofile v0.3.0 h1:KtLh9uuu1RCt+Hml4s6Hz+kB1PfV3wi++1h5ia65yKQ=
|
github.com/charmbracelet/bubbles v1.0.0 h1:12J8/ak/uCZEMQ6KU7pcfwceyjLlWsDLAxB5fXonfvc=
|
||||||
github.com/charmbracelet/colorprofile v0.3.0/go.mod h1:oHJ340RS2nmG1zRGPmhJKJ/jf4FPNNk0P39/wBPA1G0=
|
github.com/charmbracelet/bubbles v1.0.0/go.mod h1:9d/Zd5GdnauMI5ivUIVisuEm3ave1XwXtD1ckyV6r3E=
|
||||||
|
github.com/charmbracelet/bubbletea v1.3.10 h1:otUDHWMMzQSB0Pkc87rm691KZ3SWa4KUlvF9nRvCICw=
|
||||||
|
github.com/charmbracelet/bubbletea v1.3.10/go.mod h1:ORQfo0fk8U+po9VaNvnV95UPWA1BitP1E0N6xJPlHr4=
|
||||||
|
github.com/charmbracelet/colorprofile v0.4.2 h1:BdSNuMjRbotnxHSfxy+PCSa4xAmz7szw70ktAtWRYrY=
|
||||||
|
github.com/charmbracelet/colorprofile v0.4.2/go.mod h1:0rTi81QpwDElInthtrQ6Ni7cG0sDtwAd4C4le060fT8=
|
||||||
github.com/charmbracelet/lipgloss v1.1.0 h1:vYXsiLHVkK7fp74RkV7b2kq9+zDLoEU4MZoFqR/noCY=
|
github.com/charmbracelet/lipgloss v1.1.0 h1:vYXsiLHVkK7fp74RkV7b2kq9+zDLoEU4MZoFqR/noCY=
|
||||||
github.com/charmbracelet/lipgloss v1.1.0/go.mod h1:/6Q8FR2o+kj8rz4Dq0zQc3vYf7X+B0binUUBwA0aL30=
|
github.com/charmbracelet/lipgloss v1.1.0/go.mod h1:/6Q8FR2o+kj8rz4Dq0zQc3vYf7X+B0binUUBwA0aL30=
|
||||||
github.com/charmbracelet/x/ansi v0.8.0 h1:9GTq3xq9caJW8ZrBTe0LIe2fvfLR/bYXKTx2llXn7xE=
|
github.com/charmbracelet/x/ansi v0.11.6 h1:GhV21SiDz/45W9AnV2R61xZMRri5NlLnl6CVF7ihZW8=
|
||||||
github.com/charmbracelet/x/ansi v0.8.0/go.mod h1:wdYl/ONOLHLIVmQaxbIYEC/cRKOQyjTkowiI4blgS9Q=
|
github.com/charmbracelet/x/ansi v0.11.6/go.mod h1:2JNYLgQUsyqaiLovhU2Rv/pb8r6ydXKS3NIttu3VGZQ=
|
||||||
github.com/charmbracelet/x/cellbuf v0.0.13 h1:/KBBKHuVRbq1lYx5BzEHBAFBP8VcQzJejZ/IA3iR28k=
|
github.com/charmbracelet/x/cellbuf v0.0.15 h1:ur3pZy0o6z/R7EylET877CBxaiE1Sp1GMxoFPAIztPI=
|
||||||
github.com/charmbracelet/x/cellbuf v0.0.13/go.mod h1:xe0nKWGd3eJgtqZRaN9RjMtK7xUYchjzPr7q6kcvCCs=
|
github.com/charmbracelet/x/cellbuf v0.0.15/go.mod h1:J1YVbR7MUuEGIFPCaaZ96KDl5NoS0DAWkskup+mOY+Q=
|
||||||
github.com/charmbracelet/x/term v0.2.1 h1:AQeHeLZ1OqSXhrAWpYUtZyX1T3zVxfpZuEQMIQaGIAQ=
|
github.com/charmbracelet/x/term v0.2.2 h1:xVRT/S2ZcKdhhOuSP4t5cLi5o+JxklsoEObBSgfgZRk=
|
||||||
github.com/charmbracelet/x/term v0.2.1/go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg=
|
github.com/charmbracelet/x/term v0.2.2/go.mod h1:kF8CY5RddLWrsgVwpw4kAa6TESp6EB5y3uxGLeCqzAI=
|
||||||
github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo=
|
github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo=
|
||||||
github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30=
|
github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30=
|
||||||
github.com/cloudflare/circl v1.6.1 h1:zqIqSPIndyBh1bjLVVDHMPpVKqp8Su/V+6MeDzzQBQ0=
|
github.com/clipperhouse/displaywidth v0.11.0 h1:lBc6kY44VFw+TDx4I8opi/EtL9m20WSEFgwIwO+UVM8=
|
||||||
github.com/cloudflare/circl v1.6.1/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs=
|
github.com/clipperhouse/displaywidth v0.11.0/go.mod h1:bkrFNkf81G8HyVqmKGxsPufD3JhNl3dSqnGhOoSD/o0=
|
||||||
|
github.com/clipperhouse/uax29/v2 v2.7.0 h1:+gs4oBZ2gPfVrKPthwbMzWZDaAFPGYK72F0NJv2v7Vk=
|
||||||
|
github.com/clipperhouse/uax29/v2 v2.7.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM=
|
||||||
|
github.com/cloudflare/circl v1.6.3 h1:9GPOhQGF9MCYUeXyMYlqTR6a5gTrgR/fBLXvUgtVcg8=
|
||||||
|
github.com/cloudflare/circl v1.6.3/go.mod h1:2eXP6Qfat4O/Yhh8BznvKnJ+uzEoTQ6jVKJRn81BiS4=
|
||||||
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
|
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
|
||||||
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
|
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
|
||||||
github.com/cyphar/filepath-securejoin v0.4.1 h1:JyxxyPEaktOD+GAnqIqTf9A8tHyAG22rowi7HkoSU1s=
|
github.com/cyphar/filepath-securejoin v0.4.1 h1:JyxxyPEaktOD+GAnqIqTf9A8tHyAG22rowi7HkoSU1s=
|
||||||
@@ -70,17 +76,18 @@ github.com/go-git/go-billy/v5 v5.6.2 h1:6Q86EsPXMa7c3YZ3aLAQsMA0VlWmy43r6FHqa/UN
|
|||||||
github.com/go-git/go-billy/v5 v5.6.2/go.mod h1:rcFC2rAsp/erv7CMz9GczHcuD0D32fWzH+MJAU+jaUU=
|
github.com/go-git/go-billy/v5 v5.6.2/go.mod h1:rcFC2rAsp/erv7CMz9GczHcuD0D32fWzH+MJAU+jaUU=
|
||||||
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4=
|
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4=
|
||||||
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII=
|
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII=
|
||||||
github.com/go-git/go-git/v5 v5.16.0 h1:k3kuOEpkc0DeY7xlL6NaaNg39xdgQbtH5mwCafHO9AQ=
|
github.com/go-git/go-git/v5 v5.16.5 h1:mdkuqblwr57kVfXri5TTH+nMFLNUxIj9Z7F5ykFbw5s=
|
||||||
github.com/go-git/go-git/v5 v5.16.0/go.mod h1:4Ge4alE/5gPs30F2H1esi2gPd69R0C39lolkucHBOp8=
|
github.com/go-git/go-git/v5 v5.16.5/go.mod h1:QOMLpNf1qxuSY4StA/ArOdfFR2TrKEjJiye2kel2m+M=
|
||||||
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
|
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
|
||||||
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
|
github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
|
||||||
|
github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
|
||||||
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
|
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
|
||||||
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
|
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
|
||||||
github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
|
github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
|
||||||
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
|
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
|
||||||
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
|
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
|
||||||
github.com/golang/glog v1.2.4 h1:CNNw5U8lSiiBk7druxtSHHTsRWcxKoac6kZKm2peBBc=
|
github.com/golang/glog v1.2.5 h1:DrW6hGnjIhtvhOIiAKT6Psh/Kd/ldepEa81DKeiRJ5I=
|
||||||
github.com/golang/glog v1.2.4/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w=
|
github.com/golang/glog v1.2.5/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w=
|
||||||
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ=
|
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ=
|
||||||
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw=
|
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw=
|
||||||
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
|
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
|
||||||
@@ -88,8 +95,11 @@ github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6
|
|||||||
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
||||||
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
|
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
|
||||||
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
|
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
|
||||||
|
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
|
||||||
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
|
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
|
||||||
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||||
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 h1:HWRh5R2+9EifMyIHV7ZV+MIZqgz+PMpZ14Jynv3O2Zs=
|
||||||
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0/go.mod h1:JfhWUomR1baixubs02l85lZYYOm7LV6om4ceouMv45c=
|
||||||
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU=
|
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU=
|
||||||
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw=
|
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw=
|
||||||
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
|
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
|
||||||
@@ -97,17 +107,23 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY
|
|||||||
github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
|
github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
|
||||||
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
|
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
|
||||||
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
|
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
|
||||||
github.com/hashicorp/hcl/v2 v2.23.0 h1:Fphj1/gCylPxHutVSEOf2fBOh1VE4AuLV7+kbJf3qos=
|
github.com/hashicorp/go-version v1.8.0 h1:KAkNb1HAiZd1ukkxDFGmokVZe1Xy9HG6NUp+bPle2i4=
|
||||||
github.com/hashicorp/hcl/v2 v2.23.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA=
|
github.com/hashicorp/go-version v1.8.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
|
||||||
|
github.com/hashicorp/hcl/v2 v2.24.0 h1:2QJdZ454DSsYGoaE6QheQZjtKZSUs9Nh2izTWiwQxvE=
|
||||||
|
github.com/hashicorp/hcl/v2 v2.24.0/go.mod h1:oGoO1FIQYfn/AgyOhlg9qLC6/nOJPX3qGbkZpYAcqfM=
|
||||||
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
|
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
|
||||||
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
|
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
|
||||||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=
|
||||||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
|
||||||
|
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
|
||||||
|
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
|
||||||
github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4=
|
github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4=
|
||||||
github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
|
github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
|
||||||
github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
|
github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
|
||||||
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
|
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
|
||||||
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
|
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
|
||||||
|
github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo=
|
||||||
|
github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ=
|
||||||
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
|
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
|
||||||
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
|
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
|
||||||
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
|
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
|
||||||
@@ -115,8 +131,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|
|||||||
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
||||||
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
|
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
|
||||||
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
||||||
github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
|
github.com/lucasb-eyer/go-colorful v1.3.0 h1:2/yBRLdWBZKrf7gB40FoiKfAWYQ0lqNcbuQwVHXptag=
|
||||||
github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
|
github.com/lucasb-eyer/go-colorful v1.3.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
|
||||||
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
|
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
|
||||||
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
|
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
|
||||||
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
|
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
|
||||||
@@ -127,12 +143,18 @@ github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D
|
|||||||
github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4=
|
github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4=
|
||||||
github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88=
|
github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88=
|
||||||
github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
|
github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
|
||||||
github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc=
|
github.com/mattn/go-runewidth v0.0.20 h1:WcT52H91ZUAwy8+HUkdM3THM6gXqXuLJi9O3rjcQQaQ=
|
||||||
github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
|
github.com/mattn/go-runewidth v0.0.20/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs=
|
||||||
github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc=
|
github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc=
|
||||||
github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg=
|
github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg=
|
||||||
github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0=
|
github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0=
|
||||||
github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0=
|
github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0=
|
||||||
|
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
|
||||||
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
|
||||||
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
|
||||||
|
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
|
||||||
|
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee h1:W5t00kpgFdJifH4BDsTlE89Zl93FEloxaWZfGcifgq8=
|
||||||
|
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
|
||||||
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI=
|
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI=
|
||||||
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo=
|
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo=
|
||||||
github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA=
|
github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA=
|
||||||
@@ -148,8 +170,8 @@ github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+
|
|||||||
github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc=
|
github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc=
|
||||||
github.com/pgavlin/fx v0.1.6 h1:r9jEg69DhNoCd3Xh0+5mIbdbS3PqWrVWujkY76MFRTU=
|
github.com/pgavlin/fx v0.1.6 h1:r9jEg69DhNoCd3Xh0+5mIbdbS3PqWrVWujkY76MFRTU=
|
||||||
github.com/pgavlin/fx v0.1.6/go.mod h1:KWZJ6fqBBSh8GxHYqwYCf3rYE7Gp2p0N8tJp8xv9u9M=
|
github.com/pgavlin/fx v0.1.6/go.mod h1:KWZJ6fqBBSh8GxHYqwYCf3rYE7Gp2p0N8tJp8xv9u9M=
|
||||||
github.com/pgavlin/fx/v2 v2.0.3 h1:ZBVklTFjxcWvBVPE+ti5qwnmTIQ0Gq6nuj3J5RKDtKk=
|
github.com/pgavlin/fx/v2 v2.0.10 h1:ggyQ6pB+lEQEbEae48Wh/X221eLOamMD7i01ISe88u4=
|
||||||
github.com/pgavlin/fx/v2 v2.0.3/go.mod h1:Cvnwqq0BopdHUJ7CU50h1XPeKrF4ZwdFj1nJLXbAjCE=
|
github.com/pgavlin/fx/v2 v2.0.10/go.mod h1:M/nF/ooAOy+NUBooYYXl2REARzJ/giPJxfMs8fINfKc=
|
||||||
github.com/pjbgf/sha1cd v0.3.2 h1:a9wb0bp1oC2TGwStyn0Umc/IGKQnEgF0vVaZ8QF8eo4=
|
github.com/pjbgf/sha1cd v0.3.2 h1:a9wb0bp1oC2TGwStyn0Umc/IGKQnEgF0vVaZ8QF8eo4=
|
||||||
github.com/pjbgf/sha1cd v0.3.2/go.mod h1:zQWigSxVmsHEZow5qaLtPYxpcKMMQpa09ixqBxuCS6A=
|
github.com/pjbgf/sha1cd v0.3.2/go.mod h1:zQWigSxVmsHEZow5qaLtPYxpcKMMQpa09ixqBxuCS6A=
|
||||||
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
|
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
|
||||||
@@ -162,32 +184,30 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI
|
|||||||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||||
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0=
|
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0=
|
||||||
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE=
|
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE=
|
||||||
github.com/pulumi/esc v0.17.0 h1:oaVOIyFTENlYDuqc3pW75lQT9jb2cd6ie/4/Twxn66w=
|
github.com/pulumi/esc v0.22.0 h1:Kbk0kIPsoIu6vnLgKtiE8AKRfl8B8bg6adiQuwJiBjA=
|
||||||
github.com/pulumi/esc v0.17.0/go.mod h1:XnSxlt5NkmuAj304l/gK4pRErFbtqq6XpfX1tYT9Jbc=
|
github.com/pulumi/esc v0.22.0/go.mod h1:mkghIFn/TvN3XnP4jmCB4U5BG1I4UjGluARi39ckrCE=
|
||||||
github.com/pulumi/pulumi/sdk/v3 v3.192.0 h1:sfHuR3P02wSbV3xdSMEQ0+uC/HzlMz0YfKrVAXy1hSQ=
|
github.com/pulumi/pulumi/sdk/v3 v3.224.0 h1:z/4vxGI2oO9IY6Jr5pJ5rCCfaF0D9CDMyf71vTvLots=
|
||||||
github.com/pulumi/pulumi/sdk/v3 v3.192.0/go.mod h1:aV0+c5xpSYccWKmOjTZS9liYCqh7+peu3cQgSXu7CJw=
|
github.com/pulumi/pulumi/sdk/v3 v3.224.0/go.mod h1:O6FsKAEKCj3axqPQ6DyMUn/07pN1I2vq9wI1WFEuxnI=
|
||||||
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
|
|
||||||
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
|
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
|
||||||
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
|
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
|
||||||
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
|
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
|
||||||
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
|
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
|
||||||
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
|
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
|
||||||
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
|
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
|
||||||
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
|
|
||||||
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
|
|
||||||
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 h1:lZUw3E0/J3roVtGQ+SCrUrg3ON6NgVqpn3+iol9aGu4=
|
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 h1:lZUw3E0/J3roVtGQ+SCrUrg3ON6NgVqpn3+iol9aGu4=
|
||||||
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1/go.mod h1:uToXkOrWAZ6/Oc07xWQrPOhJotwFIyu2bBVN41fcDUY=
|
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1/go.mod h1:uToXkOrWAZ6/Oc07xWQrPOhJotwFIyu2bBVN41fcDUY=
|
||||||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8=
|
github.com/sergi/go-diff v1.4.0 h1:n/SP9D5ad1fORl+llWyN+D6qoUETXNZARKjyY2/KVCw=
|
||||||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
|
github.com/sergi/go-diff v1.4.0/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
|
||||||
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
|
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
|
||||||
github.com/skeema/knownhosts v1.3.1 h1:X2osQ+RAjK76shCbvhHHHVl3ZlgDm8apHEHFqRjnBY8=
|
github.com/skeema/knownhosts v1.3.1 h1:X2osQ+RAjK76shCbvhHHHVl3ZlgDm8apHEHFqRjnBY8=
|
||||||
github.com/skeema/knownhosts v1.3.1/go.mod h1:r7KTdC8l4uxWRyK2TpQZ/1o5HaSzh06ePQNxPwTcfiY=
|
github.com/skeema/knownhosts v1.3.1/go.mod h1:r7KTdC8l4uxWRyK2TpQZ/1o5HaSzh06ePQNxPwTcfiY=
|
||||||
github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w=
|
github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w=
|
||||||
github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU=
|
github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU=
|
||||||
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
|
github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU=
|
||||||
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
|
github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4=
|
||||||
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
|
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
||||||
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk=
|
||||||
|
github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
||||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||||
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
|
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
|
||||||
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
|
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
|
||||||
@@ -195,9 +215,8 @@ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXf
|
|||||||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
||||||
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
||||||
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
|
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
|
||||||
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
|
||||||
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
|
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
|
||||||
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
|
||||||
github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U=
|
github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U=
|
||||||
github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8=
|
github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8=
|
||||||
github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o=
|
github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o=
|
||||||
@@ -210,49 +229,72 @@ github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavM
|
|||||||
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM=
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM=
|
||||||
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||||
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||||
github.com/zclconf/go-cty v1.16.3 h1:osr++gw2T61A8KVYHoQiFbFd1Lh3JOCXc/jFLJXKTxk=
|
github.com/zclconf/go-cty v1.17.0 h1:seZvECve6XX4tmnvRzWtJNHdscMtYEx5R7bnnVyd/d0=
|
||||||
github.com/zclconf/go-cty v1.16.3/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
|
github.com/zclconf/go-cty v1.17.0/go.mod h1:wqFzcImaLTI6A5HfsRwB0nj5n0MRZFwmey8YoFPPs3U=
|
||||||
go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA=
|
go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64=
|
||||||
go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A=
|
go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y=
|
||||||
go.opentelemetry.io/otel v1.36.0 h1:UumtzIklRBY6cI/lllNZlALOF5nNIzJVb16APdvgTXg=
|
go.opentelemetry.io/collector/featuregate v1.52.0 h1:Ba/6lL8BY+wWbQ8w7aOWzbyl4WG8i8eSGl2fnrBHBnE=
|
||||||
go.opentelemetry.io/otel v1.36.0/go.mod h1:/TcFMXYjyRNh8khOAO9ybYkqaDBb/70aVwkNML4pP8E=
|
go.opentelemetry.io/collector/featuregate v1.52.0/go.mod h1:PS7zY/zaCb28EqciePVwRHVhc3oKortTFXsi3I6ee4g=
|
||||||
go.opentelemetry.io/otel/metric v1.36.0 h1:MoWPKVhQvJ+eeXWHFBOPoBOi20jh6Iq2CcCREuTYufE=
|
go.opentelemetry.io/collector/internal/testutil v0.146.1 h1:hpemuw5sLSYIqflJdScFikLhCjHxKuJWC2Lwyh9yeCI=
|
||||||
go.opentelemetry.io/otel/metric v1.36.0/go.mod h1:zC7Ks+yeyJt4xig9DEw9kuUFe5C3zLbVjV2PzT6qzbs=
|
go.opentelemetry.io/collector/internal/testutil v0.146.1/go.mod h1:Jkjs6rkqs973LqgZ0Fe3zrokQRKULYXPIf4HuqStiEE=
|
||||||
go.opentelemetry.io/otel/sdk v1.36.0 h1:b6SYIuLRs88ztox4EyrvRti80uXIFy+Sqzoh9kFULbs=
|
go.opentelemetry.io/collector/pdata v1.52.0 h1:jp76qKVZsQqB6yK2C6bolPOi1uU+jhsTDsp71d5MOhk=
|
||||||
go.opentelemetry.io/otel/sdk v1.36.0/go.mod h1:+lC+mTgD+MUWfjJubi2vvXWcVxyr9rmlshZni72pXeY=
|
go.opentelemetry.io/collector/pdata v1.52.0/go.mod h1:+w6A2FXrMDDIwjRgQaud11Ifobng/j/FW3upZtaVKHc=
|
||||||
go.opentelemetry.io/otel/sdk/metric v1.34.0 h1:5CeK9ujjbFVL5c1PhLuStg1wxA7vQv7ce1EK0Gyvahk=
|
go.opentelemetry.io/otel v1.40.0 h1:oA5YeOcpRTXq6NN7frwmwFR0Cn3RhTVZvXsP4duvCms=
|
||||||
go.opentelemetry.io/otel/sdk/metric v1.34.0/go.mod h1:jQ/r8Ze28zRKoNRdkjCZxfs6YvBTG1+YIqyFVFYec5w=
|
go.opentelemetry.io/otel v1.40.0/go.mod h1:IMb+uXZUKkMXdPddhwAHm6UfOwJyh4ct1ybIlV14J0g=
|
||||||
go.opentelemetry.io/otel/trace v1.36.0 h1:ahxWNuqZjpdiFAyrIoQ4GIiAIhxAunQR6MUoKrsNd4w=
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.40.0 h1:QKdN8ly8zEMrByybbQgv8cWBcdAarwmIPZ6FThrWXJs=
|
||||||
go.opentelemetry.io/otel/trace v1.36.0/go.mod h1:gQ+OnDZzrybY4k4seLzPAWNwVBBVlF2szhehOBB/tGA=
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.40.0/go.mod h1:bTdK1nhqF76qiPoCCdyFIV+N/sRHYXYCTQc+3VCi3MI=
|
||||||
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.40.0 h1:DvJDOPmSWQHWywQS6lKL+pb8s3gBLOZUtw4N+mavW1I=
|
||||||
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.40.0/go.mod h1:EtekO9DEJb4/jRyN4v4Qjc2yA7AtfCBuz2FynRUWTXs=
|
||||||
|
go.opentelemetry.io/otel/metric v1.40.0 h1:rcZe317KPftE2rstWIBitCdVp89A2HqjkxR3c11+p9g=
|
||||||
|
go.opentelemetry.io/otel/metric v1.40.0/go.mod h1:ib/crwQH7N3r5kfiBZQbwrTge743UDc7DTFVZrrXnqc=
|
||||||
|
go.opentelemetry.io/otel/sdk v1.40.0 h1:KHW/jUzgo6wsPh9At46+h4upjtccTmuZCFAc9OJ71f8=
|
||||||
|
go.opentelemetry.io/otel/sdk v1.40.0/go.mod h1:Ph7EFdYvxq72Y8Li9q8KebuYUr2KoeyHx0DRMKrYBUE=
|
||||||
|
go.opentelemetry.io/otel/sdk/metric v1.40.0 h1:mtmdVqgQkeRxHgRv4qhyJduP3fYJRMX4AtAlbuWdCYw=
|
||||||
|
go.opentelemetry.io/otel/sdk/metric v1.40.0/go.mod h1:4Z2bGMf0KSK3uRjlczMOeMhKU2rhUqdWNoKcYrtcBPg=
|
||||||
|
go.opentelemetry.io/otel/trace v1.40.0 h1:WA4etStDttCSYuhwvEa8OP8I5EWu24lkOzp+ZYblVjw=
|
||||||
|
go.opentelemetry.io/otel/trace v1.40.0/go.mod h1:zeAhriXecNGP/s2SEG3+Y8X9ujcJOTqQ5RgdEJcawiA=
|
||||||
|
go.opentelemetry.io/proto/otlp v1.9.0 h1:l706jCMITVouPOqEnii2fIAuO3IVGBRPV5ICjceRb/A=
|
||||||
|
go.opentelemetry.io/proto/otlp v1.9.0/go.mod h1:xE+Cx5E/eEHw+ISFkwPLwCZefwVjY+pqKg1qcK03+/4=
|
||||||
|
go.opentelemetry.io/proto/slim/otlp v1.9.0 h1:fPVMv8tP3TrsqlkH1HWYUpbCY9cAIemx184VGkS6vlE=
|
||||||
|
go.opentelemetry.io/proto/slim/otlp v1.9.0/go.mod h1:xXdeJJ90Gqyll+orzUkY4bOd2HECo5JofeoLpymVqdI=
|
||||||
|
go.opentelemetry.io/proto/slim/otlp/collector/profiles/v1development v0.2.0 h1:o13nadWDNkH/quoDomDUClnQBpdQQ2Qqv0lQBjIXjE8=
|
||||||
|
go.opentelemetry.io/proto/slim/otlp/collector/profiles/v1development v0.2.0/go.mod h1:Gyb6Xe7FTi/6xBHwMmngGoHqL0w29Y4eW8TGFzpefGA=
|
||||||
|
go.opentelemetry.io/proto/slim/otlp/profiles/v1development v0.2.0 h1:EiUYvtwu6PMrMHVjcPfnsG3v+ajPkbUeH+IL93+QYyk=
|
||||||
|
go.opentelemetry.io/proto/slim/otlp/profiles/v1development v0.2.0/go.mod h1:mUUHKFiN2SST3AhJ8XhJxEoeVW12oqfXog0Bo8W3Ec4=
|
||||||
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE=
|
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE=
|
||||||
go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
|
go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
|
||||||
|
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
|
||||||
|
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
|
||||||
|
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
|
||||||
|
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
|
||||||
|
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
|
||||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
||||||
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||||
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||||
golang.org/x/crypto v0.39.0 h1:SHs+kF4LP+f+p14esP5jAoDpHU8Gu/v9lFRK6IT5imM=
|
golang.org/x/crypto v0.48.0 h1:/VRzVqiRSggnhY7gNRxPauEQ5Drw9haKdM0jqfcCFts=
|
||||||
golang.org/x/crypto v0.39.0/go.mod h1:L+Xg3Wf6HoL4Bn4238Z6ft6KfEpN0tJGo53AAPC632U=
|
golang.org/x/crypto v0.48.0/go.mod h1:r0kV5h3qnFPlQnBSrULhlsRfryS2pmewsg+XfMgkVos=
|
||||||
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0 h1:R84qjqJb5nVJMxqWYb3np9L5ZsaDtB+a39EqjV0JSUM=
|
golang.org/x/exp v0.0.0-20250718183923-645b1fa84792 h1:R9PFI6EUdfVKgwKjZef7QIwGcBKu86OEFpJ9nUEP2l4=
|
||||||
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0/go.mod h1:S9Xr4PYopiDyqSyp5NjCrhFrqg6A5zA2E/iPHPhqnS8=
|
golang.org/x/exp v0.0.0-20250718183923-645b1fa84792/go.mod h1:A+z0yzpGtvnG90cToK5n2tu8UJVP2XUATh+r+sfOOOc=
|
||||||
golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
|
golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
|
||||||
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
|
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
|
||||||
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||||
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||||
golang.org/x/mod v0.25.0 h1:n7a+ZbQKQA/Ysbyb0/6IbB1H/X41mKgbhfv7AfG/44w=
|
golang.org/x/mod v0.32.0 h1:9F4d3PHLljb6x//jOyokMv3eX+YDeepZSEo3mFJy93c=
|
||||||
golang.org/x/mod v0.25.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww=
|
golang.org/x/mod v0.32.0/go.mod h1:SgipZ/3h2Ci89DlEtEXWUk/HteuRin+HHhN+WbNhguU=
|
||||||
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||||
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||||
golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
|
golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
|
||||||
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
|
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
|
||||||
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||||
golang.org/x/net v0.40.0 h1:79Xs7wF06Gbdcg4kdCCIQArK11Z1hr5POQ6+fIYHNuY=
|
golang.org/x/net v0.51.0 h1:94R/GTO7mt3/4wIKpcR5gkGmRLOuE/2hNGeWq/GBIFo=
|
||||||
golang.org/x/net v0.40.0/go.mod h1:y0hY0exeL2Pku80/zKK7tpntoX23cqL3Oa6njdgRtds=
|
golang.org/x/net v0.51.0/go.mod h1:aamm+2QF5ogm02fjy5Bb7CQ0WMt1/WVM7FtyaTLlA9Y=
|
||||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.15.0 h1:KWH3jNZsfyT6xfAfKiz6MRNmd46ByHDYaZ7KSkCtdW8=
|
golang.org/x/sync v0.19.0 h1:vV+1eWNmZ5geRlYjzm2adRgW2/mcpevXNg50YZtPCE4=
|
||||||
golang.org/x/sync v0.15.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
|
golang.org/x/sync v0.19.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
|
||||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
@@ -268,34 +310,38 @@ golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBc
|
|||||||
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw=
|
golang.org/x/sys v0.41.0 h1:Ivj+2Cp/ylzLiEU89QhWblYnOE9zerudt9Ftecq2C6k=
|
||||||
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
|
golang.org/x/sys v0.41.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
|
||||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||||
golang.org/x/term v0.32.0 h1:DR4lr0TjUs3epypdhTOkMmuF5CDFJ/8pOnbzMZPQ7bg=
|
golang.org/x/term v0.40.0 h1:36e4zGLqU4yhjlmxEaagx2KuYbJq3EwY8K943ZsHcvg=
|
||||||
golang.org/x/term v0.32.0/go.mod h1:uZG1FhGx848Sqfsq4/DlJr3xGGsYMu/L5GW4abiaEPQ=
|
golang.org/x/term v0.40.0/go.mod h1:w2P8uVp06p2iyKKuvXIm7N/y0UCRt3UfJTfZ7oOpglM=
|
||||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||||
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||||
golang.org/x/text v0.26.0 h1:P42AVeLghgTYr4+xUnTRKDMqpar+PtX7KWuNQL21L8M=
|
golang.org/x/text v0.34.0 h1:oL/Qq0Kdaqxa1KbNeMKwQq0reLCCaFtqu2eNuSeNHbk=
|
||||||
golang.org/x/text v0.26.0/go.mod h1:QK15LZJUUQVJxhz7wXgxSy/CJaTFjd0G+YLonydOVQA=
|
golang.org/x/text v0.34.0/go.mod h1:homfLqTYRFyVYemLBFl5GgL/DWEiH5wcsQ5gSh1yziA=
|
||||||
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
||||||
golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
||||||
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
|
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
|
||||||
golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
|
golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
|
||||||
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
|
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
|
||||||
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
|
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
|
||||||
golang.org/x/tools v0.33.0 h1:4qz2S3zmRxbGIhDIAgjxvFutSvH5EfnsYrRBj0UI0bc=
|
golang.org/x/tools v0.41.0 h1:a9b8iMweWG+S0OBnlU36rzLp20z1Rp10w+IY2czHTQc=
|
||||||
golang.org/x/tools v0.33.0/go.mod h1:CIJMaWEY88juyUfo7UbgPqbC8rU2OqfAV1h2Qp0oMYI=
|
golang.org/x/tools v0.41.0/go.mod h1:XSY6eDqxVNiYgezAVqqCeihT4j1U2CCsqvH3WhQpnlg=
|
||||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||||
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20250519155744-55703ea1f237 h1:cJfm9zPbe1e873mHJzmQ1nwVEeRDU/T1wXDK2kUSU34=
|
gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk=
|
||||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20250519155744-55703ea1f237/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A=
|
gonum.org/v1/gonum v0.16.0/go.mod h1:fef3am4MQ93R2HHpKnLk4/Tbh/s0+wqD5nfa6Pnwy4E=
|
||||||
google.golang.org/grpc v1.72.1 h1:HR03wO6eyZ7lknl75XlxABNVLLFc2PAb6mHlYh756mA=
|
google.golang.org/genproto/googleapis/api v0.0.0-20260223185530-2f722ef697dc h1:ULD+ToGXUIU6Pkzr1ARxdyvwfHbelw+agoFDRbLg4TU=
|
||||||
google.golang.org/grpc v1.72.1/go.mod h1:wH5Aktxcg25y1I3w7H69nHfXdOG3UiadoBtjh3izSDM=
|
google.golang.org/genproto/googleapis/api v0.0.0-20260223185530-2f722ef697dc/go.mod h1:M5krXqk4GhBKvB596udGL3UyjL4I1+cTbK0orROM9ng=
|
||||||
google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY=
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20260223185530-2f722ef697dc h1:51Wupg8spF+5FC6D+iMKbOddFjMckETnNnEiZ+HX37s=
|
||||||
google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY=
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20260223185530-2f722ef697dc/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8=
|
||||||
|
google.golang.org/grpc v1.79.1 h1:zGhSi45ODB9/p3VAawt9a+O/MULLl9dpizzNNpq7flY=
|
||||||
|
google.golang.org/grpc v1.79.1/go.mod h1:KmT0Kjez+0dde/v2j9vzwoAScgEPx/Bw1CYChhHLrHQ=
|
||||||
|
google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE=
|
||||||
|
google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
|
||||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||||
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
|
||||||
@@ -305,10 +351,9 @@ gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRN
|
|||||||
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||||
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
|
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
|
||||||
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
|
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
|
||||||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
|
||||||
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
||||||
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||||
lukechampine.com/frand v1.5.1 h1:fg0eRtdmGFIxhP5zQJzM1lFDbD6CUfu/f+7WgAZd5/w=
|
lukechampine.com/frand v1.5.1 h1:fg0eRtdmGFIxhP5zQJzM1lFDbD6CUfu/f+7WgAZd5/w=
|
||||||
lukechampine.com/frand v1.5.1/go.mod h1:4VstaWc2plN4Mjr10chUD46RAVGWhpkZ5Nja8+Azp0Q=
|
lukechampine.com/frand v1.5.1/go.mod h1:4VstaWc2plN4Mjr10chUD46RAVGWhpkZ5Nja8+Azp0Q=
|
||||||
pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw=
|
pgregory.net/rapid v1.2.0 h1:keKAYRcjm+e1F0oAuU5F5+YPAWcyxNNRK2wud503Gnk=
|
||||||
pgregory.net/rapid v1.1.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
|
pgregory.net/rapid v1.2.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
|
||||||
|
|||||||
1
sdk/java/.gitattributes
generated
vendored
Normal file
1
sdk/java/.gitattributes
generated
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
* linguist-generated
|
||||||
1
sdk/nodejs/.gitattributes
generated
vendored
Normal file
1
sdk/nodejs/.gitattributes
generated
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
* linguist-generated
|
||||||
2
sdk/nodejs/.gitignore
generated
vendored
Normal file
2
sdk/nodejs/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
node_modules/
|
||||||
|
bin/
|
||||||
1
sdk/python/.gitattributes
generated
vendored
Normal file
1
sdk/python/.gitattributes
generated
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
* linguist-generated
|
||||||
6
sdk/python/.gitignore
generated
vendored
Normal file
6
sdk/python/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
*.pyc
|
||||||
|
__pycache__
|
||||||
|
.mypy_cache
|
||||||
|
dist
|
||||||
|
build
|
||||||
|
*.egg-info
|
||||||
139
sdk/python/pulumi_docker_build/_inputs.py
generated
139
sdk/python/pulumi_docker_build/_inputs.py
generated
@@ -72,10 +72,7 @@ __all__ = [
|
|||||||
'SSHArgsDict',
|
'SSHArgsDict',
|
||||||
]
|
]
|
||||||
|
|
||||||
MYPY = False
|
class BuildContextArgsDict(TypedDict):
|
||||||
|
|
||||||
if not MYPY:
|
|
||||||
class BuildContextArgsDict(TypedDict):
|
|
||||||
location: pulumi.Input[_builtins.str]
|
location: pulumi.Input[_builtins.str]
|
||||||
"""
|
"""
|
||||||
Resources to use for build context.
|
Resources to use for build context.
|
||||||
@@ -96,8 +93,6 @@ if not MYPY:
|
|||||||
|
|
||||||
Values can be local paths, HTTP URLs, or `docker-image://` images.
|
Values can be local paths, HTTP URLs, or `docker-image://` images.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
BuildContextArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class BuildContextArgs:
|
class BuildContextArgs:
|
||||||
@@ -161,8 +156,7 @@ class BuildContextArgs:
|
|||||||
pulumi.set(self, "named", value)
|
pulumi.set(self, "named", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class BuilderConfigArgsDict(TypedDict):
|
||||||
class BuilderConfigArgsDict(TypedDict):
|
|
||||||
name: NotRequired[pulumi.Input[_builtins.str]]
|
name: NotRequired[pulumi.Input[_builtins.str]]
|
||||||
"""
|
"""
|
||||||
Name of an existing buildx builder to use.
|
Name of an existing buildx builder to use.
|
||||||
@@ -172,8 +166,6 @@ if not MYPY:
|
|||||||
|
|
||||||
Equivalent to Docker's `--builder` flag.
|
Equivalent to Docker's `--builder` flag.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
BuilderConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class BuilderConfigArgs:
|
class BuilderConfigArgs:
|
||||||
@@ -208,8 +200,7 @@ class BuilderConfigArgs:
|
|||||||
pulumi.set(self, "name", value)
|
pulumi.set(self, "name", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class CacheFromAzureBlobArgsDict(TypedDict):
|
||||||
class CacheFromAzureBlobArgsDict(TypedDict):
|
|
||||||
name: pulumi.Input[_builtins.str]
|
name: pulumi.Input[_builtins.str]
|
||||||
"""
|
"""
|
||||||
The name of the cache image.
|
The name of the cache image.
|
||||||
@@ -222,8 +213,6 @@ if not MYPY:
|
|||||||
"""
|
"""
|
||||||
Blob storage account key.
|
Blob storage account key.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
CacheFromAzureBlobArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class CacheFromAzureBlobArgs:
|
class CacheFromAzureBlobArgs:
|
||||||
@@ -279,8 +268,7 @@ class CacheFromAzureBlobArgs:
|
|||||||
pulumi.set(self, "secret_access_key", value)
|
pulumi.set(self, "secret_access_key", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class CacheFromGitHubActionsArgsDict(TypedDict):
|
||||||
class CacheFromGitHubActionsArgsDict(TypedDict):
|
|
||||||
"""
|
"""
|
||||||
Recommended for use with GitHub Actions workflows.
|
Recommended for use with GitHub Actions workflows.
|
||||||
|
|
||||||
@@ -294,8 +282,6 @@ if not MYPY:
|
|||||||
This should be set if building and caching multiple images in one
|
This should be set if building and caching multiple images in one
|
||||||
workflow, otherwise caches will overwrite each other.
|
workflow, otherwise caches will overwrite each other.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
CacheFromGitHubActionsArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class CacheFromGitHubActionsArgs:
|
class CacheFromGitHubActionsArgs:
|
||||||
@@ -306,6 +292,7 @@ class CacheFromGitHubActionsArgs:
|
|||||||
|
|
||||||
An action like `crazy-max/ghaction-github-runtime` is recommended to expose
|
An action like `crazy-max/ghaction-github-runtime` is recommended to expose
|
||||||
appropriate credentials to your GitHub workflow.
|
appropriate credentials to your GitHub workflow.
|
||||||
|
|
||||||
:param pulumi.Input[_builtins.str] scope: The scope to use for cache keys. Defaults to `buildkit`.
|
:param pulumi.Input[_builtins.str] scope: The scope to use for cache keys. Defaults to `buildkit`.
|
||||||
|
|
||||||
This should be set if building and caching multiple images in one
|
This should be set if building and caching multiple images in one
|
||||||
@@ -332,8 +319,7 @@ class CacheFromGitHubActionsArgs:
|
|||||||
pulumi.set(self, "scope", value)
|
pulumi.set(self, "scope", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class CacheFromLocalArgsDict(TypedDict):
|
||||||
class CacheFromLocalArgsDict(TypedDict):
|
|
||||||
src: pulumi.Input[_builtins.str]
|
src: pulumi.Input[_builtins.str]
|
||||||
"""
|
"""
|
||||||
Path of the local directory where cache gets imported from.
|
Path of the local directory where cache gets imported from.
|
||||||
@@ -342,8 +328,6 @@ if not MYPY:
|
|||||||
"""
|
"""
|
||||||
Digest of manifest to import.
|
Digest of manifest to import.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
CacheFromLocalArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class CacheFromLocalArgs:
|
class CacheFromLocalArgs:
|
||||||
@@ -383,14 +367,11 @@ class CacheFromLocalArgs:
|
|||||||
pulumi.set(self, "digest", value)
|
pulumi.set(self, "digest", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class CacheFromRegistryArgsDict(TypedDict):
|
||||||
class CacheFromRegistryArgsDict(TypedDict):
|
|
||||||
ref: pulumi.Input[_builtins.str]
|
ref: pulumi.Input[_builtins.str]
|
||||||
"""
|
"""
|
||||||
Fully qualified name of the cache image to import.
|
Fully qualified name of the cache image to import.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
CacheFromRegistryArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class CacheFromRegistryArgs:
|
class CacheFromRegistryArgs:
|
||||||
@@ -414,8 +395,7 @@ class CacheFromRegistryArgs:
|
|||||||
pulumi.set(self, "ref", value)
|
pulumi.set(self, "ref", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class CacheFromS3ArgsDict(TypedDict):
|
||||||
class CacheFromS3ArgsDict(TypedDict):
|
|
||||||
bucket: pulumi.Input[_builtins.str]
|
bucket: pulumi.Input[_builtins.str]
|
||||||
"""
|
"""
|
||||||
Name of the S3 bucket.
|
Name of the S3 bucket.
|
||||||
@@ -456,8 +436,6 @@ if not MYPY:
|
|||||||
"""
|
"""
|
||||||
Uses `bucket` in the URL instead of hostname when `true`.
|
Uses `bucket` in the URL instead of hostname when `true`.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
CacheFromS3ArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class CacheFromS3Args:
|
class CacheFromS3Args:
|
||||||
@@ -632,8 +610,7 @@ class CacheFromS3Args:
|
|||||||
pulumi.set(self, "use_path_style", value)
|
pulumi.set(self, "use_path_style", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class CacheFromArgsDict(TypedDict):
|
||||||
class CacheFromArgsDict(TypedDict):
|
|
||||||
azblob: NotRequired[pulumi.Input['CacheFromAzureBlobArgsDict']]
|
azblob: NotRequired[pulumi.Input['CacheFromAzureBlobArgsDict']]
|
||||||
"""
|
"""
|
||||||
Upload build caches to Azure's blob storage service.
|
Upload build caches to Azure's blob storage service.
|
||||||
@@ -667,8 +644,6 @@ if not MYPY:
|
|||||||
Upload build caches to AWS S3 or an S3-compatible services such as
|
Upload build caches to AWS S3 or an S3-compatible services such as
|
||||||
MinIO.
|
MinIO.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
CacheFromArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class CacheFromArgs:
|
class CacheFromArgs:
|
||||||
@@ -799,8 +774,7 @@ class CacheFromArgs:
|
|||||||
pulumi.set(self, "s3", value)
|
pulumi.set(self, "s3", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class CacheToAzureBlobArgsDict(TypedDict):
|
||||||
class CacheToAzureBlobArgsDict(TypedDict):
|
|
||||||
name: pulumi.Input[_builtins.str]
|
name: pulumi.Input[_builtins.str]
|
||||||
"""
|
"""
|
||||||
The name of the cache image.
|
The name of the cache image.
|
||||||
@@ -821,8 +795,6 @@ if not MYPY:
|
|||||||
"""
|
"""
|
||||||
Blob storage account key.
|
Blob storage account key.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
CacheToAzureBlobArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class CacheToAzureBlobArgs:
|
class CacheToAzureBlobArgs:
|
||||||
@@ -914,8 +886,7 @@ class CacheToAzureBlobArgs:
|
|||||||
pulumi.set(self, "secret_access_key", value)
|
pulumi.set(self, "secret_access_key", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class CacheToGitHubActionsArgsDict(TypedDict):
|
||||||
class CacheToGitHubActionsArgsDict(TypedDict):
|
|
||||||
"""
|
"""
|
||||||
Recommended for use with GitHub Actions workflows.
|
Recommended for use with GitHub Actions workflows.
|
||||||
|
|
||||||
@@ -937,8 +908,6 @@ if not MYPY:
|
|||||||
This should be set if building and caching multiple images in one
|
This should be set if building and caching multiple images in one
|
||||||
workflow, otherwise caches will overwrite each other.
|
workflow, otherwise caches will overwrite each other.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
CacheToGitHubActionsArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class CacheToGitHubActionsArgs:
|
class CacheToGitHubActionsArgs:
|
||||||
@@ -951,6 +920,7 @@ class CacheToGitHubActionsArgs:
|
|||||||
|
|
||||||
An action like `crazy-max/ghaction-github-runtime` is recommended to expose
|
An action like `crazy-max/ghaction-github-runtime` is recommended to expose
|
||||||
appropriate credentials to your GitHub workflow.
|
appropriate credentials to your GitHub workflow.
|
||||||
|
|
||||||
:param pulumi.Input[_builtins.bool] ignore_error: Ignore errors caused by failed cache exports.
|
:param pulumi.Input[_builtins.bool] ignore_error: Ignore errors caused by failed cache exports.
|
||||||
:param pulumi.Input['CacheMode'] mode: The cache mode to use. Defaults to `min`.
|
:param pulumi.Input['CacheMode'] mode: The cache mode to use. Defaults to `min`.
|
||||||
:param pulumi.Input[_builtins.str] scope: The scope to use for cache keys. Defaults to `buildkit`.
|
:param pulumi.Input[_builtins.str] scope: The scope to use for cache keys. Defaults to `buildkit`.
|
||||||
@@ -1011,14 +981,11 @@ class CacheToGitHubActionsArgs:
|
|||||||
pulumi.set(self, "scope", value)
|
pulumi.set(self, "scope", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class CacheToInlineArgsDict(TypedDict):
|
||||||
class CacheToInlineArgsDict(TypedDict):
|
|
||||||
"""
|
"""
|
||||||
Include an inline cache with the exported image.
|
Include an inline cache with the exported image.
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
elif False:
|
|
||||||
CacheToInlineArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class CacheToInlineArgs:
|
class CacheToInlineArgs:
|
||||||
@@ -1029,8 +996,7 @@ class CacheToInlineArgs:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class CacheToLocalArgsDict(TypedDict):
|
||||||
class CacheToLocalArgsDict(TypedDict):
|
|
||||||
dest: pulumi.Input[_builtins.str]
|
dest: pulumi.Input[_builtins.str]
|
||||||
"""
|
"""
|
||||||
Path of the local directory to export the cache.
|
Path of the local directory to export the cache.
|
||||||
@@ -1055,8 +1021,6 @@ if not MYPY:
|
|||||||
"""
|
"""
|
||||||
The cache mode to use. Defaults to `min`.
|
The cache mode to use. Defaults to `min`.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
CacheToLocalArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class CacheToLocalArgs:
|
class CacheToLocalArgs:
|
||||||
@@ -1170,8 +1134,7 @@ class CacheToLocalArgs:
|
|||||||
pulumi.set(self, "mode", value)
|
pulumi.set(self, "mode", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class CacheToRegistryArgsDict(TypedDict):
|
||||||
class CacheToRegistryArgsDict(TypedDict):
|
|
||||||
ref: pulumi.Input[_builtins.str]
|
ref: pulumi.Input[_builtins.str]
|
||||||
"""
|
"""
|
||||||
Fully qualified name of the cache image to import.
|
Fully qualified name of the cache image to import.
|
||||||
@@ -1211,8 +1174,6 @@ if not MYPY:
|
|||||||
Whether to use OCI media types in exported manifests. Defaults to
|
Whether to use OCI media types in exported manifests. Defaults to
|
||||||
`true`.
|
`true`.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
CacheToRegistryArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class CacheToRegistryArgs:
|
class CacheToRegistryArgs:
|
||||||
@@ -1376,8 +1337,7 @@ class CacheToRegistryArgs:
|
|||||||
pulumi.set(self, "oci_media_types", value)
|
pulumi.set(self, "oci_media_types", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class CacheToS3ArgsDict(TypedDict):
|
||||||
class CacheToS3ArgsDict(TypedDict):
|
|
||||||
bucket: pulumi.Input[_builtins.str]
|
bucket: pulumi.Input[_builtins.str]
|
||||||
"""
|
"""
|
||||||
Name of the S3 bucket.
|
Name of the S3 bucket.
|
||||||
@@ -1426,8 +1386,6 @@ if not MYPY:
|
|||||||
"""
|
"""
|
||||||
Uses `bucket` in the URL instead of hostname when `true`.
|
Uses `bucket` in the URL instead of hostname when `true`.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
CacheToS3ArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class CacheToS3Args:
|
class CacheToS3Args:
|
||||||
@@ -1638,8 +1596,7 @@ class CacheToS3Args:
|
|||||||
pulumi.set(self, "use_path_style", value)
|
pulumi.set(self, "use_path_style", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class CacheToArgsDict(TypedDict):
|
||||||
class CacheToArgsDict(TypedDict):
|
|
||||||
azblob: NotRequired[pulumi.Input['CacheToAzureBlobArgsDict']]
|
azblob: NotRequired[pulumi.Input['CacheToAzureBlobArgsDict']]
|
||||||
"""
|
"""
|
||||||
Push cache to Azure's blob storage service.
|
Push cache to Azure's blob storage service.
|
||||||
@@ -1679,8 +1636,6 @@ if not MYPY:
|
|||||||
"""
|
"""
|
||||||
Push cache to AWS S3 or S3-compatible services such as MinIO.
|
Push cache to AWS S3 or S3-compatible services such as MinIO.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
CacheToArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class CacheToArgs:
|
class CacheToArgs:
|
||||||
@@ -1831,8 +1786,7 @@ class CacheToArgs:
|
|||||||
pulumi.set(self, "s3", value)
|
pulumi.set(self, "s3", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class ContextArgsDict(TypedDict):
|
||||||
class ContextArgsDict(TypedDict):
|
|
||||||
location: pulumi.Input[_builtins.str]
|
location: pulumi.Input[_builtins.str]
|
||||||
"""
|
"""
|
||||||
Resources to use for build context.
|
Resources to use for build context.
|
||||||
@@ -1844,8 +1798,6 @@ if not MYPY:
|
|||||||
(`https://github.com/user/myrepo.git`, `http://server/context.tar.gz`,
|
(`https://github.com/user/myrepo.git`, `http://server/context.tar.gz`,
|
||||||
etc.).
|
etc.).
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
ContextArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class ContextArgs:
|
class ContextArgs:
|
||||||
@@ -1883,8 +1835,7 @@ class ContextArgs:
|
|||||||
pulumi.set(self, "location", value)
|
pulumi.set(self, "location", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class DockerfileArgsDict(TypedDict):
|
||||||
class DockerfileArgsDict(TypedDict):
|
|
||||||
inline: NotRequired[pulumi.Input[_builtins.str]]
|
inline: NotRequired[pulumi.Input[_builtins.str]]
|
||||||
"""
|
"""
|
||||||
Raw Dockerfile contents.
|
Raw Dockerfile contents.
|
||||||
@@ -1903,8 +1854,6 @@ if not MYPY:
|
|||||||
|
|
||||||
Conflicts with `inline`.
|
Conflicts with `inline`.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
DockerfileArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class DockerfileArgs:
|
class DockerfileArgs:
|
||||||
@@ -1965,11 +1914,8 @@ class DockerfileArgs:
|
|||||||
pulumi.set(self, "location", value)
|
pulumi.set(self, "location", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class ExportCacheOnlyArgsDict(TypedDict):
|
||||||
class ExportCacheOnlyArgsDict(TypedDict):
|
|
||||||
pass
|
pass
|
||||||
elif False:
|
|
||||||
ExportCacheOnlyArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class ExportCacheOnlyArgs:
|
class ExportCacheOnlyArgs:
|
||||||
@@ -1977,8 +1923,7 @@ class ExportCacheOnlyArgs:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class ExportDockerArgsDict(TypedDict):
|
||||||
class ExportDockerArgsDict(TypedDict):
|
|
||||||
annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
||||||
"""
|
"""
|
||||||
Attach an arbitrary key/value annotation to the image.
|
Attach an arbitrary key/value annotation to the image.
|
||||||
@@ -2011,8 +1956,6 @@ if not MYPY:
|
|||||||
"""
|
"""
|
||||||
Bundle the output into a tarball layout.
|
Bundle the output into a tarball layout.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
ExportDockerArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class ExportDockerArgs:
|
class ExportDockerArgs:
|
||||||
@@ -2159,8 +2102,7 @@ class ExportDockerArgs:
|
|||||||
pulumi.set(self, "tar", value)
|
pulumi.set(self, "tar", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class ExportImageArgsDict(TypedDict):
|
||||||
class ExportImageArgsDict(TypedDict):
|
|
||||||
annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
||||||
"""
|
"""
|
||||||
Attach an arbitrary key/value annotation to the image.
|
Attach an arbitrary key/value annotation to the image.
|
||||||
@@ -2220,8 +2162,6 @@ if not MYPY:
|
|||||||
Unpack image after creation (for use with containerd). Defaults to
|
Unpack image after creation (for use with containerd). Defaults to
|
||||||
`false`.
|
`false`.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
ExportImageArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class ExportImageArgs:
|
class ExportImageArgs:
|
||||||
@@ -2462,14 +2402,11 @@ class ExportImageArgs:
|
|||||||
pulumi.set(self, "unpack", value)
|
pulumi.set(self, "unpack", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class ExportLocalArgsDict(TypedDict):
|
||||||
class ExportLocalArgsDict(TypedDict):
|
|
||||||
dest: pulumi.Input[_builtins.str]
|
dest: pulumi.Input[_builtins.str]
|
||||||
"""
|
"""
|
||||||
Output path.
|
Output path.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
ExportLocalArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class ExportLocalArgs:
|
class ExportLocalArgs:
|
||||||
@@ -2493,8 +2430,7 @@ class ExportLocalArgs:
|
|||||||
pulumi.set(self, "dest", value)
|
pulumi.set(self, "dest", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class ExportOCIArgsDict(TypedDict):
|
||||||
class ExportOCIArgsDict(TypedDict):
|
|
||||||
annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
||||||
"""
|
"""
|
||||||
Attach an arbitrary key/value annotation to the image.
|
Attach an arbitrary key/value annotation to the image.
|
||||||
@@ -2527,8 +2463,6 @@ if not MYPY:
|
|||||||
"""
|
"""
|
||||||
Bundle the output into a tarball layout.
|
Bundle the output into a tarball layout.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
ExportOCIArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class ExportOCIArgs:
|
class ExportOCIArgs:
|
||||||
@@ -2675,8 +2609,7 @@ class ExportOCIArgs:
|
|||||||
pulumi.set(self, "tar", value)
|
pulumi.set(self, "tar", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class ExportRegistryArgsDict(TypedDict):
|
||||||
class ExportRegistryArgsDict(TypedDict):
|
|
||||||
annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
annotations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
||||||
"""
|
"""
|
||||||
Attach an arbitrary key/value annotation to the image.
|
Attach an arbitrary key/value annotation to the image.
|
||||||
@@ -2736,8 +2669,6 @@ if not MYPY:
|
|||||||
Unpack image after creation (for use with containerd). Defaults to
|
Unpack image after creation (for use with containerd). Defaults to
|
||||||
`false`.
|
`false`.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
ExportRegistryArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class ExportRegistryArgs:
|
class ExportRegistryArgs:
|
||||||
@@ -2980,14 +2911,11 @@ class ExportRegistryArgs:
|
|||||||
pulumi.set(self, "unpack", value)
|
pulumi.set(self, "unpack", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class ExportTarArgsDict(TypedDict):
|
||||||
class ExportTarArgsDict(TypedDict):
|
|
||||||
dest: pulumi.Input[_builtins.str]
|
dest: pulumi.Input[_builtins.str]
|
||||||
"""
|
"""
|
||||||
Output path.
|
Output path.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
ExportTarArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class ExportTarArgs:
|
class ExportTarArgs:
|
||||||
@@ -3011,8 +2939,7 @@ class ExportTarArgs:
|
|||||||
pulumi.set(self, "dest", value)
|
pulumi.set(self, "dest", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class ExportArgsDict(TypedDict):
|
||||||
class ExportArgsDict(TypedDict):
|
|
||||||
cacheonly: NotRequired[pulumi.Input['ExportCacheOnlyArgsDict']]
|
cacheonly: NotRequired[pulumi.Input['ExportCacheOnlyArgsDict']]
|
||||||
"""
|
"""
|
||||||
A no-op export. Helpful for silencing the 'no exports' warning if you
|
A no-op export. Helpful for silencing the 'no exports' warning if you
|
||||||
@@ -3051,8 +2978,6 @@ if not MYPY:
|
|||||||
"""
|
"""
|
||||||
Export to a local directory as a tarball.
|
Export to a local directory as a tarball.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
ExportArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class ExportArgs:
|
class ExportArgs:
|
||||||
@@ -3209,8 +3134,7 @@ class ExportArgs:
|
|||||||
pulumi.set(self, "tar", value)
|
pulumi.set(self, "tar", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class RegistryArgsDict(TypedDict):
|
||||||
class RegistryArgsDict(TypedDict):
|
|
||||||
address: pulumi.Input[_builtins.str]
|
address: pulumi.Input[_builtins.str]
|
||||||
"""
|
"""
|
||||||
The registry's address (e.g. "docker.io").
|
The registry's address (e.g. "docker.io").
|
||||||
@@ -3223,8 +3147,6 @@ if not MYPY:
|
|||||||
"""
|
"""
|
||||||
Username for the registry.
|
Username for the registry.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
RegistryArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class RegistryArgs:
|
class RegistryArgs:
|
||||||
@@ -3280,8 +3202,7 @@ class RegistryArgs:
|
|||||||
pulumi.set(self, "username", value)
|
pulumi.set(self, "username", value)
|
||||||
|
|
||||||
|
|
||||||
if not MYPY:
|
class SSHArgsDict(TypedDict):
|
||||||
class SSHArgsDict(TypedDict):
|
|
||||||
id: pulumi.Input[_builtins.str]
|
id: pulumi.Input[_builtins.str]
|
||||||
"""
|
"""
|
||||||
Useful for distinguishing different servers that are part of the same
|
Useful for distinguishing different servers that are part of the same
|
||||||
@@ -3300,8 +3221,6 @@ if not MYPY:
|
|||||||
agent. Run `ssh-add -l` locally to confirm which public keys are
|
agent. Run `ssh-add -l` locally to confirm which public keys are
|
||||||
visible to the agent; these will be exposed to your build.
|
visible to the agent; these will be exposed to your build.
|
||||||
"""
|
"""
|
||||||
elif False:
|
|
||||||
SSHArgsDict: TypeAlias = Mapping[str, Any]
|
|
||||||
|
|
||||||
@pulumi.input_type
|
@pulumi.input_type
|
||||||
class SSHArgs:
|
class SSHArgs:
|
||||||
|
|||||||
3
sdk/python/pulumi_docker_build/_utilities.py
generated
3
sdk/python/pulumi_docker_build/_utilities.py
generated
@@ -71,9 +71,6 @@ def _get_semver_version():
|
|||||||
# <some module>._utilities. <some module> is the module we want to query the version for.
|
# <some module>._utilities. <some module> is the module we want to query the version for.
|
||||||
root_package, *rest = __name__.split('.')
|
root_package, *rest = __name__.split('.')
|
||||||
|
|
||||||
# pkg_resources uses setuptools to inspect the set of installed packages. We use it here to ask
|
|
||||||
# for the currently installed version of the root package (i.e. us) and get its version.
|
|
||||||
|
|
||||||
# Unfortunately, PEP440 and semver differ slightly in incompatible ways. The Pulumi engine expects
|
# Unfortunately, PEP440 and semver differ slightly in incompatible ways. The Pulumi engine expects
|
||||||
# to receive a valid semver string when receiving requests from the language host, so it's our
|
# to receive a valid semver string when receiving requests from the language host, so it's our
|
||||||
# responsibility as the library to convert our own PEP440 version into a valid semver string.
|
# responsibility as the library to convert our own PEP440 version into a valid semver string.
|
||||||
|
|||||||
3
sdk/python/pulumi_docker_build/image.py
generated
3
sdk/python/pulumi_docker_build/image.py
generated
@@ -46,6 +46,7 @@ class ImageArgs:
|
|||||||
target: Optional[pulumi.Input[_builtins.str]] = None):
|
target: Optional[pulumi.Input[_builtins.str]] = None):
|
||||||
"""
|
"""
|
||||||
The set of arguments for constructing a Image resource.
|
The set of arguments for constructing a Image resource.
|
||||||
|
|
||||||
:param pulumi.Input[_builtins.bool] push: When `true` the build will automatically include a `registry` export.
|
:param pulumi.Input[_builtins.bool] push: When `true` the build will automatically include a `registry` export.
|
||||||
|
|
||||||
Defaults to `false`.
|
Defaults to `false`.
|
||||||
@@ -918,6 +919,7 @@ class Image(pulumi.CustomResource):
|
|||||||
push=False)
|
push=False)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
:param str resource_name: The name of the resource.
|
:param str resource_name: The name of the resource.
|
||||||
:param pulumi.ResourceOptions opts: Options for the resource.
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
||||||
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] add_hosts: Custom `host:ip` mappings to use during the build.
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] add_hosts: Custom `host:ip` mappings to use during the build.
|
||||||
@@ -1356,6 +1358,7 @@ class Image(pulumi.CustomResource):
|
|||||||
push=False)
|
push=False)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
:param str resource_name: The name of the resource.
|
:param str resource_name: The name of the resource.
|
||||||
:param ImageArgs args: The arguments to use to populate this resource's properties.
|
:param ImageArgs args: The arguments to use to populate this resource's properties.
|
||||||
:param pulumi.ResourceOptions opts: Options for the resource.
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
||||||
|
|||||||
3
sdk/python/pulumi_docker_build/index.py
generated
3
sdk/python/pulumi_docker_build/index.py
generated
@@ -27,6 +27,7 @@ class IndexArgs:
|
|||||||
registry: Optional[pulumi.Input['RegistryArgs']] = None):
|
registry: Optional[pulumi.Input['RegistryArgs']] = None):
|
||||||
"""
|
"""
|
||||||
The set of arguments for constructing a Index resource.
|
The set of arguments for constructing a Index resource.
|
||||||
|
|
||||||
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] sources: Existing images to include in the index.
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] sources: Existing images to include in the index.
|
||||||
:param pulumi.Input[_builtins.str] tag: The tag to apply to the index.
|
:param pulumi.Input[_builtins.str] tag: The tag to apply to the index.
|
||||||
:param pulumi.Input[_builtins.bool] push: If true, push the index to the target registry.
|
:param pulumi.Input[_builtins.bool] push: If true, push the index to the target registry.
|
||||||
@@ -179,6 +180,7 @@ class Index(pulumi.CustomResource):
|
|||||||
pulumi.export("ref", index.ref)
|
pulumi.export("ref", index.ref)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
:param str resource_name: The name of the resource.
|
:param str resource_name: The name of the resource.
|
||||||
:param pulumi.ResourceOptions opts: Options for the resource.
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
||||||
:param pulumi.Input[_builtins.bool] push: If true, push the index to the target registry.
|
:param pulumi.Input[_builtins.bool] push: If true, push the index to the target registry.
|
||||||
@@ -266,6 +268,7 @@ class Index(pulumi.CustomResource):
|
|||||||
pulumi.export("ref", index.ref)
|
pulumi.export("ref", index.ref)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
:param str resource_name: The name of the resource.
|
:param str resource_name: The name of the resource.
|
||||||
:param IndexArgs args: The arguments to use to populate this resource's properties.
|
:param IndexArgs args: The arguments to use to populate this resource's properties.
|
||||||
:param pulumi.ResourceOptions opts: Options for the resource.
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
||||||
|
|||||||
2
sdk/python/pulumi_docker_build/outputs.py
generated
2
sdk/python/pulumi_docker_build/outputs.py
generated
@@ -306,6 +306,7 @@ class CacheFromGitHubActions(dict):
|
|||||||
|
|
||||||
An action like `crazy-max/ghaction-github-runtime` is recommended to expose
|
An action like `crazy-max/ghaction-github-runtime` is recommended to expose
|
||||||
appropriate credentials to your GitHub workflow.
|
appropriate credentials to your GitHub workflow.
|
||||||
|
|
||||||
:param _builtins.str scope: The scope to use for cache keys. Defaults to `buildkit`.
|
:param _builtins.str scope: The scope to use for cache keys. Defaults to `buildkit`.
|
||||||
|
|
||||||
This should be set if building and caching multiple images in one
|
This should be set if building and caching multiple images in one
|
||||||
@@ -780,6 +781,7 @@ class CacheToGitHubActions(dict):
|
|||||||
|
|
||||||
An action like `crazy-max/ghaction-github-runtime` is recommended to expose
|
An action like `crazy-max/ghaction-github-runtime` is recommended to expose
|
||||||
appropriate credentials to your GitHub workflow.
|
appropriate credentials to your GitHub workflow.
|
||||||
|
|
||||||
:param _builtins.bool ignore_error: Ignore errors caused by failed cache exports.
|
:param _builtins.bool ignore_error: Ignore errors caused by failed cache exports.
|
||||||
:param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
|
:param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
|
||||||
:param _builtins.str scope: The scope to use for cache keys. Defaults to `buildkit`.
|
:param _builtins.str scope: The scope to use for cache keys. Defaults to `buildkit`.
|
||||||
|
|||||||
3
sdk/python/pulumi_docker_build/provider.py
generated
3
sdk/python/pulumi_docker_build/provider.py
generated
@@ -24,6 +24,7 @@ class ProviderArgs:
|
|||||||
registries: Optional[pulumi.Input[Sequence[pulumi.Input['RegistryArgs']]]] = None):
|
registries: Optional[pulumi.Input[Sequence[pulumi.Input['RegistryArgs']]]] = None):
|
||||||
"""
|
"""
|
||||||
The set of arguments for constructing a Provider resource.
|
The set of arguments for constructing a Provider resource.
|
||||||
|
|
||||||
:param pulumi.Input[_builtins.str] host: The build daemon's address.
|
:param pulumi.Input[_builtins.str] host: The build daemon's address.
|
||||||
"""
|
"""
|
||||||
if host is None:
|
if host is None:
|
||||||
@@ -66,6 +67,7 @@ class Provider(pulumi.ProviderResource):
|
|||||||
__props__=None):
|
__props__=None):
|
||||||
"""
|
"""
|
||||||
Create a Docker-build resource with the given unique name, props, and options.
|
Create a Docker-build resource with the given unique name, props, and options.
|
||||||
|
|
||||||
:param str resource_name: The name of the resource.
|
:param str resource_name: The name of the resource.
|
||||||
:param pulumi.ResourceOptions opts: Options for the resource.
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
||||||
:param pulumi.Input[_builtins.str] host: The build daemon's address.
|
:param pulumi.Input[_builtins.str] host: The build daemon's address.
|
||||||
@@ -78,6 +80,7 @@ class Provider(pulumi.ProviderResource):
|
|||||||
opts: Optional[pulumi.ResourceOptions] = None):
|
opts: Optional[pulumi.ResourceOptions] = None):
|
||||||
"""
|
"""
|
||||||
Create a Docker-build resource with the given unique name, props, and options.
|
Create a Docker-build resource with the given unique name, props, and options.
|
||||||
|
|
||||||
:param str resource_name: The name of the resource.
|
:param str resource_name: The name of the resource.
|
||||||
:param ProviderArgs args: The arguments to use to populate this resource's properties.
|
:param ProviderArgs args: The arguments to use to populate this resource's properties.
|
||||||
:param pulumi.ResourceOptions opts: Options for the resource.
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
//go:build tools
|
|
||||||
// +build tools
|
|
||||||
|
|
||||||
// See https://play-with-go.dev/tools-as-dependencies_go119_en/ for an explanation of this file.
|
|
||||||
package tools
|
|
||||||
|
|
||||||
import (
|
|
||||||
_ "github.com/golangci/golangci-lint/cmd/golangci-lint"
|
|
||||||
_ "github.com/pulumi/pulumi-dotnet/pulumi-language-dotnet/v3"
|
|
||||||
_ "github.com/pulumi/pulumi-java/pkg/cmd/pulumi-language-java"
|
|
||||||
_ "github.com/pulumi/pulumi-yaml/cmd/pulumi-converter-yaml"
|
|
||||||
_ "github.com/pulumi/pulumi-yaml/cmd/pulumi-language-yaml"
|
|
||||||
_ "github.com/pulumi/pulumi/pkg/v3/cmd/pulumi"
|
|
||||||
_ "github.com/pulumi/pulumi/sdk/go/pulumi-language-go/v3"
|
|
||||||
_ "github.com/pulumi/pulumi/sdk/nodejs/cmd/pulumi-language-nodejs/v3"
|
|
||||||
_ "github.com/pulumi/pulumi/sdk/python/cmd/pulumi-language-python/v3"
|
|
||||||
)
|
|
||||||
Reference in New Issue
Block a user