Skip to content

Commit b27c605

Browse files
committed
Bump alpine/helmv3
Also drop s390x since we no longer have build infra Signed-off-by: Brad Davidson <[email protected]>
1 parent 5fff2c5 commit b27c605

File tree

3 files changed

+5
-57
lines changed

3 files changed

+5
-57
lines changed

.drone.yml

-50
Original file line numberDiff line numberDiff line change
@@ -130,55 +130,7 @@ volumes:
130130
- name: docker
131131
host:
132132
path: /var/run/docker.sock
133-
---
134-
kind: pipeline
135-
name: s390x
136-
type: docker
137-
138-
platform:
139-
os: linux
140-
arch: amd64
141-
142-
node:
143-
arch: s390x
144-
145-
steps:
146-
- name: build
147-
image: rancher/dapper:v0.5.8
148-
commands:
149-
- dapper ci
150-
volumes:
151-
- name: docker
152-
path: /var/run/docker.sock
153133

154-
- name: docker-publish
155-
image: rancher/drone-images:docker-s390x
156-
volumes:
157-
- name: docker
158-
path: /var/run/docker.sock
159-
settings:
160-
dockerfile: package/Dockerfile
161-
password:
162-
from_secret: docker_password
163-
repo: "rancher/klipper-helm"
164-
tag: "${DRONE_TAG}-s390x"
165-
username:
166-
from_secret: docker_username
167-
build_args:
168-
- ARCH=s390x
169-
when:
170-
instance:
171-
- drone-publish.k3s.io
172-
ref:
173-
- refs/head/master
174-
- refs/tags/*
175-
event:
176-
- tag
177-
178-
volumes:
179-
- name: docker
180-
host:
181-
path: /var/run/docker.sock
182134
---
183135
kind: pipeline
184136
name: manifest
@@ -199,7 +151,6 @@ steps:
199151
- linux/amd64
200152
- linux/arm64
201153
- linux/arm
202-
- linux/s390x
203154
target: "rancher/klipper-helm:${DRONE_TAG}"
204155
template: "rancher/klipper-helm:${DRONE_TAG}-ARCH"
205156
when:
@@ -215,7 +166,6 @@ depends_on:
215166
- amd64
216167
- arm64
217168
- arm
218-
- s390x
219169

220170
...
221171

Dockerfile.dapper

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# need to stick with alpine 3.17 for docker 20.10 until the s390x runners are upgraded
2-
# ref: https://github.com/alpinelinux/docker-alpine/issues/182
3-
FROM alpine:3.17
1+
FROM alpine:3.19
42

53
ARG DAPPER_HOST_ARCH
64
ENV ARCH $DAPPER_HOST_ARCH

package/Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM alpine:3.18 as extract
1+
FROM alpine:3.19 as extract
22
RUN apk add -U curl ca-certificates
33
ARG ARCH
44
RUN curl https://get.helm.sh/helm-v2.17.0-linux-${ARCH}.tar.gz | tar xvzf - --strip-components=1 -C /usr/bin
55
RUN mv /usr/bin/helm /usr/bin/helm_v2
6-
RUN curl https://get.helm.sh/helm-v3.12.3-linux-${ARCH}.tar.gz | tar xvzf - --strip-components=1 -C /usr/bin
6+
RUN curl https://get.helm.sh/helm-v3.14.2-linux-${ARCH}.tar.gz | tar xvzf - --strip-components=1 -C /usr/bin
77
RUN mv /usr/bin/helm /usr/bin/helm_v3
88
COPY entry /usr/bin/
99

10-
FROM golang:1.20-alpine3.18 as plugins
10+
FROM golang:1.20-alpine3.19 as plugins
1111
RUN apk add -U curl ca-certificates build-base binutils-gold
1212
ARG ARCH
1313
COPY --from=extract /usr/bin/helm_v3 /usr/bin/helm
@@ -23,7 +23,7 @@ RUN mkdir -p /go/src/github.com/helm/helm-mapkubeapis && \
2323
/go/src/github.com/helm/helm-mapkubeapis/config \
2424
/root/.local/share/helm/plugins/helm-mapkubeapis/
2525

26-
FROM alpine:3.18
26+
FROM alpine:3.19
2727
ARG BUILDDATE
2828
LABEL buildDate=$BUILDDATE
2929
RUN apk --no-cache upgrade && \

0 commit comments

Comments
 (0)