Skip to content

Commit bd624bd

Browse files
authored
Merge pull request #262 from rancher-sandbox/avoid-dockerhub
Don't use dockerhub to avoid hitting rate limits in CI
2 parents 4554a35 + ef987d9 commit bd624bd

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

hack/test-example.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,11 @@ if [[ -n ${CHECKS["containerd-user"]} ]]; then
170170
mkdir -p "$hometmp"
171171
defer "rm -rf \"$hometmp\""
172172
set -x
173-
limactl shell "$NAME" nerdctl pull alpine
173+
alpine_image="ghcr.io/containerd/alpine:3.14.0"
174+
limactl shell "$NAME" nerdctl pull ${alpine_image}
174175
echo "random-content-${RANDOM}" >"$hometmp/random"
175176
expected="$(cat "$hometmp/random")"
176-
got="$(limactl shell "$NAME" nerdctl run --rm -v "$hometmp/random":/mnt/foo alpine cat /mnt/foo)"
177+
got="$(limactl shell "$NAME" nerdctl run --rm -v "$hometmp/random":/mnt/foo ${alpine_image} cat /mnt/foo)"
177178
INFO "$hometmp/random: expected=${expected}, got=${got}"
178179
if [ "$got" != "$expected" ]; then
179180
ERROR "Home directory is not shared?"

pkg/networks/networks.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ package networks
22

33
import "net"
44

5-
const (
6-
LimaScheme = "lima://"
7-
)
8-
95
type NetworksConfig struct {
106
Paths Paths `yaml:"paths"`
117
Group string `yaml:"group,omitempty"` // default: "staff"

0 commit comments

Comments
 (0)