Commit Graph

36 Commits

Author SHA1 Message Date
pulumi-renovate[bot]
15a31abdb5 Update dependency go to v1.23.4 (#378) 2024-12-23 09:32:35 -08:00
pulumi-renovate[bot]
d65bf93eb8 Update module github.com/pulumi/pulumi/sdk/v3 to v3.144.1 (#366)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[github.com/pulumi/pulumi/sdk/v3](https://redirect.github.com/pulumi/pulumi)
| require | patch | `v3.144.0` -> `v3.144.1` |

---

### Release Notes

<details>
<summary>pulumi/pulumi (github.com/pulumi/pulumi/sdk/v3)</summary>

###
[`v3.144.1`](https://redirect.github.com/pulumi/pulumi/releases/tag/v3.144.1)

[Compare
Source](https://redirect.github.com/pulumi/pulumi/compare/v3.144.0...v3.144.1)

##### 3.144.1 (2024-12-20)

##### Bug Fixes

- \[sdk/nodejs] Reverts
[#&#8203;18041](https://redirect.github.com/pulumi/pulumi/issues/18041)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - "every weekday" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiaW1wYWN0L25vLWNoYW5nZWxvZy1yZXF1aXJlZCJdfQ==-->

Co-authored-by: pulumi-renovate[bot] <189166143+pulumi-renovate[bot]@users.noreply.github.com>
2024-12-21 01:56:40 +00:00
pulumi-renovate[bot]
ba0b30e361 Update first-party Pulumi dependencies (#362)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[github.com/pulumi/pulumi/pkg/v3](https://redirect.github.com/pulumi/pulumi)
| require | digest | `1dd3669` -> `d3d2892` |
|
[github.com/pulumi/pulumi/sdk/go/pulumi-language-go/v3](https://redirect.github.com/pulumi/pulumi)
| require | patch | `v3.0.0-20241220164043-1dd366951f61` ->
`v3.0.0-20241220180114-d3d28924c05a` |
|
[github.com/pulumi/pulumi/sdk/nodejs/cmd/pulumi-language-nodejs/v3](https://redirect.github.com/pulumi/pulumi)
| require | patch | `v3.0.0-20241220164043-1dd366951f61` ->
`v3.0.0-20241220180114-d3d28924c05a` |
|
[github.com/pulumi/pulumi/sdk/python/cmd/pulumi-language-python/v3](https://redirect.github.com/pulumi/pulumi)
| require | patch | `v3.0.0-20241220164043-1dd366951f61` ->
`v3.0.0-20241220180114-d3d28924c05a` |
|
[github.com/pulumi/pulumi/sdk/v3](https://redirect.github.com/pulumi/pulumi)
| require | minor | `v3.143.1-0.20241220164043-1dd366951f61` ->
`v3.144.0` |

---

### Release Notes

<details>
<summary>pulumi/pulumi (github.com/pulumi/pulumi/sdk/v3)</summary>

###
[`v3.144.0`](https://redirect.github.com/pulumi/pulumi/releases/tag/v3.144.0)

[Compare
Source](https://redirect.github.com/pulumi/pulumi/compare/v3.143.0...v3.144.0)

##### 3.144.0 (2024-12-20)

##### Features

- \[engine] Warn if `refresh` or `destroy` use older parameterized
packages
[#&#8203;18029](https://redirect.github.com/pulumi/pulumi/pull/18029)

-   \[sdk/dotnet] Update dotnet to 3.71.1
[#&#8203;18084](https://redirect.github.com/pulumi/pulumi/pull/18084)

- \[auto/go] Add ConfigFile to GetConfig and SetConfig operations, add
GetAllConfigWithOptions to extend GetAllConfig
[#&#8203;17939](https://redirect.github.com/pulumi/pulumi/pull/17939)

- \[cli/plugin] Log plugin unstructured output to debug instead of info
[#&#8203;17943](https://redirect.github.com/pulumi/pulumi/pull/17943)

-   \[sdk/yaml] Update pulumi-yaml to 1.13.0
[#&#8203;18077](https://redirect.github.com/pulumi/pulumi/pull/18077)

##### Bug Fixes

-   \[backend/diy] Retry deletes of lock files if they fail
[#&#8203;18059](https://redirect.github.com/pulumi/pulumi/pull/18059)

-   \[auto/go] Fix potential race condition when using automation API
[#&#8203;18044](https://redirect.github.com/pulumi/pulumi/pull/18044)

-   \[auto/go] Fix "debug" flag in automation api
[#&#8203;18071](https://redirect.github.com/pulumi/pulumi/pull/18071)

-   \[cli/install] Avoid unnecessary Node.js installations
[#&#8203;18041](https://redirect.github.com/pulumi/pulumi/pull/18041)

- \[engine] Use package load v2 in loader server so it can include
paramaterization
[#&#8203;18072](https://redirect.github.com/pulumi/pulumi/pull/18072)
[#&#8203;18021](https://redirect.github.com/pulumi/pulumi/pull/18021)

- \[programgen/dotnet] Emit local dependencies in restore sources
deterministically
[#&#8203;18026](https://redirect.github.com/pulumi/pulumi/pull/18026)

- \[sdk/go] Ignore DependsOn for direct form invokes instead of raising
an error
[#&#8203;18089](https://redirect.github.com/pulumi/pulumi/pull/18089)

-   \[sdk/nodejs] Respect the noCheck option from tsconfig.json
[#&#8203;18067](https://redirect.github.com/pulumi/pulumi/pull/18067)

-   \[sdk/nodejs] Gracefully handle errors that don't implement toString
[#&#8203;18080](https://redirect.github.com/pulumi/pulumi/pull/18080)

-   \[sdk/python] Fix hang on error when using uv on Windows
[#&#8203;18054](https://redirect.github.com/pulumi/pulumi/pull/18054)

- \[sdkgen/dotnet] Compute restore sources from local dependencies and
referenced packages
[#&#8203;18042](https://redirect.github.com/pulumi/pulumi/pull/18042)

##### Miscellaneous

-   \[sdkgen/go] Skip TestPackageAddGoParameterized
[#&#8203;18049](https://redirect.github.com/pulumi/pulumi/pull/18049)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - "every weekday" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiaW1wYWN0L25vLWNoYW5nZWxvZy1yZXF1aXJlZCJdfQ==-->

Co-authored-by: pulumi-renovate[bot] <189166143+pulumi-renovate[bot]@users.noreply.github.com>
2024-12-20 19:56:48 +00:00
pulumi-renovate[bot]
9d00d64258 Update first-party Pulumi dependencies (#344) 2024-12-20 17:54:46 +00:00
Bryce Lampe
195fbfc784 Add support for multiple exporters (#235)
Buildkit 0.13 introduced support for [multiple
exporters](https://docs.docker.com/build/exporters/#multiple-exporters).
We currently return an error in these situations.

Instead, inspect the builder's version when loading the node and relax
this error if we see it's running at least 0.13.

Fixes https://github.com/pulumi/pulumi-docker-build/issues/21.
2024-12-10 09:05:36 -08:00
Bryce Lampe
0a045d12bf regenerate sdk 2024-12-04 20:22:31 +00:00
pulumi-renovate[bot]
9f3d3db1dd Pin dependencies 2024-12-04 20:22:31 +00:00
pulumi-renovate[bot]
2c2f8a68a3 fix(deps): update first-party pulumi dependencies 2024-11-25 17:21:25 -08:00
pulumi-renovate[bot]
0ce316d7de fix(deps): update module github.com/docker/buildx to v0.18.0 (main) (#312) 2024-11-20 20:00:22 -08:00
Bryce Lampe
b66e4a56fd regenerate sdk 2024-11-20 18:30:11 -08:00
pulumi-renovate[bot]
fb7912a889 fix(deps): update first-party pulumi dependencies 2024-11-20 18:30:11 -08:00
Renovate Bot
4c03012268 Update first-party Pulumi dependencies 2024-10-20 17:01:10 -07:00
Ramon Quitales
3d57abba75 upgrade: bump pulumi/pulumi to 3.136.1 (#284)
This is the required commit to unblock CI:
bc7700a50c

Resolves: #272
2024-10-11 16:22:58 -07:00
Anton Tayanovskyy
9d3d0712f2 Fix: do not over-specify SDK dependencies (#271)
Re: https://github.com/pulumi/ci-mgmt/issues/1091
2024-10-02 14:03:54 -04:00
Pulumi Bot
242d99d4d6 Automated upgrade: bump pulumi/pulumi to 3.134.1 (#266)
Automated upgrade: bump pulumi/pulumi to 3.134.1
2024-09-26 10:45:31 -07:00
Pulumi Bot
8151f0369f Automated upgrade: bump pulumi/pulumi to 3.131.0 (#244)
Automated upgrade: bump pulumi/pulumi to 3.131.0

---------

Co-authored-by: Bryce Lampe <bryce@pulumi.com>
2024-09-10 09:26:19 -07:00
Ramon Quitales
06cf6ec5f8 Fix weekly-pulumi-update (#232)
Fixes: #212

This PR follows the `weekly-pulumi-update` CI workflow steps to update
our `pulumi/pulumi` dependency, with manual intervention to resolve
tooling update conflicts. Before generating the SDKs, it's necessary to
update the language tools and otel packages to ensure compatibility with
the latest changes.

Additional command executed for the manual updates:

```sh
TOOLS=(
    "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"
    "go.opentelemetry.io/otel/exporters/otlp/otlptrace"
)

for TOOL in "${TOOLS[@]}"; do
    go get -u $TOOL
    go mod tidy
done
```
2024-08-26 09:57:49 -07:00
Bryce Lampe
81a7aa4ec4 No-op during Read if credentials are invalid (#194)
The `Image` resource already ignores errors during read but the `Index`
resource was requiring the inspect call to always succeed. This will often 
fail due to https://github.com/pulumi/pulumi/issues/4981 (note however in
this case credentials are stored with the resource instead of the provider).

This changes our logic to instead emit a warning if the credentials are
invalid.

Fixes https://github.com/pulumi/pulumi-docker-build/issues/121.
2024-08-13 12:54:14 -07:00
dependabot[bot]
3d127da671 Bump the security group with 2 updates (#170)
---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bryce Lampe <bryce@pulumi.com>
2024-08-08 23:46:33 +00:00
Pulumi Bot
5cc3415b34 Automated Pulumi/Pulumi upgrade (#175)
Co-authored-by: Bryce Lampe <bryce@pulumi.com>
2024-08-08 16:05:09 -07:00
dependabot[bot]
724836b5ef Bump the other group across 1 directory with 13 updates (#152)
---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bryce Lampe <bryce@pulumi.com>
2024-07-12 16:40:59 -07:00
Pulumi Bot
cc8725ef27 Automated Pulumi/Pulumi upgrade (#135)
Co-authored-by: Bryce Lampe <bryce@pulumi.com>
2024-07-11 09:17:55 -07:00
dependabot[bot]
b8ecfb287a Bump the pulumi group across 1 directory with 6 updates (#111)
This upgrades pulumi to v3.121.0 and bumps several other first-party dependencies.

Note that vendored language plugins must be bumped manually because their go modules are currently untagged:

* go get github.com/pulumi/pulumi/sdk/python/cmd/pulumi-language-python/v3@79e814fe0f2137ade87ee5af384e6cb71e4aa6ff
*  go get github.com/pulumi/pulumi/sdk/nodejs/cmd/pulumi-language-nodejs/v3@79e814fe0f2137ade87ee5af384e6cb71e4aa6ff
* go get github.com/pulumi/pulumi/sdk/go/pulumi-language-go/v3@79e814fe0f2137ade87ee5af384e6cb71e4aa6ff
* go get github.com/pulumi/pulumi-dotnet/pulumi-language-dotnet@fa777213effdc3a80bb893194d63cd8b7ca7a868
* go get github.com/pulumi/pulumi-yaml@15eb402

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bryce Lampe <bryce@pulumi.com>
2024-06-25 14:17:24 -07:00
Bryce Lampe
4e8cf8f4ba Fix a panic that could occur when context was omitted (#83)
I could have sworn the context property was required, but evidently it
isn't and we weren't handling the case when it was missing.

This PR updates things to set a default location of the current
directory if the context is absent. Some unit tests are also added.

Fixes #78.
2024-05-31 14:41:22 +00:00
Pulumi Bot
effb497234 Automated Pulumi/Pulumi upgrade (#90) 2024-05-31 01:57:12 -07:00
Bryce Lampe
9a1706a203 Fix publisher capitalization (#89)
Refs https://github.com/pulumi/pulumi-dbtcloud/pull/23.
2024-05-31 01:56:19 -07:00
Daniel Bradley
c305ea88c4 Embed sdk versions (#68)
Part of https://github.com/pulumi/ci-mgmt/issues/915

Install pulumi in standard way 

Use the same method as other providers to install the pulumi CLI.
- Lock the version of the CLI and therefore codegen for consistent build
results.
- Ensure the local language plugins are using by disabling ambient
plugins.

Enable respect schema version

Remove setting version at SDK build time

---------

Co-authored-by: Bryce Lampe <bryce@pulumi.com>
2024-05-30 13:50:54 +01:00
Bryce Lampe
f0aaf7095d Fix GitHub action URL (#80)
Our docs and default value for the GitHub action cache URL were
referring to the
[wrong](https://github.com/tonistiigi/go-actions-cache/blob/master/api.md)
environment variable.

I was under the impression that the underlying library ends up checking
for the correct variable later so this would be only cosmetic, but a
user
[confirmed](https://github.com/pulumi/pulumi-docker-build/issues/77#issuecomment-2135621983)
this does appear to break things.

I brought over an old test I had written while this was still in the
pulumi-docker repo, but unfortunately it doesn't currently test GHA due
to ci-mgmt limitations
https://github.com/pulumi/pulumi-docker-build/issues/82.

Fixes https://github.com/pulumi/pulumi-docker-build/issues/77.
2024-05-29 12:29:58 +00:00
Bryce Lampe
ff71c251e1 Upgrade go-provider (#53)
This upgrades pulumi-go-provider to latest. Code was automatically
migrated using a slightly modified patch described
[here](https://github.com/pulumi/pulumi-go-provider/pull/227#issuecomment-2073962385).

---------

Co-authored-by: Ian Wahbe <ian@wahbe.com>
2024-05-13 12:23:24 -07:00
Pulumi Bot
d3e22d5679 Automated Pulumi/Pulumi upgrade (#49)
Co-authored-by: Bryce Lampe <bryce@pulumi.com>
2024-04-26 09:06:05 -07:00
Bryce Lampe
26c144c916 Initial provider implementation (#18)
This brings over the initial buildx prototype from pulumi/pulumi-docker
and fixes various build and release issues.
2024-04-25 11:03:59 -07:00
Bryce Lampe
2b348f84e4 Housekeeping (#8)
* Rename the provider to dockerbuild.
* Add Makefile targets required by CI.
* Add per-language test targets compatible with CI.
* Fix broken example yaml.
* Add gitignore exclusions to fix SDK generation in CI.
* Fix lint errors.
* Vendor pulumi CLI via `tools.go` instead of `.pulumi`.
* Consolidate `go.mod`s into one file, with a minimal `go.mod` for the
Go SDK.
* Add codecov.
2024-03-20 11:09:37 -07:00
Bryce Lampe
d8688f5e1a Regenerate examples 2024-03-07 16:15:49 -08:00
Bryce Lampe
3427e6115f More renames 2024-03-07 13:51:35 -08:00
Bryce Lampe
10f6ae35a6 Rename xyz -> docker-native 2024-03-07 12:53:12 -08:00
Bryce Lampe
0d9ce7c53c Initial commit 2024-03-07 11:17:15 -08:00