Skip to content

Bump Docker Model CLI version to v0.1.32 #1222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2025

Conversation

xenoscopic
Copy link
Contributor

@xenoscopic xenoscopic commented Jun 30, 2025

- What I did

I bumped the Model CLI version to v0.1.32.

- Description for the changelog

Update Model to v0.1.32 which adds the support for the new top-level `models:` key in Docker Compose.

(Note: the corresponding Compose PR ( #1221 ) may summarize this well enough)

@xenoscopic xenoscopic changed the title Bump Docker Model CLI versio to v0.1.31 Bump Docker Model CLI version to v0.1.31 Jun 30, 2025
@xenoscopic xenoscopic force-pushed the bump-model-cli-v0.1.31 branch from 7beb8d4 to a089d9f Compare June 30, 2025 21:15
@glours glours requested a review from a team July 1, 2025 07:50
@xenoscopic
Copy link
Contributor Author

Hold on this for now; we'll likely need another CLI bump.

This brings support for the new top-level models: key in Compose (in
conjunction with Compose v2.38.1).

Signed-off-by: Jacob Howard <[email protected]>
@xenoscopic xenoscopic force-pushed the bump-model-cli-v0.1.31 branch from a089d9f to e601f3c Compare July 1, 2025 16:02
@xenoscopic xenoscopic changed the title Bump Docker Model CLI version to v0.1.31 Bump Docker Model CLI version to v0.1.32 Jul 1, 2025
@xenoscopic
Copy link
Contributor Author

Okay, ready to go, updated to v0.1.32.

@thaJeztah thaJeztah requested a review from vvoland July 2, 2025 00:08
@thaJeztah
Copy link
Member

CentOS 10 still failing;

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.09kB done
#1 DONE 0.0s

#2 [auth] docker/dockerfile:pull token for registry-1.docker.io
#2 DONE 0.0s

#3 resolve image config for docker-image://docker.io/docker/dockerfile:1
#3 DONE 0.3s

#4 docker-image://docker.io/docker/dockerfile:1@sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb77969642813b0d00518d
#4 resolve docker.io/docker/dockerfile:1@sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb77969642813b0d00518d 0.0s done
#4 sha256:9857836c9ee4268391bb5b09f9f157f3c91bb15821bb77969642813b0d00518d 8.40kB / 8.40kB done
#4 sha256:6eafafa80cf476e61c9a795fcb5762e42c54ef5b59d2d86c57e4c50994f8de8d 850B / 850B done
#4 sha256:9a3ea2cfda9bd82b5178269c253cf28ffbd6e1df255d77a658761108b399b7a3 1.26kB / 1.26kB done
#4 sha256:aaaa2ba5fc0bfa9eaf9d2e1ab46b7ebaf83587ddf0752c9240f5413c3a11cd0d 1.05MB / 12.38MB 0.1s
#4 sha256:aaaa2ba5fc0bfa9eaf9d2e1ab46b7ebaf83587ddf0752c9240f5413c3a11cd0d 12.38MB / 12.38MB 0.2s done
#4 extracting sha256:aaaa2ba5fc0bfa9eaf9d2e1ab46b7ebaf83587ddf0752c9240f5413c3a11cd0d 0.1s done
#4 DONE 0.3s


#10 [stage-1 1/8] FROM quay.io/centos/centos:stream10@sha256:6fc587a47e7d92c4ece5c735cb34bdbdce54907c71fea2f0cc55eddb35bb374d
#10 resolve quay.io/centos/centos:stream10@sha256:6fc587a47e7d92c4ece5c735cb34bdbdce54907c71fea2f0cc55eddb35bb374d 0.0s done
#10 ...



#10 [stage-1 1/8] FROM quay.io/centos/centos:stream10@sha256:6fc587a47e7d92c4ece5c735cb34bdbdce54907c71fea2f0cc55eddb35bb374d
#10 sha256:8acdce6692e3349f842def9c739ea07c35ea76f5b3cc60514509f486fb864872 506B / 506B done
#10 sha256:25c1f47ea64bd1ca5713bff204e2421aecb1d9b101345b87fbe054a3775888b5 1.17kB / 1.17kB done
#10 sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 0B / 109.44MB 0.1s
#10 sha256:6fc587a47e7d92c4ece5c735cb34bdbdce54907c71fea2f0cc55eddb35bb374d 912B / 912B done
#10 sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 6.29MB / 109.44MB 0.3s
#10 sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 15.73MB / 109.44MB 0.5s
#10 sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 23.07MB / 109.44MB 0.6s
#10 sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 32.51MB / 109.44MB 0.8s
#10 sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 49.28MB / 109.44MB 1.1s
#10 sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 57.67MB / 109.44MB 1.3s
#10 sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 66.06MB / 109.44MB 1.5s
#10 sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 73.40MB / 109.44MB 1.7s
#10 sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 81.79MB / 109.44MB 1.9s
#10 sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 90.18MB / 109.44MB 2.2s
#10 sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 99.61MB / 109.44MB 2.4s
#10 sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 109.44MB / 109.44MB 2.7s
#10 sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 109.44MB / 109.44MB 2.7s done
#10 extracting sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 0.1s
#10 extracting sha256:a6ee17842fa8cd58aed14002f904f7c7ca482f470c5d3e39261a11277056b076 3.0s done
#10 DONE 6.1s


#12 [stage-1 2/8] RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial-SHA256
#12 DONE 3.5s

#13 [stage-1 3/8] RUN dnf install -y rpm-build dnf-plugins-core
#13 ...

#13 [stage-1 3/8] RUN dnf install -y rpm-build dnf-plugins-core
#13 25.74 CentOS Stream 10 - BaseOS                       158  B/s | 3.9 kB     00:25    
#13 25.74 Errors during downloading metadata for repository 'baseos':
#13 25.74   - Downloading successful, but checksum doesn't match. Calculated: 28a89188f33844dfe1ac2d79858e60e98a9f9b4f4a19a39ee813e0c264504397f4cf08b70398f68847a08efb33ce201abedcf7ad506345983e38db37690f09fb(sha512)  Expected: 6508b1b319b3059c4c0a13ca8dbb4572da69f90a36374300b495bb4bbae67eaa78e6b00e9facf49f40f6a06e3933a20dd07ba70b5056e138cb73d6600a10ff0a(sha512) 
#13 25.76 Error: Failed to download metadata for repo 'baseos': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
#13 ERROR: process "/bin/sh -c dnf install -y rpm-build dnf-plugins-core" did not complete successfully: exit code: 1
------

Tried to reproduce locally, but didn't get that problem. Could be some mirror that's used perhaps? But it's odd that it's failing both GHA and Jenkins

docker build --progress=plain --no-cache -<<'EOF'
# syntax=docker/dockerfile:1

FROM quay.io/centos/centos:stream10@sha256:6fc587a47e7d92c4ece5c735cb34bdbdce54907c71fea2f0cc55eddb35bb374d
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial-SHA256
RUN dnf install -y rpm-build dnf-plugins-core
EOF

@thaJeztah
Copy link
Member

Progress! GHA passed now, but Jenkins still hits the problem (possibly different mirror or cache?)

@thaJeztah
Copy link
Member

LOL; still progress - the build succeeded, but the "verify" step failed;

+ make IMAGE=quay.io/centos/centos:stream10 ARCH=aarch64 verify
docker run  --rm -i \
	-v "$(pwd):/v" \
	-e DEBIAN_FRONTEND=noninteractive \
	-e PACKAGE_REPO=prod \
	-w /v \
	quay.io/centos/centos:stream10 ./verify
Unable to find image 'quay.io/centos/centos:stream10' locally
stream10: Pulling from centos/centos
a6ee17842fa8: Already exists
Digest: sha256:6fc587a47e7d92c4ece5c735cb34bdbdce54907c71fea2f0cc55eddb35bb374d
Status: Downloaded newer image for quay.io/centos/centos:stream10
+ verify
+ dpkg --version
+ rpm --version
+ verify_rpm
++ . /etc/os-release
+++ NAME='CentOS Stream'
+++ VERSION='10 (Coughlan)'
+++ ID=centos
+++ ID_LIKE='rhel fedora'
+++ VERSION_ID=10
+++ PLATFORM_ID=platform:el10
+++ PRETTY_NAME='CentOS Stream 10 (Coughlan)'
+++ ANSI_COLOR='0;31'
+++ LOGO=fedora-logo-icon
+++ CPE_NAME=cpe:/o:centos:centos:10
+++ HOME_URL=https://centos.org/
+++ VENDOR_NAME=CentOS
+++ VENDOR_URL=https://centos.org/
+++ BUG_REPORT_URL=https://issues.redhat.com/
+++ REDHAT_SUPPORT_PRODUCT='Red Hat Enterprise Linux 10'
+++ REDHAT_SUPPORT_PRODUCT_VERSION='CentOS Stream'
++ echo centos
+ DIST_ID=centos
++ . /etc/os-release
+++ NAME='CentOS Stream'
+++ VERSION='10 (Coughlan)'
+++ ID=centos
+++ ID_LIKE='rhel fedora'
+++ VERSION_ID=10
+++ PLATFORM_ID=platform:el10
+++ PRETTY_NAME='CentOS Stream 10 (Coughlan)'
+++ ANSI_COLOR='0;31'
+++ LOGO=fedora-logo-icon
+++ CPE_NAME=cpe:/o:centos:centos:10
+++ HOME_URL=https://centos.org/
+++ VENDOR_NAME=CentOS
+++ VENDOR_URL=https://centos.org/
+++ BUG_REPORT_URL=https://issues.redhat.com/
+++ REDHAT_SUPPORT_PRODUCT='Red Hat Enterprise Linux 10'
+++ REDHAT_SUPPORT_PRODUCT_VERSION='CentOS Stream'
++ echo 10
++ cut -d. -f1
+ DIST_VERSION=10
+ pkg_manager=yum
+ pkg_config_manager=yum-config-manager
+ dnf --version
4.20.0
  Installed: dnf-0:4.20.0-14.el10.noarch at Tue Jun 17 04:25:44 2025
  Built    : [email protected] at Fri Apr  4 19:06:29 2025

  Installed: rpm-0:4.19.1.1-17.el10.aarch64 at Tue Jun 17 04:25:45 2025
  Built    : [email protected] at Wed Jun 11 17:39:25 2025
+ pkg_manager=dnf
+ pkg_config_manager='dnf config-manager'
+ dnf clean all
0 files removed
+ dnf install -y 'dnf-command(config-manager)'
CentOS Stream 10 - BaseOS                       385  B/s | 3.9 kB     00:10    
Errors during downloading metadata for repository 'baseos':
  - Downloading successful, but checksum doesn't match. Calculated: 28a89188f33844dfe1ac2d79858e60e98a9f9b4f4a19a39ee813e0c264504397f4cf08b70398f68847a08efb33ce201abedcf7ad506345983e38db37690f09fb(sha512)  Expected: 6508b1b319b3059c4c0a13ca8dbb4572da69f90a36374300b495bb4bbae67eaa78e6b00e9facf49f40f6a06e3933a20dd07ba70b5056e138cb73d6600a10ff0a(sha512) 
Error: Failed to download metadata for repo 'baseos': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
make: *** [Makefile:103: verify] Error 1
script returned exit code 2

@thaJeztah
Copy link
Member

You gotta be kidding me; now all the x86 ubuntu ones are failing to connect to the ubuntu package repositories? (But ARM works?)


#14 370.4 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/f/fakeroot/libfakeroot_1.28-1ubuntu1_amd64.deb  Unable to connect to archive.ubuntu.com:80: [IP: 185.125.190.83 80]

@thaJeztah
Copy link
Member

thaJeztah commented Jul 2, 2025

Also a Docker Hub quay.io whoopsie


#7 [internal] load metadata for quay.io/centos/centos:stream9
#7 ERROR: failed to copy: httpReadSeeker: failed open: unexpected status code https://quay.io/v2/centos/centos/manifests/sha256:45650b7974762418b66987d67c063aee0d2fab0ac8fade2db9807b3ec4bbd1af: 504 Gateway Time-out
------
 > [internal] load metadata for quay.io/centos/centos:stream9:
------

@thaJeztah
Copy link
Member

Looks like all agents were destroyed, so kicked it again, which should create fresh ones 🤞 (in case it was state on those machines)

@thaJeztah
Copy link
Member

Whoop! It's finally green - only took ..... 10 tries 😂
Screenshot 2025-07-02 at 18 32 33

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah thaJeztah merged commit a9021de into docker:master Jul 2, 2025
63 of 68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants