Compare commits
1 Commits
update-pul
...
update-git
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de507af39b |
@@ -9,12 +9,21 @@ gcp: true
|
|||||||
sdkModuleDir: sdk/go/dockerbuild
|
sdkModuleDir: sdk/go/dockerbuild
|
||||||
parallel: 3
|
parallel: 3
|
||||||
esc:
|
esc:
|
||||||
enabled: true
|
enabled: true
|
||||||
envOverride:
|
envOverride:
|
||||||
GOOGLE_CI_SERVICE_ACCOUNT_EMAIL: pulumi-ci@pulumi-ci-gcp-provider.iam.gserviceaccount.com
|
AWS_REGION: us-west-2
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci
|
PULUMI_API: "https://api.pulumi-staging.io"
|
||||||
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci
|
ARM_CLIENT_ID: 30e520fa-12b4-4e21-b473-9426c5ac2e1e
|
||||||
GOOGLE_PROJECT: pulumi-ci-gcp-provider
|
ARM_SUBSCRIPTION_ID: 0282681f-7a9e-424b-80b2-96babd57a8a1
|
||||||
GOOGLE_PROJECT_NUMBER: "895284651812"
|
ARM_TENANT_ID: 706143bc-e1d4-4593-aee2-c9dc60ab9be7
|
||||||
GOOGLE_REGION: us-central1
|
ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }}
|
||||||
GOOGLE_ZONE: us-central1-a
|
AZURE_LOCATION: westus
|
||||||
|
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
|
||||||
|
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
|
||||||
|
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||||
|
|||||||
2
.github/actions/setup-tools/action.yml
vendored
2
.github/actions/setup-tools/action.yml
vendored
@@ -18,7 +18,7 @@ runs:
|
|||||||
env:
|
env:
|
||||||
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
||||||
with:
|
with:
|
||||||
version: 2026.2.15
|
version: 2026.2.10
|
||||||
cache_save: ${{ inputs.cache }}
|
cache_save: ${{ inputs.cache }}
|
||||||
github_token: ${{ inputs.github_token }}
|
github_token: ${{ inputs.github_token }}
|
||||||
|
|
||||||
|
|||||||
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -16,12 +16,19 @@ on:
|
|||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
env:
|
env:
|
||||||
PROVIDER: docker-build
|
PROVIDER: docker-build
|
||||||
|
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||||
TRAVIS_OS_NAME: linux
|
TRAVIS_OS_NAME: linux
|
||||||
|
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
|
||||||
GOVERSION: "1.21.x"
|
GOVERSION: "1.21.x"
|
||||||
NODEVERSION: "20.x"
|
NODEVERSION: "20.x"
|
||||||
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,9 +37,6 @@ 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:
|
||||||
@@ -137,6 +141,9 @@ jobs:
|
|||||||
- 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
|
||||||
|
|||||||
9
.github/workflows/claude.yml
vendored
9
.github/workflows/claude.yml
vendored
@@ -60,15 +60,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
||||||
with:
|
with:
|
||||||
version: 2026.2.15
|
version: 2026.2.10
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# only saving the cache in the prerequisites job
|
# only saving the cache in the prerequisites job
|
||||||
cache_save: false
|
cache_save: false
|
||||||
- name: Set git identity
|
|
||||||
run: |-
|
|
||||||
git config user.name "claude[bot]"
|
|
||||||
git config user.email "bot@pulumi.com"
|
|
||||||
shell: bash
|
|
||||||
- name: Prepare local workspace
|
- name: Prepare local workspace
|
||||||
# this runs install_plugins and upstream
|
# this runs install_plugins and upstream
|
||||||
run: make prepare_local_workspace
|
run: make prepare_local_workspace
|
||||||
@@ -120,7 +115,7 @@ jobs:
|
|||||||
}
|
}
|
||||||
claude_args: |
|
claude_args: |
|
||||||
--max-turns 50
|
--max-turns 50
|
||||||
--allowedTools "Skill,Edit,MultiEdit,Write,Read,Glob,Grep,LS,Bash(upgrade-provider *),Bash(./scripts/upstream.sh *),Bash(git *),Bash(GIT_EDITOR=* git *),Bash(make *),Bash(gh *),Bash(mkdir *),Bash(go install *),Bash(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 *)"
|
--allowedTools "Skill,Edit,MultiEdit,Write,Read,Glob,Grep,LS,Bash(upgrade-provider *),Bash(./scripts/upstream.sh *),Bash(git *),Bash(GIT_EDITOR=* git *),Bash(make *),Bash(gh *),Bash(mkdir *),Bash(go install *),Bash(ls *),Bash(test *),Bash(cat *),Bash(pwd),Bash(head *),Bash(tail *),Bash(tee *),Bash(rg *),Bash(grep *),Bash(sed *),Bash(awk *),Bash(find *)"
|
||||||
# If the claude action fails you don't get any logs on what claude was doing
|
# 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
|
# Uploading the artifact allows you to download the artifact from the UI
|
||||||
- name: Upload Claude review output on failure
|
- name: Upload Claude review output on failure
|
||||||
|
|||||||
8
.github/workflows/command-dispatch.yml
vendored
8
.github/workflows/command-dispatch.yml
vendored
@@ -1,6 +1,11 @@
|
|||||||
# 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
|
||||||
@@ -9,10 +14,7 @@ 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"
|
PULUMI_PULUMI_ENABLE_JOURNALING: "true"
|
||||||
TF_APPEND_USER_AGENT: pulumi
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
command-dispatch-for-testing:
|
command-dispatch-for-testing:
|
||||||
|
|||||||
10
.github/workflows/lint.yml
vendored
10
.github/workflows/lint.yml
vendored
@@ -7,6 +7,11 @@ on:
|
|||||||
inputs: {}
|
inputs: {}
|
||||||
|
|
||||||
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
|
||||||
@@ -15,10 +20,7 @@ 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"
|
PULUMI_PULUMI_ENABLE_JOURNALING: "true"
|
||||||
TF_APPEND_USER_AGENT: pulumi
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
@@ -53,7 +55,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
||||||
with:
|
with:
|
||||||
version: 2026.2.15
|
version: 2026.2.10
|
||||||
github_token: ${{ steps.app-auth.outputs.token }}
|
github_token: ${{ steps.app-auth.outputs.token }}
|
||||||
cache_save: false # A different job handles caching our tools.
|
cache_save: false # A different job handles caching our tools.
|
||||||
- name: prepare workspace
|
- name: prepare workspace
|
||||||
|
|||||||
13
.github/workflows/prerelease.yml
vendored
13
.github/workflows/prerelease.yml
vendored
@@ -7,12 +7,19 @@ on:
|
|||||||
- v*.*.*-**
|
- v*.*.*-**
|
||||||
env:
|
env:
|
||||||
PROVIDER: docker-build
|
PROVIDER: docker-build
|
||||||
|
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||||
TRAVIS_OS_NAME: linux
|
TRAVIS_OS_NAME: linux
|
||||||
|
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
|
||||||
GOVERSION: "1.21.x"
|
GOVERSION: "1.21.x"
|
||||||
NODEVERSION: "20.x"
|
NODEVERSION: "20.x"
|
||||||
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
|
||||||
@@ -21,9 +28,6 @@ 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:
|
||||||
@@ -129,6 +133,9 @@ jobs:
|
|||||||
- 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
|
||||||
|
|||||||
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@@ -8,12 +8,19 @@ on:
|
|||||||
- "!v*.*.*-**"
|
- "!v*.*.*-**"
|
||||||
env:
|
env:
|
||||||
PROVIDER: docker-build
|
PROVIDER: docker-build
|
||||||
|
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||||
TRAVIS_OS_NAME: linux
|
TRAVIS_OS_NAME: linux
|
||||||
|
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
|
||||||
GOVERSION: "1.21.x"
|
GOVERSION: "1.21.x"
|
||||||
NODEVERSION: "20.x"
|
NODEVERSION: "20.x"
|
||||||
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
|
||||||
@@ -22,9 +29,6 @@ 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:
|
||||||
@@ -129,6 +133,9 @@ jobs:
|
|||||||
- 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
|
||||||
|
|||||||
13
.github/workflows/run-acceptance-tests.yml
vendored
13
.github/workflows/run-acceptance-tests.yml
vendored
@@ -11,12 +11,19 @@ on:
|
|||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
env:
|
env:
|
||||||
PROVIDER: docker-build
|
PROVIDER: docker-build
|
||||||
|
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||||
TRAVIS_OS_NAME: linux
|
TRAVIS_OS_NAME: linux
|
||||||
|
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
|
||||||
GOVERSION: "1.21.x"
|
GOVERSION: "1.21.x"
|
||||||
NODEVERSION: "20.x"
|
NODEVERSION: "20.x"
|
||||||
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
|
||||||
@@ -25,10 +32,7 @@ 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"
|
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:
|
||||||
@@ -205,6 +209,9 @@ jobs:
|
|||||||
- 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
|
||||||
|
|||||||
14
.github/workflows/weekly-pulumi-update.yml
vendored
14
.github/workflows/weekly-pulumi-update.yml
vendored
@@ -8,12 +8,19 @@ on:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
|
||||||
PROVIDER: docker-build
|
PROVIDER: docker-build
|
||||||
|
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||||
TRAVIS_OS_NAME: linux
|
TRAVIS_OS_NAME: linux
|
||||||
|
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
|
||||||
GOVERSION: "1.21.x"
|
GOVERSION: "1.21.x"
|
||||||
NODEVERSION: "20.x"
|
NODEVERSION: "20.x"
|
||||||
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
|
||||||
@@ -22,10 +29,7 @@ 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"
|
PULUMI_PULUMI_ENABLE_JOURNALING: "true"
|
||||||
TF_APPEND_USER_AGENT: pulumi
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
weekly-pulumi-update:
|
weekly-pulumi-update:
|
||||||
@@ -109,7 +113,9 @@ jobs:
|
|||||||
|
|
||||||
msg="Automated upgrade: bump pulumi/pulumi to ${ver}"
|
msg="Automated upgrade: bump pulumi/pulumi to ${ver}"
|
||||||
|
|
||||||
gh pr create -t "$msg" -b "$msg"
|
# See https://github.com/cli/cli/issues/6485#issuecomment-2560935183 for --head workaround
|
||||||
|
|
||||||
|
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,46 +1,37 @@
|
|||||||
version: "2"
|
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
enable:
|
enable:
|
||||||
- goconst
|
- errcheck
|
||||||
- gosec
|
- gci
|
||||||
- lll
|
- goconst
|
||||||
- misspell
|
- gofmt
|
||||||
- nakedret
|
- gosec
|
||||||
- revive
|
- govet
|
||||||
- unconvert
|
- ineffassign
|
||||||
exclusions:
|
- lll
|
||||||
generated: lax
|
- gosimple
|
||||||
presets:
|
- staticcheck
|
||||||
- comments
|
- misspell
|
||||||
- common-false-positives
|
- nakedret
|
||||||
- legacy
|
- revive
|
||||||
- std-error-handling
|
- unconvert
|
||||||
paths:
|
- unused
|
||||||
- schema.go
|
enable-all: false
|
||||||
- pulumiManifest.go
|
issues:
|
||||||
- pkg/vendored
|
exclude-dirs:
|
||||||
- third_party$
|
- pkg/vendored
|
||||||
- builtin$
|
exclude-files:
|
||||||
- examples$
|
- schema.go
|
||||||
formatters:
|
- pulumiManifest.go
|
||||||
enable:
|
run:
|
||||||
- gci
|
timeout: 20m
|
||||||
- gofmt
|
linters-settings:
|
||||||
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-docker-build) # Custom section: local imports
|
||||||
- prefix(github.com/pulumi/pulumi-docker-build)
|
custom-order: true
|
||||||
custom-order: true
|
|
||||||
exclusions:
|
|
||||||
generated: lax
|
|
||||||
paths:
|
|
||||||
- schema.go
|
|
||||||
- pulumiManifest.go
|
|
||||||
- pkg/vendored
|
|
||||||
- third_party$
|
|
||||||
- builtin$
|
|
||||||
- examples$
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
3.223.0
|
3.192.0
|
||||||
|
|||||||
@@ -10,9 +10,8 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
|
||||||
|
|
||||||
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestDotNetExample(t *testing.T) {
|
func TestDotNetExample(t *testing.T) {
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
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,9 +8,8 @@ import (
|
|||||||
"path"
|
"path"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
|
||||||
|
|
||||||
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestGoExample(t *testing.T) {
|
func TestGoExample(t *testing.T) {
|
||||||
|
|||||||
@@ -8,9 +8,8 @@ import (
|
|||||||
"path"
|
"path"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
|
||||||
|
|
||||||
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
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.221.0"
|
"@pulumi/pulumi": "3.220.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,15 +16,14 @@ 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,9 +8,8 @@ import (
|
|||||||
"path"
|
"path"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
|
||||||
|
|
||||||
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
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.221.0"
|
"@pulumi/pulumi": "3.220.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -368,10 +368,10 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570"
|
resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570"
|
||||||
integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==
|
integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==
|
||||||
|
|
||||||
"@pulumi/pulumi@3.221.0":
|
"@pulumi/pulumi@3.220.0":
|
||||||
version "3.221.0"
|
version "3.220.0"
|
||||||
resolved "https://registry.yarnpkg.com/@pulumi/pulumi/-/pulumi-3.221.0.tgz#ab908a2d0e3a6d9b27181254be80ee6f54b01aa5"
|
resolved "https://registry.yarnpkg.com/@pulumi/pulumi/-/pulumi-3.220.0.tgz#27e12fa10048f1beae0ca97a005826a784190201"
|
||||||
integrity sha512-4r4ShiJ7pMXs2hKfg1T/MQpR2bOsFtg5b6dVvcEZpAmMt1eEQ/nxOQNsBtVdito3Vewq5DuW4MIoBx39vEpk5g==
|
integrity sha512-WfFu4Qv5r/9uv4bh6jxZPKLc945RtdjIq29mDa6c9sIXzQtRtv/Voo58E6u6lhA1RKaK+ocymqgykZ6QV7OnGQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@grpc/grpc-js" "^1.10.1"
|
"@grpc/grpc-js" "^1.10.1"
|
||||||
"@logdna/tail-file" "^2.0.6"
|
"@logdna/tail-file" "^2.0.6"
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
"@types/node": "^20.0.0"
|
"@types/node": "^20.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pulumi/pulumi": "3.221.0"
|
"@pulumi/pulumi": "3.220.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,5 +38,3 @@ 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.221.0"
|
"@pulumi/pulumi": "3.220.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,17 +8,15 @@ 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) {
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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"), //nolint:lll,staticcheck
|
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 have the correct buildx plugin installed (https://github.com/docker/buildx-desktop)"), //nolint:lll,staticcheck
|
errors.New("Make sure you have the correct buildx plugin installed (https://github.com/docker/buildx-desktop)."),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if err != nil && build.ShouldExec() {
|
if err != nil && build.ShouldExec() {
|
||||||
//nolint:revive // Human-readable.
|
//nolint:revive // Human-readable.
|
||||||
err = errors.Join(err, errors.New( //nolint:staticcheck
|
err = errors.Join(err, errors.New(
|
||||||
"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( //nolint:staticcheck
|
err = errors.Join(err, errors.New(
|
||||||
"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)
|
||||||
|
|||||||
Reference in New Issue
Block a user