containerd / nerdctl

contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ...
Apache License 2.0
8.1k stars 601 forks source link

We should have a publish scripts for the testing images we need, and we should not depend on third party images #3480

Open apostasie opened 1 month ago

apostasie commented 1 month ago

Description

See #3479 for the last straw.

Our tests do depend on a number of images that we do not control - usually on Docker Hub. There are good reasons to test Docker Hub - just not to use third party images.

Also, even for the images that do not change (hosted on ghcr.io), we do not have a way to repush them if we needed to.

Suggesting we create a nerdctl account on hub, and start pushing the images we need there.

@AkihiroSuda I can take care of this, but then I would need to transfer the account to you. Or you take care of it directly instead.

Then I can come up with a script that would push everything we need and we get rid of the dependencies on busybox (etc.).

LMK.

Steps to reproduce the issue

na

Describe the results you received and expected

na

What version of nerdctl are you using?

na

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

AkihiroSuda commented 1 month ago

We already have: https://github.com/stargz-containers/image-ci ( Plain vanilla non-estargz images are mirrored too with -org suffix https://github.com/orgs/stargz-containers/packages/container/alpine/17932394?tag=3.15.3-org )

apostasie commented 1 month ago

We already have: https://github.com/stargz-containers/image-ci ( Plain vanilla non-estargz images are mirrored too with -org suffix https://github.com/orgs/stargz-containers/packages/container/alpine/17932394?tag=3.15.3-org )

We still need images on the Hub to test hub behavior.

AkihiroSuda commented 1 month ago

What behavior of hub?

apostasie commented 1 month ago

What behavior of hub?

Resolution of shortnames and authentication. Generally, we should still make sure we work well with Hub (regardless of what we think of it).

I see your point though - we might be able to do what we need without making assumptions on the images content.

I'll see what I can do to yank out busybox out of problem tests and come back here eventually.