Skip to content

Commit

Permalink
update alpine to 3.14 everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
kannon92 committed Jul 24, 2023
1 parent b70c112 commit baa908a
Show file tree
Hide file tree
Showing 24 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion build/armada-load-tester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/armada/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/armadactl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/binoculars/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/eventingester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/executor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/fakeexecutor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/jobservice/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/lookout/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/lookoutingester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/lookoutingesterv2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/lookoutv2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/scheduler/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/scheduleringester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/testsuite/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.14

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion cmd/armada-load-tester/cmd/loadtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var loadtestCmd = &cobra.Command{
containers:
- name: sleep
imagePullPolicy: IfNotPresent
image: alpine:3.10
image: alpine:3.14
command:
- sh
args:
Expand Down
2 changes: 1 addition & 1 deletion deployment/lookout-migration/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
{{- end }}
initContainers:
- name: db-wait
image: alpine:3.10
image: alpine:3.14
command:
- /bin/sh
- -c
Expand Down
2 changes: 1 addition & 1 deletion e2e/armadactl_test/armadactl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
containers:
- name: ls
imagePullPolicy: IfNotPresent
image: alpine:3.10
image: alpine:3.14
command:
- sh
- -c
Expand Down
2 changes: 1 addition & 1 deletion e2e/lookout_ingester_test/lookout_ingester_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ func createJobRequest(namespace string, args []string) *api.JobSubmitRequest {
Containers: []v1.Container{
{
Name: "container1",
Image: "alpine:3.10",
Image: "alpine:3.14",
Command: []string{"/bin/sh", "-c"},
Args: args,
Resources: v1.ResourceRequirements{
Expand Down
8 changes: 4 additions & 4 deletions e2e/pulsar_test/pulsar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ func createJobSubmitRequestWithClientId(numJobs int, clientId string) *api.JobSu
Containers: []v1.Container{
{
Name: "container1",
Image: "alpine:3.10",
Image: "alpine:3.14",
Args: []string{"sleep", "5s"},
Resources: v1.ResourceRequirements{
Requests: v1.ResourceList{"cpu": cpu, "memory": memory},
Expand Down Expand Up @@ -1042,7 +1042,7 @@ func createWgetJobRequest(address string) *api.JobSubmitRequest {
Containers: []v1.Container{
{
Name: "wget",
Image: "alpine:3.10",
Image: "alpine:3.14",
Args: []string{"wget", address, "--timeout=5"}, // Queried from the k8s services API
Resources: v1.ResourceRequirements{
Requests: v1.ResourceList{"cpu": cpu, "memory": memory},
Expand Down Expand Up @@ -1173,7 +1173,7 @@ func createJobSubmitRequestWithEverything(numJobs int) *api.JobSubmitRequest {
Containers: []v1.Container{
{
Name: "container1",
Image: "alpine:3.10",
Image: "alpine:3.14",
Args: []string{"sleep", "5s"},
Resources: v1.ResourceRequirements{
Requests: v1.ResourceList{"cpu": cpu, "memory": memory},
Expand Down Expand Up @@ -1240,7 +1240,7 @@ func createJobSubmitRequestWithError(numJobs int) *api.JobSubmitRequest {
Containers: []v1.Container{
{
Name: "container1",
Image: "alpine:3.10",
Image: "alpine:3.14",
Args: []string{"sleep", "5s", "&&", "exit", "1"},
Resources: v1.ResourceRequirements{
Requests: v1.ResourceList{"cpu": cpu, "memory": memory},
Expand Down
2 changes: 1 addition & 1 deletion e2e/setup/setup_cluster_kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ REPO_ROOT=$(git rev-parse --show-toplevel)

echo "Setting up cluster1"
kind create cluster --config ${REPO_ROOT}/e2e/setup/worker-master-config.yaml --name cluster1 --wait 3m
kind load --name cluster1 docker-image alpine:3.10
kind load --name cluster1 docker-image alpine:3.14
2 changes: 1 addition & 1 deletion internal/common/eventutil/eventutil_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ func testContainer(name string) v1.Container {
memory, _ := resource.ParseQuantity("50Mi")
return v1.Container{
Name: name,
Image: "alpine:3.10",
Image: "alpine:3.14",
Command: []string{"cmd1", "cmd2"},
Args: []string{"sleep", "5s"},
Resources: v1.ResourceRequirements{
Expand Down
2 changes: 1 addition & 1 deletion magefiles/kind.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const (

func getImages() []string {
images := []string{
"alpine:3.10",
"alpine:3.14",
"nginx:1.21.6",
"registry.k8s.io/ingress-nginx/controller:v1.4.0",
"registry.k8s.io/ingress-nginx/kube-webhook-certgen:v20220916-gd32f8c343",
Expand Down
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -446,11 +446,11 @@ setup-cluster:
kind create cluster --config e2e/setup/kind.yaml

# Load images necessary for tests.
docker pull "alpine:3.10" # used for e2e tests
docker pull "alpine:3.14" # used for e2e tests
docker pull "nginx:1.21.6" # used for e2e tests (ingress)
docker pull "registry.k8s.io/ingress-nginx/controller:v1.4.0"
docker pull "registry.k8s.io/ingress-nginx/kube-webhook-certgen:v20220916-gd32f8c343"
kind load docker-image "alpine:3.10" --name armada-test
kind load docker-image "alpine:3.14" --name armada-test
kind load docker-image "nginx:1.21.6" --name armada-test
kind load docker-image "registry.k8s.io/ingress-nginx/controller:v1.4.0" --name armada-test
kind load docker-image "registry.k8s.io/ingress-nginx/kube-webhook-certgen:v20220916-gd32f8c343" --name armada-test
Expand Down

0 comments on commit baa908a

Please sign in to comment.