8000 chore(deps): bump the docker-dependencies group across 3 directories with 2 updates by dependabot[bot] · Pull Request #587 · abahmed/kwatch · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Without --platform=$BUILDPLATFORM this stage runs under QEMU for arm64,
# arm/v7 and arm/v6, which is what made a release build take over an hour.
# Go cross-compiles fine and CGO is off, so emulation buys nothing.
FROM --platform=$BUILDPLATFORM golang:1.27.3-alpine@sha256:f2c872bcee949b7be9c490efd02b48a8a2fbf947cdf533f1c58525ec9d8170fd AS builder
FROM --platform=$BUILDPLATFORM golang:1.27.3-alpine@sha256:d200d2dd76b03a99b52651fd1325aff7dcd35422c35c01bac56571b0507f3deb AS builder

ARG RELEASE_VERSION="dev"
ARG GIT_COMMIT="none"
Expand Down Expand Up @@ -49,7 +49,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
-ldflags "-X github.com/abahmed/kwatch/internal/version.version=${RELEASE_VERSION} -X github.com/abahmed/kwatch/internal/version.gitCommitID=${GIT_COMMIT} -X github.com/abahmed/kwatch/internal/version.buildDate=${BUILD_DATE}" \
-o kwatch ./cmd/kwatch

FROM alpine:3.24@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6
FROM alpine:3.24@sha256:be2656061b536c1883c4034790e21d0a09c5aaaf51968b89368a3c0371ea2c9a
LABEL maintainer="Abdelrahman Ahmed <a.ahmed1026@gmail.com>"

# Keep the release identity in the image itself. The publish workflow supplies
Expand Down
8 changes: 5 additions & 3 deletions internal/app/source_health_sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,16 @@ func TestSourceHealthReportsBeforeTheSourcesSync(t *testing.T) {

source.set()
close(synced)
tick <- time.Time{} // accepted only after the sync report finished
// A tick here could win the select and cancel could then end the
// loop before synced is seen, so wait for the sync report itself.
require.Eventually(t, func() bool { return readyCalls.Load() > 0 },
5*time.Second, time.Millisecond,
"the report after the sync sets readiness")
cancel()
<-done

require.Equal(t, recordedStatus{"running", "", true},
sink.get("source-pods"))
require.Positive(t, readyCalls.Load(),
"the report after the sync sets readiness")
}

func TestSourceHealthRunSurvivesAPanickingReport(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/receiver/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Same digest-pinned builder as the release Dockerfile; Dependabot's docker
# entry for this directory keeps the digest current.
FROM golang:1.27.3-alpine@sha256:f2c872bcee949b7be9c490efd02b48a8a2fbf947cdf533f1c58525ec9d8170fd AS build
FROM golang:1.27.3-alpine@sha256:d200d2dd76b03a99b52651fd1325aff7dcd35422c35c01bac56571b0507f3deb AS build

WORKDIR /src
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/workload/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Same digest-pinned builder as the release Dockerfile; Dependabot's docker
# entry for this directory keeps the digest current.
FROM golang:1.27.3-alpine@sha256:f2c872bcee949b7be9c490efd02b48a8a2fbf947cdf533f1c58525ec9d8170fd AS build
FROM golang:1.27.3-alpine@sha256:d200d2dd76b03a99b52651fd1325aff7dcd35422c35c01bac56571b0507f3deb AS build

WORKDIR /src
COPY . .
Expand Down
0