Skip to content

Commit e991e6d

Browse files
authored
fix: use alpine 3.23 version in tests, examples, workflows (argoproj#15160)
Signed-off-by: forzagreen <wael.tellat@gmail.com>
1 parent 67db97f commit e991e6d

159 files changed

Lines changed: 429 additions & 429 deletions

File tree

Some content is hidden

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

cmd/argo/commands/common/get_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ spec:
203203
- sh
204204
- -c
205205
- sleep 10
206-
image: alpine:latest
206+
image: alpine:3.23
207207
name: sleep
208208
status:
209209
conditions:

docs/container-set-template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ spec:
148148
containers:
149149
# this container completes successfully, so it won't be retried.
150150
- name: success
151-
image: python:alpine3.6
151+
image: python:alpine3.23
152152
command:
153153
- python
154154
- -c
@@ -157,7 +157,7 @@ spec:
157157
print("hi")
158158
# if fails, it will retry at most ten times.
159159
- name: fail-retry
160-
image: python:alpine3.6
160+
image: python:alpine3.23
161161
command: ["python", -c]
162162
# fail with a 66% probability
163163
args: ["import random; import sys; exit_code = random.choice([0, 1, 1]); sys.exit(exit_code)"]

docs/cron-workflows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
templates:
2626
- name: date
2727
container:
28-
image: alpine:3.6
28+
image: alpine:3.23
2929
command: [sh, -c]
3030
args: ["date; sleep 90"]
3131
```

docs/executor_plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ spec:
157157
- python
158158
- -u # disables output buffering
159159
- -c
160-
image: python:alpine3.6
160+
image: python:alpine3.23
161161
name: hello-executor-plugin
162162
ports:
163163
- containerPort: 4355

docs/lifecyclehook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ spec:
5252

5353
- name: heads
5454
container:
55-
image: alpine:3.6
55+
image: alpine:3.23
5656
command: [sh, -c]
5757
args: ["echo \"it was heads\""]
5858

docs/metrics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ An example of a `Template`-level Counter metric that will increase a counter eve
711711
counter:
712712
value: "1" # This increments the counter by 1
713713
container:
714-
image: python:alpine3.6
714+
image: python:alpine3.23
715715
command: ["python", -c]
716716
# fail with a 66% probability
717717
args: ["import random; import sys; exit_code = random.choice([0, 1, 1]); sys.exit(exit_code)"]
@@ -738,7 +738,7 @@ A similar example of such a Counter metric that will increase for every step sta
738738
counter:
739739
value: "1"
740740
container:
741-
image: python:alpine3.6
741+
image: python:alpine3.23
742742
command: ["python", -c]
743743
# fail with a 66% probability
744744
args: ["import random; import sys; exit_code = random.choice([0, 1, 1]); sys.exit(exit_code)"]
@@ -771,7 +771,7 @@ Finally, an example of a `Template`-level Histogram metric that tracks an intern
771771
valueFrom:
772772
path: /tmp/rand_int.txt
773773
container:
774-
image: alpine:latest
774+
image: alpine:3.23
775775
command: [sh, -c]
776776
args: ["RAND_INT=$((1 + RANDOM % 10)); echo $RAND_INT; echo $RAND_INT > /tmp/rand_int.txt"]
777777
...

docs/progress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ spec:
6161
template: progress
6262
- name: progress
6363
container:
64-
image: alpine:3.14
64+
image: alpine:3.23
6565
command: [ "/bin/sh", "-c" ]
6666
args:
6767
- |

docs/retries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
retryStrategy:
1717
limit: "10"
1818
container:
19-
image: python:alpine3.6
19+
image: python:alpine3.23
2020
command: ["python", -c]
2121
# fail with a 66% probability
2222
args: ["import random; import sys; exit_code = random.choice([0, 1, 1]); sys.exit(exit_code)"]

docs/walk-through/artifacts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ spec:
5252
- name: message
5353
path: /tmp/message
5454
container:
55-
image: alpine:latest
55+
image: alpine:3.23
5656
command: [sh, -c]
5757
args: ["cat /tmp/message"]
5858
```
@@ -85,7 +85,7 @@ Optionally, for large artifacts, you can set `podSpecPatch` in the workflow spec
8585
- name: data
8686
path: /tmp/large-file
8787
container:
88-
image: alpine:latest
88+
image: alpine:3.23
8989
command: [sh, -c]
9090
args: ["cat /tmp/large-file"]
9191
# <... snipped ...>

docs/walk-through/conditionals.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ spec:
4343
# Return heads or tails based on a random number
4444
- name: flip-coin
4545
script:
46-
image: python:alpine3.6
46+
image: python:alpine3.23
4747
command: [python]
4848
source: |
4949
import random
@@ -52,19 +52,19 @@ spec:
5252
5353
- name: heads
5454
container:
55-
image: alpine:3.6
55+
image: alpine:3.23
5656
command: [sh, -c]
5757
args: ["echo \"it was heads\""]
5858

5959
- name: tails
6060
container:
61-
image: alpine:3.6
61+
image: alpine:3.23
6262
command: [sh, -c]
6363
args: ["echo \"it was tails\""]
6464

6565
- name: heads-tails-or-twice-tails
6666
container:
67-
image: alpine:3.6
67+
image: alpine:3.23
6868
command: [sh, -c]
6969
args: ["echo \"it was heads the first flip and tails the second. Or it was two times tails.\""]
7070
```

0 commit comments

Comments
 (0)