dependabot[bot]
52535609d0
chore(deps): bump github.com/cloudflare/circl from 1.3.7 to 1.6.1 ( #105 )
...
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl ) from 1.3.7 to 1.6.1.
- [Release notes](https://github.com/cloudflare/circl/releases )
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.7...v1.6.1 )
---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
dependency-version: 1.6.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-13 14:22:09 +01:00
dependabot[bot]
251def2524
chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 ( #93 )
...
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt ) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.1...v4.5.2 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 09:18:59 +00:00
dependabot[bot]
cd9c032708
chore(deps): bump github.com/go-jose/go-jose/v4 from 4.0.1 to 4.0.5 ( #85 )
...
Bumps [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose ) from 4.0.1 to 4.0.5.
- [Release notes](https://github.com/go-jose/go-jose/releases )
- [Changelog](https://github.com/go-jose/go-jose/blob/main/CHANGELOG.md )
- [Commits](https://github.com/go-jose/go-jose/compare/v4.0.1...v4.0.5 )
---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 15:21:34 +00:00
dependabot[bot]
7b6e7d5fba
chore(deps): bump github.com/hashicorp/terraform-plugin-docs from 0.19.4 to 0.21.0 ( #86 )
...
chore(deps): bump github.com/hashicorp/terraform-plugin-docs
Bumps [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs ) from 0.19.4 to 0.21.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-docs/releases )
- [Changelog](https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/terraform-plugin-docs/compare/v0.19.4...v0.21.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-docs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-13 15:05:55 +00:00
dependabot[bot]
e298d87ca3
chore(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 ( #87 )
...
* chore(deps): bump golang.org/x/net from 0.33.0 to 0.36.0
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.33.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* go mod tidy
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cian Johnston <cian@coder.com>
2025-03-13 14:30:30 +00:00
Cian Johnston
99b0d0257b
ci: update linters settings ( #88 )
2025-03-13 11:15:58 +00:00
dependabot[bot]
b86f527238
chore(deps): bump golangci/golangci-lint-action from 6.2.0 to 6.3.1 ( #80 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.2.0 to 6.3.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](ec5d18412c...2e788936b0
)
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 11:04:49 +00:00
Cian Johnston
f98d104f23
chore(README.md): update broken links ( #78 )
2025-01-20 19:25:38 +02:00
dependabot[bot]
3adb53af1a
chore(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.2.0 ( #76 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](971e284b60...ec5d18412c
)
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-20 16:58:39 +00:00
Sas Swart
82c856094e
feat: add build secrets option ( #75 )
...
* feat: add build secrets option
* make gen and fix tests
2025-01-16 11:39:38 +02:00
Sas Swart
dabb7f31aa
chore(deps): upgrade the envbuilder and kaniko dependencies ( #74 )
...
* chore(deps): upgrade the envbuilder and kaniko dependencies
* make it build
2025-01-14 17:16:24 +02:00
dependabot[bot]
bceddea8cc
chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 ( #73 )
...
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.0...v4.5.1 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-07 14:16:08 +00:00
Cian Johnston
1a997fdd60
chore: update go-git to v5.13.1 ( #72 )
2025-01-07 12:26:25 +00:00
Danielle Maywood
6795af2ba1
feat: support ENVBUILDER_GIT_SSH_PRIVATE_KEY_BASE64 ( #62 )
2024-10-30 14:15:44 +00:00
dependabot[bot]
311f01b14e
chore(deps): bump crazy-max/ghaction-import-gpg from 6.1.0 to 6.2.0 ( #59 )
...
Bumps [crazy-max/ghaction-import-gpg](https://github.com/crazy-max/ghaction-import-gpg ) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/crazy-max/ghaction-import-gpg/releases )
- [Commits](https://github.com/crazy-max/ghaction-import-gpg/compare/v6.1.0...v6.2.0 )
---
updated-dependencies:
- dependency-name: crazy-max/ghaction-import-gpg
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 12:11:31 +00:00
dependabot[bot]
e7dc9a171a
chore(deps): bump github.com/go-git/go-billy/v5 from 5.5.0 to 5.6.0 ( #60 )
...
Bumps [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy ) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/go-git/go-billy/releases )
- [Commits](https://github.com/go-git/go-billy/compare/v5.5.0...v5.6.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-billy/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 11:58:58 +00:00
dependabot[bot]
32d72a7b4e
chore(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 ( #56 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](aaa42aa062...971e284b60
)
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 18:48:36 -05:00
dependabot[bot]
875d1eb69c
chore(deps): bump github.com/coder/envbuilder from 1.0.2 to 1.0.3 ( #57 )
...
Bumps [github.com/coder/envbuilder](https://github.com/coder/envbuilder ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/coder/envbuilder/releases )
- [Commits](https://github.com/coder/envbuilder/compare/v1.0.2...v1.0.3 )
---
updated-dependencies:
- dependency-name: github.com/coder/envbuilder
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 18:48:07 -05:00
Mathias Fredriksson
cdd57d3b36
chore(deps): update github.com/coder/envbuilder to v1.0.2 ( #55 )
2024-10-02 14:45:15 +03:00
Cian Johnston
437dde9144
update envbuilder to 5c150b3c1e35 ( #54 )
2024-09-27 21:21:46 +01:00
Cian Johnston
e565d7d145
fix: update envbuilder to include kaniko cache fix ( #50 )
...
* chore: add test for copy perms
* update kaniko and envbuilder to include fix
* add multi-stage version of copy perms test
* remove unnecessary chowns, collapse to single test
* update envbuilder and kaniko
2024-09-25 13:48:48 +01:00
dependabot[bot]
6c66d06af7
chore(deps): bump github.com/coder/serpent from 0.7.0 to 0.8.0 ( #49 )
...
Bumps [github.com/coder/serpent](https://github.com/coder/serpent ) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/coder/serpent/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: github.com/coder/serpent
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-11 11:49:22 +01:00
Cian Johnston
4077a87dca
fix: set MagicDir to tempdir when performing cache probe ( #48 )
...
* fix: set MagicDir to tempdir when performing cache probe
* chore: update envbuilder to b7781d8
* imgutil: get default envbuilder binary path from envbuilder options
2024-09-10 09:47:39 +01:00
Cian Johnston
6137223cea
update kaniko to latest main to keep in sync with envbuilder ( #47 )
2024-09-05 17:41:42 +01:00
Cian Johnston
482a446eb3
chore(internal/provider): refactor cached_image_resource ( #46 )
...
Addresses some non-blocking comments from #44 :
- Extracts some of the functions in cached_image_resource.go to separate internal packages tfutil and imgutil.
- Some other functions are extracted to helpers.go.
- Extracts non-overridable flags to a package-level variable.
- Pre-allocates some slices where possible.
- Removes some unused code and renames some existing code for readability
2024-09-04 16:29:25 +01:00
Cian Johnston
23f2cf5f48
fix(internal/provider): correctly override from extra_env ( #44 )
...
Relates to #43
Our previous logic did not pass options from extra_env to envbuilder.RunCacheProbe.
This fixes the logic and adds more comprehensive tests around the overriding logic.
Future commits will refactor this logic some more.
2024-09-04 11:19:25 +01:00
Cian Johnston
e35030b39f
chore: update envbuilder to include multi-stage cache probe fix ( #41 )
2024-08-30 17:26:01 +01:00
dependabot[bot]
11c4b3b088
chore(deps): bump hashicorp/setup-terraform from 3.1.1 to 3.1.2 ( #40 )
...
Bumps [hashicorp/setup-terraform](https://github.com/hashicorp/setup-terraform ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/hashicorp/setup-terraform/releases )
- [Changelog](https://github.com/hashicorp/setup-terraform/blob/main/CHANGELOG.md )
- [Commits](651471c36a...b9cd54a3c3
)
---
updated-dependencies:
- dependency-name: hashicorp/setup-terraform
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 12:01:54 +01:00
Cian Johnston
d6192fcd11
chore(docs): add provider schema ( #39 )
2024-08-21 10:10:58 +01:00
Cian Johnston
cd1599f79d
fix(internal/provider): set all supported envbuilder options ( #38 )
...
* fix(internal/provider): set all supported envbuilder options
* do not allow overriding git_url and cache_repo
2024-08-16 14:55:46 +01:00
Cian Johnston
6cf3d93444
feat(internal/provider): add env_map to cached_image_resource ( #37 )
...
This PR adds `env_map` to `cached_image_resource.` This consists of the computed env in map format, which can be useful for other providers that do not expect `KEY=VALUE` format.
2024-08-16 09:42:27 +01:00
Cian Johnston
b55c3783a8
chore(deps): update docker/docker to v26.1.5 ( #36 )
...
* chore(deps): update docker/docker to v26.1.5
* also update envbuilder
2024-08-15 15:49:57 +01:00
Cian Johnston
9f455838b8
fix(provider): correctly handle devcontainer-only in cache probe mode ( #33 )
...
* chore(internal/provider): add test case for dockerfile-only operation
* chore(deps): update envbuilder to include #315
2024-08-15 12:58:06 +01:00
Cian Johnston
68cc59d705
fix(internal/provider): correct escaping of strings in envbuilder_cached_image.env ( #32 )
...
Fixes #31
We had previously been doing the equivalent of value.String() when writing envbuilder_cached_image.env. This was incorrectly escaping newlines, potentially breaking ENVBUILDER_INIT_SCRIPT.
This PR modifies the behaviour to correctly handle string values via ValueString() instead.
2024-08-14 14:55:22 +01:00
Cian Johnston
b35004a702
feat: add warning diags to aid troubleshooting ( #30 )
...
Adds warning diagnostics to aid in troubleshooting issues with cached builds.
2024-08-13 13:13:45 +01:00
dependabot[bot]
9a4bf0993d
chore(deps): bump github.com/hashicorp/terraform-plugin-testing from 1.9.0 to 1.10.0 ( #29 )
...
chore(deps): bump github.com/hashicorp/terraform-plugin-testing
Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases )
- [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/terraform-plugin-testing/compare/v1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-testing
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 12:17:17 +01:00
Cian Johnston
f8a49e84ff
ci: push envbuilder image to local registry ( #28 )
2024-08-12 11:51:06 +01:00
Mathias Fredriksson
a2a5fcf79b
fix: prevent test flake by waiting on copy ( #27 )
2024-08-12 12:54:30 +03:00
Cian Johnston
a4e82b3d8c
readme: remove duplicated usage note
2024-08-09 15:47:15 +01:00
Cian Johnston
37ddd681c7
add note regarding platform compatibility
2024-08-09 15:46:29 +01:00
Cian Johnston
d30d9356d1
fixup! this only builds on linux
2024-08-09 15:36:38 +01:00
Cian Johnston
9abfe8ae8e
this only builds on linux
2024-08-09 15:31:38 +01:00
Cian Johnston
02b01389f0
chore(ci): update github workflows ( #25 )
2024-08-09 13:39:13 +01:00
dependabot[bot]
d91dd1f210
chore(deps): bump github.com/google/go-containerregistry from 0.20.1 to 0.20.2 ( #17 )
...
chore(deps): bump github.com/google/go-containerregistry
Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry ) from 0.20.1 to 0.20.2.
- [Release notes](https://github.com/google/go-containerregistry/releases )
- [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml )
- [Commits](https://github.com/google/go-containerregistry/compare/v0.20.1...v0.20.2 )
---
updated-dependencies:
- dependency-name: github.com/google/go-containerregistry
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-09 13:04:03 +01:00
dependabot[bot]
73f927085d
chore(deps): bump github.com/hashicorp/terraform-plugin-framework from 1.10.0 to 1.11.0 ( #16 )
...
chore(deps): bump github.com/hashicorp/terraform-plugin-framework
Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework/releases )
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/terraform-plugin-framework/compare/v1.10.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-framework
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-09 12:26:49 +01:00
dependabot[bot]
42bc835a80
chore(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 ( #19 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](a4f60bb28d...aaa42aa062
)
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-09 12:21:02 +01:00
Cian Johnston
f4a54aa759
chore: update README.md ( #23 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
2024-08-09 11:02:20 +01:00
Cian Johnston
c10305910f
feat: add remote_repo_build_mode envbuilder option ( #20 )
...
Adds support for setting the --remote-repo-build-mode Envbuilder option. Defaults to true if not set.
2024-08-09 10:32:30 +01:00
Cian Johnston
1926b0b2ae
chore: flesh out envbuilder_cached_image example ( #22 )
2024-08-08 14:48:28 +01:00
Cian Johnston
d30006a40b
fix: do not quote stringy env variables ( #21 )
2024-08-08 14:34:55 +01:00