From 5d34bb62b88297478e479cb84ffd2f25cf001e32 Mon Sep 17 00:00:00 2001 From: Jon Johnson Date: Mon, 16 Sep 2024 11:37:18 -0700 Subject: [PATCH] Bump apko to v0.19.0 (#376) Signed-off-by: Jon Johnson --- .github/workflows/mega-module.yaml | 2 +- go.mod | 4 ++-- go.sum | 8 ++++---- internal/provider/resource_build_test.go | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/mega-module.yaml b/.github/workflows/mega-module.yaml index 9338859..1eefd1d 100644 --- a/.github/workflows/mega-module.yaml +++ b/.github/workflows/mega-module.yaml @@ -77,7 +77,7 @@ jobs: - working-directory: images env: TF_VAR_target_repository: localhost:5000/tf-apko - APKO_IMAGE: ghcr.io/wolfi-dev/apko:latest@sha256:a87353f424a3ccd50cdaa3bb51585aeae7cecea839f746900858dc965274386b + APKO_IMAGE: ghcr.io/wolfi-dev/sdk:latest@sha256:03a7b5299110473a207a618a93eb99aae0d51a93359e09a8cf9da7a5ce110c6c run: | terraform init diff --git a/go.mod b/go.mod index 8785c28..dfb291c 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/chainguard-dev/terraform-provider-apko go 1.23.1 require ( - chainguard.dev/apko v0.18.1 + chainguard.dev/apko v0.19.0 github.com/chainguard-dev/clog v1.5.1-0.20240811185937-4c523ae4593f github.com/chainguard-dev/terraform-provider-oci v0.0.17 github.com/google/go-cmp v0.6.0 @@ -47,7 +47,7 @@ require ( github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/charmbracelet/lipgloss v0.13.0 // indirect github.com/charmbracelet/log v0.4.0 // indirect - github.com/charmbracelet/x/ansi v0.3.1 // indirect + github.com/charmbracelet/x/ansi v0.3.2 // indirect github.com/cloudflare/circl v1.4.0 // indirect github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be // indirect github.com/containerd/stargz-snapshotter/estargz v0.15.1 // indirect diff --git a/go.sum b/go.sum index aa26857..032c276 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -chainguard.dev/apko v0.18.1 h1:LHPleCJWqZKKwZJzkGl75dGGuV4zCVb5cuatmgx7WmM= -chainguard.dev/apko v0.18.1/go.mod h1:hT8z3/TJNHDhZVNBXKH6XzUuff4xgBU84QryWEGsW+8= +chainguard.dev/apko v0.19.0 h1:lHjfHTOy1jzzA5N3xzY+eXpSZuKm4pGrthCt03r0yd4= +chainguard.dev/apko v0.19.0/go.mod h1:OSO8O6qqSC2Z6mHM3aXVnL1F6VJQOTzVrnYJ7d7p+m0= chainguard.dev/go-grpc-kit v0.17.6 h1:lwIs9LmSnm8jwrH1QmigCwMP6MYkIBENq/0xGduYZss= chainguard.dev/go-grpc-kit v0.17.6/go.mod h1:ZNaXn2KEO++2u2WveHs65krYiHmAEGjYLeEtfaQaOWU= chainguard.dev/sdk v0.1.25 h1:C+FeoJCt4AeMMlWw6+vu5CIcNeYJgooPse6UMLcZzik= @@ -73,8 +73,8 @@ github.com/charmbracelet/lipgloss v0.13.0 h1:4X3PPeoWEDCMvzDvGmTajSyYPcZM4+y8sCA github.com/charmbracelet/lipgloss v0.13.0/go.mod h1:nw4zy0SBX/F/eAO1cWdcvy6qnkDUxr8Lw7dvFrAIbbY= github.com/charmbracelet/log v0.4.0 h1:G9bQAcx8rWA2T3pWvx7YtPTPwgqpk7D68BX21IRW8ZM= github.com/charmbracelet/log v0.4.0/go.mod h1:63bXt/djrizTec0l11H20t8FDSvA4CRZJ1KH22MdptM= -github.com/charmbracelet/x/ansi v0.3.1 h1:CRO6lc/6HCx2/D6S/GZ87jDvRvk6GtPyFP+IljkNtqI= -github.com/charmbracelet/x/ansi v0.3.1/go.mod h1:dk73KoMTT5AX5BsX0KrqhsTqAnhZZoCBjs7dGWp4Ktw= +github.com/charmbracelet/x/ansi v0.3.2 h1:wsEwgAN+C9U06l9dCVMX0/L3x7ptvY1qmjMwyfE6USY= +github.com/charmbracelet/x/ansi v0.3.2/go.mod h1:dk73KoMTT5AX5BsX0KrqhsTqAnhZZoCBjs7dGWp4Ktw= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudflare/circl v1.4.0 h1:BV7h5MgrktNzytKmWjpOtdYrf0lkkbF8YMlBGPhJQrY= github.com/cloudflare/circl v1.4.0/go.mod h1:PDRU+oXvdD7KCtgKxW95M5Z8BpSCJXQORiZFnBQS5QU= diff --git a/internal/provider/resource_build_test.go b/internal/provider/resource_build_test.go index 5656ee5..f494759 100644 --- a/internal/provider/resource_build_test.go +++ b/internal/provider/resource_build_test.go @@ -296,7 +296,7 @@ resource "apko_build" "foo" { resource.TestCheckResourceAttr("apko_build.foo", "repo", repostr), resource.TestCheckResourceAttr("apko_build.foo", "image_ref", // With pinned packages we should always get this digest. - repo.Digest("sha256:e1cd11f0531d3e6386a3e68a83d378c69f0c9b6533820e94366b0db1caa338f6").String()), + repo.Digest("sha256:8fc592b4a31016641bd427d708c3c3f37f6112992fdf7eb10057ee19586ccabb").String()), // Check that the build's amd64 predicate exists, the digest // matches, and the creation timestamp is what we expect.