Skip to content

Commit

Permalink
conformance tests: use mirror.gcr.io for most images
Browse files Browse the repository at this point in the history
Use busybox and alpine images from mirror.gcr.io, where possible, to
avoid tripping pull limits in CI.

Signed-off-by: Nalin Dahyabhai <[email protected]>
  • Loading branch information
nalind committed Aug 8, 2024
1 parent f113537 commit 2f1be3c
Show file tree
Hide file tree
Showing 55 changed files with 136 additions and 133 deletions.
11 changes: 7 additions & 4 deletions tests/conformance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,18 @@ Conformance tests use Docker CE to build images to be compared with images built

## Run conformance tests

First, pull base images used by various conformance tests:
These are the base images used by various conformance tests:
```
bash
docker pull alpine
docker pull busybox
docker pull mirror.gcr.io/alpine
docker pull mirror.gcr.io/busybox
docker pull quay.io/libpod/centos:7
docker pull registry.fedoraproject.org/fedora-minimal:41-aarch64
docker pull registry.fedoraproject.org/fedora-minimal:41-amd64
docker pull registry.fedoraproject.org/fedora-minimal
```

Then you can run all of the tests with go test:
You can run all of the tests with go test (and under `buildah unshare` or `podman unshare` if you're not root):
```
go test -v -timeout=30m -tags "$(./btrfs_tag.sh) $(./btrfs_installed_tag.sh)" ./tests/conformance
```
Expand Down
Loading

0 comments on commit 2f1be3c

Please sign in to comment.