0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00

chore: use go1.23 in the build environment of zot container images (#2773)

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

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>

* 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 <aaaron@luxoft.com>

---------

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
Andrei Aaron 2024-11-10 20:36:09 +02:00 committed by GitHub
parent c9914912d4
commit dc38113df0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 11 additions and 11 deletions

View file

@ -1,7 +1,7 @@
# --- # ---
# Stage 1: Install certs, build binary, create default config file # 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 TARGETOS
ARG TARGETARCH ARG TARGETARCH

View file

@ -1,7 +1,7 @@
# --- # ---
# Stage 1: Install certs, build binary, create default config file # 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 TARGETOS
ARG TARGETARCH ARG TARGETARCH

View file

@ -1,7 +1,7 @@
# --- # ---
# Stage 1: Install certs, build binary, create default config file # 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 TARGETOS
ARG TARGETARCH ARG TARGETARCH

View file

@ -1,7 +1,7 @@
# --- # ---
# Stage 1: Install certs, build binary, create default config file # 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 TARGETOS
ARG TARGETARCH ARG TARGETARCH

View file

@ -1,7 +1,7 @@
# --- # ---
# Stage 1: Build binary, create default config file # 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 TARGETOS
ARG TARGETARCH ARG TARGETARCH

View file

@ -1,7 +1,7 @@
build: build:
from: from:
type: docker type: docker
url: docker://ghcr.io/project-zot/golang:1.22 url: docker://ghcr.io/project-zot/golang:1.23
binds: binds:
- ../. -> /zotcopy - ../. -> /zotcopy
run: | run: |

View file

@ -1,7 +1,7 @@
build: build:
from: from:
type: docker type: docker
url: docker://ghcr.io/project-zot/golang:1.22 url: docker://ghcr.io/project-zot/golang:1.23
binds: binds:
- ../. -> /zotcopy - ../. -> /zotcopy
run: | run: |

View file

@ -1,7 +1,7 @@
build: build:
from: from:
type: docker type: docker
url: docker://ghcr.io/project-zot/golang:1.22 url: docker://ghcr.io/project-zot/golang:1.23
binds: binds:
- ../. -> /zotcopy - ../. -> /zotcopy
run: | run: |

View file

@ -1,7 +1,7 @@
build: build:
from: from:
type: docker type: docker
url: docker://ghcr.io/project-zot/golang:1.22 url: docker://ghcr.io/project-zot/golang:1.23
binds: binds:
- ../. -> /zotcopy - ../. -> /zotcopy
run: | run: |

View file

@ -1,7 +1,7 @@
build: build:
from: from:
type: docker type: docker
url: docker://ghcr.io/project-zot/golang:1.22 url: docker://ghcr.io/project-zot/golang:1.23
binds: binds:
- ../. -> /zotcopy - ../. -> /zotcopy
run: | run: |

View file

@ -131,7 +131,7 @@ function teardown_file() {
start=`date +%s` start=`date +%s`
echo "waiting for restoring blobs task to finish" >&3 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 ] [ "$status" -eq 0 ]
end=`date +%s` end=`date +%s`