Skip to content

Commit

Permalink
chore: use go1.23 in the build environment of zot container images (p…
Browse files Browse the repository at this point in the history
…roject-zot#2773)

* chore: use go1.23 in the build environment of zot container images

Signed-off-by: Andrei Aaron <[email protected]>

* chore: increase timeout in test/blackbox/restore_s3_blobs.bats

Looks like the message is actually there even if the test fails, maybe there is a timing issue.
https://github.com/project-zot/zot/actions/runs/11747889146/job/32730772641

Signed-off-by: Andrei Aaron <[email protected]>

---------

Signed-off-by: Andrei Aaron <[email protected]>
  • Loading branch information
andaaron authored Nov 10, 2024
1 parent c991491 commit dc38113
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ---
# Stage 1: Install certs, build binary, create default config file
# ---
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.22 AS builder
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.23 AS builder

ARG TARGETOS
ARG TARGETARCH
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile-conformance
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ---
# Stage 1: Install certs, build binary, create default config file
# ---
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.22 AS builder
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.23 AS builder

ARG TARGETOS
ARG TARGETARCH
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile-minimal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ---
# Stage 1: Install certs, build binary, create default config file
# ---
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.22 AS builder
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.23 AS builder

ARG TARGETOS
ARG TARGETARCH
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile-zb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ---
# Stage 1: Install certs, build binary, create default config file
# ---
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.22 AS builder
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.23 AS builder

ARG TARGETOS
ARG TARGETARCH
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile-zxp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ---
# Stage 1: Build binary, create default config file
# ---
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.22 AS builder
FROM --platform=$BUILDPLATFORM ghcr.io/project-zot/golang:1.23 AS builder

ARG TARGETOS
ARG TARGETARCH
Expand Down
2 changes: 1 addition & 1 deletion build/stacker-conformance.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
build:
from:
type: docker
url: docker://ghcr.io/project-zot/golang:1.22
url: docker://ghcr.io/project-zot/golang:1.23
binds:
- ../. -> /zotcopy
run: |
Expand Down
2 changes: 1 addition & 1 deletion build/stacker-minimal.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
build:
from:
type: docker
url: docker://ghcr.io/project-zot/golang:1.22
url: docker://ghcr.io/project-zot/golang:1.23
binds:
- ../. -> /zotcopy
run: |
Expand Down
2 changes: 1 addition & 1 deletion build/stacker-zb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
build:
from:
type: docker
url: docker://ghcr.io/project-zot/golang:1.22
url: docker://ghcr.io/project-zot/golang:1.23
binds:
- ../. -> /zotcopy
run: |
Expand Down
2 changes: 1 addition & 1 deletion build/stacker-zxp.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
build:
from:
type: docker
url: docker://ghcr.io/project-zot/golang:1.22
url: docker://ghcr.io/project-zot/golang:1.23
binds:
- ../. -> /zotcopy
run: |
Expand Down
2 changes: 1 addition & 1 deletion build/stacker.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
build:
from:
type: docker
url: docker://ghcr.io/project-zot/golang:1.22
url: docker://ghcr.io/project-zot/golang:1.23
binds:
- ../. -> /zotcopy
run: |
Expand Down
2 changes: 1 addition & 1 deletion test/blackbox/restore_s3_blobs.bats
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function teardown_file() {

start=`date +%s`
echo "waiting for restoring blobs task to finish" >&3
run wait_for_string "no digests left, finished" ${ZOT_LOG_FILE} "5m"
run wait_for_string "no digests left, finished" ${ZOT_LOG_FILE} "6m"
[ "$status" -eq 0 ]

end=`date +%s`
Expand Down

0 comments on commit dc38113

Please sign in to comment.