Skip to content

Commit a9b204e

Browse files
chitrangpateltekton-robot
authored andcommitted
Switch the image from docker.io to gcr mirror
Docker hub reduced its rate limit to a 100 container pulls per hour. This is very small and making our tests flaky. As a stop gap, we think that changing to `mirror.gcr.io` will get us past the rate limit since the image will be pushed from the artifact registry cache instead of docker hub.
1 parent c0b29b4 commit a9b204e

File tree

152 files changed

+533
-533
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+533
-533
lines changed

examples/v1/pipelineruns/4808-regression.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
type: string
1212
steps:
1313
- name: print-result
14-
image: docker.io/library/bash:5.2.26
14+
image: mirror.gcr.io/bash
1515
env:
1616
- name: PARAM_TO_PRINT
1717
value: $(params.TO_PRINT)
@@ -39,7 +39,7 @@ spec:
3939
description: A result string
4040
steps:
4141
- name: gen-result
42-
image: docker.io/library/bash:5.2.26
42+
image: mirror.gcr.io/bash
4343
env:
4444
- name: PARAM_STRING_LENGTH
4545
value: $(params.STRING_LENGTH)

examples/v1/pipelineruns/6139-regression.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
results:
1616
- name: result-one
1717
steps:
18-
- image: docker.io/library/alpine:3.20.1
18+
- image: mirror.gcr.io/alpine
1919
script: |
2020
#!/bin/sh
2121
echo "Hello world!"
@@ -28,7 +28,7 @@ spec:
2828
results:
2929
- name: result-two
3030
steps:
31-
- image: docker.io/library/alpine:3.20.1
31+
- image: mirror.gcr.io/alpine
3232
script: |
3333
#!/bin/sh
3434
echo "Goodbye world!"
@@ -43,7 +43,7 @@ spec:
4343
results:
4444
- name: result-three
4545
steps:
46-
- image: docker.io/library/alpine:3.20.1
46+
- image: mirror.gcr.io/alpine
4747
script: |
4848
#!/bin/sh
4949
echo "Shutdown world!"

examples/v1/pipelineruns/alpha/param-enum.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
enum: ["v1", "v2", "v3"]
1010
steps:
1111
- name: build
12-
image: docker.io/library/bash:5.2.26
12+
image: mirror.gcr.io/bash
1313
script: |
1414
echo "$(params.message)"
1515
---

examples/v1/pipelineruns/alpha/pipelinerun-large-results.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
type: string
2121
steps:
2222
- name: step1
23-
image: docker.io/library/alpine:3.20.1
23+
image: mirror.gcr.io/alpine
2424
script: |
2525
# produce a result - a random string with 2,500 characters - result1
2626
tr -dc A-Za-z0-9 </dev/urandom | head -c 2500 | tee $(results.result1.path);
@@ -63,7 +63,7 @@ spec:
6363
type: string
6464
steps:
6565
- name: step1
66-
image: docker.io/library/alpine:3.20.1
66+
image: mirror.gcr.io/alpine
6767
args: [
6868
"$(params.param3[*])"
6969
]

examples/v1/pipelineruns/alpha/pipelinerun-with-cel-when-expressions.yaml

+12-12
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
description: The workspace to create the readme file in
2626
steps:
2727
- name: write-new-stuff
28-
image: docker.io/library/ubuntu
28+
image: mirror.gcr.io/ubuntu
2929
script: 'touch $(workspaces.source.path)/README.md'
3030
- name: check-file
3131
params:
@@ -47,7 +47,7 @@ spec:
4747
description: indicates whether the file exists or is missing
4848
steps:
4949
- name: check-file
50-
image: docker.io/library/alpine:3.20.1
50+
image: mirror.gcr.io/alpine
5151
script: |
5252
if test -f $(workspaces.source.path)/$(params.path); then
5353
printf yes | tee $(results.exists.path)
@@ -60,23 +60,23 @@ spec:
6060
taskSpec:
6161
steps:
6262
- name: echo
63-
image: docker.io/library/ubuntu
63+
image: mirror.gcr.io/ubuntu
6464
script: 'echo file exists'
6565
- name: task-should-be-skipped-1
6666
when:
6767
- cel: "'$(tasks.check-file.results.exists)'=='missing'" # when expression using task result, evaluates to false
6868
taskSpec:
6969
steps:
7070
- name: echo
71-
image: docker.io/library/ubuntu
71+
image: mirror.gcr.io/ubuntu
7272
script: exit 1
7373
- name: task-should-be-skipped-2 # when expression using parameter, evaluates to false
7474
when:
7575
- cel: "'$(params.path)'!='README.md'"
7676
taskSpec:
7777
steps:
7878
- name: echo
79-
image: docker.io/library/ubuntu
79+
image: mirror.gcr.io/ubuntu
8080
script: exit 1
8181
- name: task-should-be-skipped-3 # task with when expression and run after
8282
runAfter:
@@ -86,7 +86,7 @@ spec:
8686
taskSpec:
8787
steps:
8888
- name: echo
89-
image: docker.io/library/ubuntu
89+
image: mirror.gcr.io/ubuntu
9090
script: exit 1
9191
finally:
9292
- name: finally-task-should-be-skipped-1 # when expression using execution status, evaluates to false
@@ -95,39 +95,39 @@ spec:
9595
taskSpec:
9696
steps:
9797
- name: echo
98-
image: docker.io/library/ubuntu
98+
image: mirror.gcr.io/ubuntu
9999
script: exit 1
100100
- name: finally-task-should-be-skipped-2 # when expression using task result, evaluates to false
101101
when:
102102
- cel: "'$(tasks.check-file.results.exists)'=='missing'"
103103
taskSpec:
104104
steps:
105105
- name: echo
106-
image: docker.io/library/ubuntu
106+
image: mirror.gcr.io/ubuntu
107107
script: exit 1
108108
- name: finally-task-should-be-skipped-3 # when expression using parameter, evaluates to false
109109
when:
110110
- cel: "'$(params.path)'!='README.md'"
111111
taskSpec:
112112
steps:
113113
- name: echo
114-
image: docker.io/library/ubuntu
114+
image: mirror.gcr.io/ubuntu
115115
script: exit 1
116116
- name: finally-task-should-be-skipped-4 # when expression using tasks execution status, evaluates to false
117117
when:
118118
- cel: "'$(tasks.status)'=='Failure'"
119119
taskSpec:
120120
steps:
121121
- name: echo
122-
image: docker.io/library/ubuntu
122+
image: mirror.gcr.io/ubuntu
123123
script: exit 1
124124
- name: finally-task-should-be-skipped-5 # when expression using tasks execution status, evaluates to false
125125
when:
126126
- cel: "'$(tasks.status)'=='Succeeded'"
127127
taskSpec:
128128
steps:
129129
- name: echo
130-
image: docker.io/library/ubuntu
130+
image: mirror.gcr.io/ubuntu
131131
script: exit 1
132132
- name: finally-task-should-be-executed # when expression using execution status, tasks execution status, param, and results
133133
when:
@@ -138,7 +138,7 @@ spec:
138138
taskSpec:
139139
steps:
140140
- name: echo
141-
image: docker.io/library/ubuntu
141+
image: mirror.gcr.io/ubuntu
142142
script: 'echo finally done'
143143
params:
144144
- name: path

examples/v1/pipelineruns/alpha/stepaction-params.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
key1: "step-action default key1"
2626
key2: "step-action default key2"
2727
key3: "step-action default key3"
28-
image: docker.io/library/bash:5.2.26
28+
image: mirror.gcr.io/bash
2929
args: [
3030
"echo",
3131
"$(params.array-param[*])",

examples/v1/pipelineruns/beta/7392-regression.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
default: []
1111
steps:
1212
- name: step1
13-
image: docker.io/library/bash:5.2.26
13+
image: mirror.gcr.io/bash
1414
args:
1515
- --images
1616
- $(params.arrayVal1[*])
@@ -20,7 +20,7 @@ spec:
2020
echo $arg
2121
done
2222
- name: step2
23-
image: docker.io/library/bash:5.2.26
23+
image: mirror.gcr.io/bash
2424
script: |
2525
#!/usr/bin/env bash
2626
echo -n '[]' | tee $(results.resultArray.path)

examples/v1/pipelineruns/beta/ignore-task-error.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
taskSpec:
1111
steps:
1212
- name: write
13-
image: docker.io/library/alpine:3.20.1
13+
image: mirror.gcr.io/alpine
1414
script: |
1515
#!/usr/bin/env sh
1616
echo "this is a failing task"
@@ -28,7 +28,7 @@ spec:
2828
- name: param1
2929
steps:
3030
- name: write
31-
image: docker.io/library/alpine
31+
image: mirror.gcr.io/alpine
3232
script: |
3333
#!/usr/bin/env sh
3434
echo "this is a failing task if param1 is set bar"
@@ -42,7 +42,7 @@ spec:
4242
taskSpec:
4343
steps:
4444
- name: write
45-
image: docker.io/library/alpine:3.20.1
45+
image: mirror.gcr.io/alpine
4646
script: |
4747
#!/usr/bin/env sh
4848
echo "this is a success task"
@@ -56,7 +56,7 @@ spec:
5656
taskSpec:
5757
steps:
5858
- name: verify-task-reason
59-
image: docker.io/library/alpine
59+
image: mirror.gcr.io/alpine
6060
script: |
6161
#!/usr/bin/env sh
6262
if [[ $(params.echo-continue-task-reason) != "FailureIgnored" ]]; then

examples/v1/pipelineruns/beta/isolated-workspaces.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737
workspaces:
3838
- name: creds
3939
steps:
40-
- image: docker.io/library/alpine:3.20.1
40+
- image: mirror.gcr.io/alpine
4141
script: |
4242
if [ ! -d /creds ] ; then
4343
echo "unable to access creds"
@@ -46,7 +46,7 @@ spec:
4646
workspaces:
4747
- name: creds
4848
mountpath: /creds
49-
- image: docker.io/library/alpine:3.20.1
49+
- image: mirror.gcr.io/alpine
5050
script: |
5151
if [ -d /workspace/creds ] ; then
5252
echo "this step should not be able to see creds"

examples/v1/pipelineruns/beta/pipeline-emitting-results.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
description: The array results
1414
steps:
1515
- name: write-array
16-
image: docker.io/library/bash:5.2.26
16+
image: mirror.gcr.io/bash
1717
script: |
1818
#!/usr/bin/env bash
1919
echo -n "[\"1\",\"2\",\"3\"]" | tee $(results.array-results.path)
@@ -32,7 +32,7 @@ spec:
3232
}
3333
steps:
3434
- name: write-array
35-
image: docker.io/library/bash:5.2.26
35+
image: mirror.gcr.io/bash
3636
script: |
3737
#!/usr/bin/env bash
3838
echo -n "{\"foo\":\"bar\",\"hello\":\"world\"}" | tee $(results.object-results.path)

examples/v1/pipelineruns/beta/pipeline-with-when-expressions-using-array-results.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
description: The array results
1919
steps:
2020
- name: write-array
21-
image: docker.io/library/bash:5.2.26
21+
image: mirror.gcr.io/bash
2222
script: |
2323
#!/usr/bin/env bash
2424
image1="abc.dev/notsofamousimage/image"
@@ -34,7 +34,7 @@ spec:
3434
taskSpec:
3535
steps:
3636
- name: say-hi
37-
image: docker.io/library/bash:5.2.26
37+
image: mirror.gcr.io/bash
3838
script: |
3939
echo "hi"
4040
- name: task3
@@ -50,7 +50,7 @@ spec:
5050
taskSpec:
5151
steps:
5252
- name: say-hello
53-
image: docker.io/library/bash:5.2.26
53+
image: mirror.gcr.io/bash
5454
script: |
5555
echo "hello"
5656
- name: task4
@@ -62,7 +62,7 @@ spec:
6262
taskSpec:
6363
steps:
6464
- name: say-hi
65-
image: docker.io/library/bash:5.2.26
65+
image: mirror.gcr.io/bash
6666
script: |
6767
echo "hi"
6868
- name: task5
@@ -74,15 +74,15 @@ spec:
7474
taskSpec:
7575
steps:
7676
- name: do-not-execute
77-
image: docker.io/library/bash:5.2.26
77+
image: mirror.gcr.io/bash
7878
script: |
7979
exit 1
8080
finally:
8181
- name: validate-tasks
8282
taskSpec:
8383
steps:
8484
- name: validate-tasks-section
85-
image: docker.io/library/bash:5.2.26
85+
image: mirror.gcr.io/bash
8686
script: |
8787
if [[ $(context.task2.status) != "Succeeded" ]]; then
8888
echo "task2 should have been succeeded but instead has status - $(context.task2.status)"

examples/v1/pipelineruns/beta/pipelinerun-with-matrix-and-results.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
- name: url
1313
steps:
1414
- name: echo
15-
image: docker.io/library/alpine:3.20.1
15+
image: mirror.gcr.io/alpine
1616
script: |
1717
echo "Visit $(params.url) on $(params.platform) using $(params.browser)."
1818
---
@@ -32,7 +32,7 @@ spec:
3232
type: array
3333
steps:
3434
- name: produce-a-list-of-platforms
35-
image: docker.io/library/bash:5.2.26
35+
image: mirror.gcr.io/bash
3636
script: |
3737
#!/usr/bin/env bash
3838
echo -n "[\"linux\",\"mac\",\"windows\"]" | tee $(results.platforms.path)
@@ -44,12 +44,12 @@ spec:
4444
- name: url
4545
steps:
4646
- name: produce-a-list-of-browsers
47-
image: docker.io/library/bash:5.2.26
47+
image: mirror.gcr.io/bash
4848
script: |
4949
#!/usr/bin/env bash
5050
echo -n "[\"chrome\",\"safari\",\"firefox\"]" | tee $(results.browsers.path)
5151
- name: produce-url
52-
image: docker.io/library/bash:5.2.26
52+
image: mirror.gcr.io/bash
5353
script: |
5454
#!/usr/bin/env bash
5555
echo -n "myfavoritesitedotcom" | tee $(results.url.path)

examples/v1/pipelineruns/beta/pipelinerun-with-matrix-array-references.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
default: ""
1414
steps:
1515
- name: echo
16-
image: docker.io/library/alpine:3.20.1
16+
image: mirror.gcr.io/alpine
1717
script: |
1818
echo "$(params.platform) and $(params.browser)"
1919
---

0 commit comments

Comments
 (0)