Skip to content

Commit

Permalink
remove s390x from drone and manifest (#81)
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Tashima <[email protected]>
Co-authored-by: Pedro Tashima <[email protected]>
  • Loading branch information
tashima42 and tashima42 authored Dec 6, 2023
1 parent e2ceada commit e832c67
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 52 deletions.
51 changes: 0 additions & 51 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,57 +144,6 @@ volumes:
host:
path: /var/run/docker.sock

---
kind: pipeline
name: s390x

platform:
os: linux
arch: amd64

node:
arch: s390x

steps:
- name: tag
image: rancher/dapper:v0.5.8
commands:
- echo "${DRONE_TAG}-s390x" | sed -e 's/+/-/g' >.tags
volumes:
- name: docker
path: /var/run/docker.sock
- name: docker-publish
image: rancher/drone-images:docker-s390x
settings:
dockerfile: Dockerfile
build_args:
- ARCH=s390x
- TAG=${DRONE_TAG}
password:
from_secret: docker_password
repo: "rancher/k3s-upgrade"
username:
from_secret: docker_username
volumes:
- name: docker
path: /var/run/docker.sock
when:
instance:
- drone-publish.k3s.io
ref:
include:
- refs/head/master
- refs/tags/*
exclude:
- refs/tags/v1.21.*
event:
- tag

volumes:
- name: docker
host:
path: /var/run/docker.sock

---
kind: pipeline
name: manifest
Expand Down
2 changes: 1 addition & 1 deletion scripts/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ -z "${DRONE_TAG}" ]; then
elif echo "${DRONE_TAG}" | grep -E '1.21.\d*.*'; then
export PLUGIN_PLATFORMS="linux/amd64,linux/arm64,linux/arm"
else
export PLUGIN_PLATFORMS="linux/amd64,linux/arm64,linux/arm,linux/s390x"
export PLUGIN_PLATFORMS="linux/amd64,linux/arm64,linux/arm"
fi

export REPO="rancher/k3s-upgrade"
Expand Down

0 comments on commit e832c67

Please sign in to comment.