Skip to content

Commit b03f7e4

Browse files
vdemeestertekton-robot
authored andcommitted
Migrate tests images out of dockerhub.
Closes #4551. Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
1 parent da0d703 commit b03f7e4

14 files changed

+43
-43
lines changed

examples/v1/pipelineruns/alpha/consume-artifacts-from-task.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
A simple task that produces artifacts
1212
steps:
1313
- name: produce-artifacts
14-
image: bash:latest
14+
image: mirror.gcr.io/bash
1515
script: |
1616
#!/usr/bin/env bash
1717
cat > $(artifacts.path) << EOF
@@ -51,7 +51,7 @@ spec:
5151
taskSpec:
5252
steps:
5353
- name: artifacts-consumer-python
54-
image: python:latest
54+
image: mirror.gcr.io/library/python
5555
script: |
5656
#!/usr/bin/env python3
5757
import json

examples/v1/pipelineruns/beta/pipelinerun-with-matrix-and-taskrunspecs-param-substitution.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
steps:
2525
- name: build-and-push
2626
displayName: "Build and push"
27-
image: ubuntu
27+
image: mirror.gcr.io/ubuntu
2828
script: |
2929
echo "building on $(params.node-type)"
3030
echo "testmanifest-$(params.node-type)" | tee $(results.manifest.path)
@@ -35,6 +35,6 @@ spec:
3535
taskSpec:
3636
steps:
3737
- name: echo-manifests
38-
image: ubuntu
38+
image: mirror.gcr.io/ubuntu
3939
args: ["$(params.manifest[*])"]
4040
script: echo "$@"

examples/v1/pipelineruns/pipelinerun-with-task-timeout-override.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
spec:
66
steps:
77
- name: sleep-long
8-
image: alpine:latest
8+
image: mirror.gcr.io/alpine
99
script: |
1010
#!/bin/sh
1111
sleep 10
@@ -17,7 +17,7 @@ metadata:
1717
spec:
1818
steps:
1919
- name: verify-completion
20-
image: alpine:latest
20+
image: mirror.gcr.io/alpine
2121
script: |
2222
#!/bin/sh
2323
echo "- Pipeline task timeout: 60s (defined in pipeline spec)"

examples/v1/taskruns/alpha/stepaction-when.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ kind: StepAction
1515
metadata:
1616
name: step-action-when
1717
spec:
18-
image: alpine
18+
image: mirror.gcr.io/alpine
1919
script: |
2020
echo "I am a Step Action!!!"
2121
---
@@ -40,7 +40,7 @@ spec:
4040
operator: in
4141
values: ["true"]
4242
- name: should-skip
43-
image: bash:latest
43+
image: mirror.gcr.io/bash
4444
script: |
4545
#!/usr/bin/env bash
4646
echo skipskipskip
@@ -49,19 +49,19 @@ spec:
4949
operator: in
5050
values: ["true"]
5151
- name: should-continue
52-
image: bash:latest
52+
image: mirror.gcr.io/bash
5353
script: |
5454
#!/usr/bin/env bash
5555
echo blabalbaba
5656
- name: produce-step
57-
image: alpine
57+
image: mirror.gcr.io/alpine
5858
results:
5959
- name: result2
6060
type: string
6161
script: |
6262
echo -n "foo" | tee $(step.results.result2.path)
6363
- name: run-based-on-step-results
64-
image: alpine
64+
image: mirror.gcr.io/alpine
6565
script: |
6666
echo "wooooooo"
6767
when:

examples/v1/taskruns/alpha/task-artifacts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
A simple task that produces artifacts
99
steps:
1010
- name: produce-artifacts
11-
image: bash:latest
11+
image: mirror.gcr.io/bash
1212
script: |
1313
#!/usr/bin/env bash
1414
cat > $(artifacts.path) << EOF

examples/v1/taskruns/authenticating-git-commands.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ spec:
6363
emptyDir: {}
6464
sidecars:
6565
- name: server
66-
image: docker.io/alpine/git:v2.26.2
66+
image: mirror.gcr.io/alpine/git:v2.26.2
6767
securityContext:
6868
runAsUser: 0
6969
volumeMounts:
@@ -106,7 +106,7 @@ spec:
106106
- name: setup
107107
# This Step is only necessary as part of the test, it's not something you'll
108108
# ever need in a real-world scenario involving an external git repo.
109-
image: docker.io/alpine/git:v2.26.2
109+
image: mirror.gcr.io/alpine/git:v2.26.2
110110
securityContext:
111111
runAsUser: 0
112112
volumeMounts:
@@ -125,7 +125,7 @@ spec:
125125
sleep 1
126126
done
127127
- name: git-clone-and-push
128-
image: docker.io/alpine/git:v2.26.2
128+
image: mirror.gcr.io/alpine/git:v2.26.2
129129
securityContext:
130130
runAsUser: 0
131131
workingDir: /root

examples/v1/taskruns/beta/authenticating-git-commands.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ spec:
6767
mountPath: /messages
6868
sidecars:
6969
- name: server
70-
image: docker.io/alpine/git:v2.26.2
70+
image: mirror.gcr.io/alpine/git:v2.26.2
7171
securityContext:
7272
runAsUser: 0
7373
script: |
@@ -107,7 +107,7 @@ spec:
107107
- name: setup
108108
# This Step is only necessary as part of the test, it's not something you'll
109109
# ever need in a real-world scenario involving an external git repo.
110-
image: docker.io/alpine/git:v2.26.2
110+
image: mirror.gcr.io/alpine/git:v2.26.2
111111
securityContext:
112112
runAsUser: 0
113113
script: |
@@ -123,7 +123,7 @@ spec:
123123
sleep 1
124124
done
125125
- name: git-clone-and-push
126-
image: docker.io/alpine/git:v2.26.2
126+
image: mirror.gcr.io/alpine/git:v2.26.2
127127
securityContext:
128128
runAsUser: 0
129129
workingDir: /root

examples/v1/taskruns/dind-sidecar.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
spec:
66
taskSpec:
77
steps:
8-
- image: docker@sha256:0752ca4e936da012c173c119217c0f9599b3b191c1557e53206d5d06d2627580
8+
- image: mirror.gcr.io/library/docker@sha256:0752ca4e936da012c173c119217c0f9599b3b191c1557e53206d5d06d2627580
99
name: client
1010
env:
1111
# Connect to the sidecar over TCP, with TLS.
@@ -40,7 +40,7 @@ spec:
4040
name: dind-certs
4141

4242
sidecars:
43-
- image: docker@sha256:0752ca4e936da012c173c119217c0f9599b3b191c1557e53206d5d06d2627580
43+
- image: mirror.gcr.io/library/docker@sha256:0752ca4e936da012c173c119217c0f9599b3b191c1557e53206d5d06d2627580
4444
name: server
4545
args:
4646
- --storage-driver=vfs

examples/v1/taskruns/step-by-digest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ spec:
66
taskSpec:
77
steps:
88
# Step images can be specified by digest.
9-
- image: busybox@sha256:1303dbf110c57f3edf68d9f5a16c082ec06c4cf7604831669faf2c712260b5a0
9+
- image: mirror.gcr.io/busybox@sha256:1303dbf110c57f3edf68d9f5a16c082ec06c4cf7604831669faf2c712260b5a0
1010
# NB: command is not set, so it must be looked up from the registry.
1111
args: ['-c', 'echo hello']

test/git-resolver/gitea.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ spec:
486486
serviceAccountName: gitea-memcached
487487
containers:
488488
- name: memcached
489-
image: docker.io/bitnami/memcached:1.6.9-debian-10-r114
489+
image: mirror.gcr.io/library/memcached:1.6
490490
imagePullPolicy: "IfNotPresent"
491491
args:
492492
- /run.sh
@@ -572,7 +572,7 @@ spec:
572572
fsGroup: 1001
573573
containers:
574574
- name: gitea-postgresql
575-
image: docker.io/bitnami/postgresql:11.11.0-debian-10-r62
575+
image: mirror.gcr.io/library/postgres:11
576576
imagePullPolicy: "IfNotPresent"
577577
resources:
578578
requests:
@@ -704,7 +704,7 @@ spec:
704704
fsGroup: 1000
705705
initContainers:
706706
- name: init-directories
707-
image: "docker.io/gitea/gitea:1.17.1"
707+
image: "mirror.gcr.io/gitea/gitea:1.17.1"
708708
imagePullPolicy: Always
709709
command: ["/usr/sbin/init_directory_structure.sh"]
710710
env:
@@ -727,7 +727,7 @@ spec:
727727
securityContext:
728728
{}
729729
- name: init-app-ini
730-
image: "docker.io/gitea/gitea:1.17.1"
730+
image: "mirror.gcr.io/gitea/gitea:1.17.1"
731731
imagePullPolicy: Always
732732
command: ["/usr/sbin/config_environment.sh"]
733733
env:
@@ -752,7 +752,7 @@ spec:
752752
securityContext:
753753
{}
754754
- name: configure-gitea
755-
image: "docker.io/gitea/gitea:1.17.1"
755+
image: "mirror.gcr.io/gitea/gitea:1.17.1"
756756
command: ["/usr/sbin/configure_gitea.sh"]
757757
imagePullPolicy: Always
758758
securityContext:
@@ -781,7 +781,7 @@ spec:
781781
terminationGracePeriodSeconds: 60
782782
containers:
783783
- name: gitea
784-
image: "docker.io/gitea/gitea:1.17.1"
784+
image: "mirror.gcr.io/gitea/gitea:1.17.1"
785785
imagePullPolicy: Always
786786
env:
787787
# SSH Port values have to be set here as well for openssh configuration

0 commit comments

Comments
 (0)