Skip to content

Commit

Permalink
remove s390 arch during drone workers maintenance
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Chiu <yang.chiu@suse.com>
  • Loading branch information
yangchiu authored and David Ko committed Dec 5, 2023
1 parent bf62527 commit 3b15475
Showing 1 changed file with 0 additions and 88 deletions.
88 changes: 0 additions & 88 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,91 +165,6 @@ volumes:
path: /var/run/docker.sock
---
kind: pipeline
name: default-s390x

platform:
os: linux
arch: amd64

node:
arch: s390x

trigger:
event:
exclude:
- pull_request
branch:
- master
- main
- v*

steps:
- name: publish-image
image: rancher/drone-images:docker-s390x
settings:
build_args:
- "VERSION=${DRONE_COMMIT:0:7}"
- ARCH=s390x
custom_dns: 1.1.1.1
dockerfile: Dockerfile
password:
from_secret: docker_password
repo: longhornio/longhorn-ui
tag: "${DRONE_BRANCH}-head-s390x"
username:
from_secret: docker_username
volumes:
- name: socket
path: /var/run/docker.sock
when:
event:
- push

- name: publish-tagged-image
image: rancher/drone-images:docker-s390x
settings:
build_args:
- "VERSION=${DRONE_TAG}"
- ARCH=s390x
custom_dns: 1.1.1.1
dockerfile: Dockerfile
password:
from_secret: docker_password
repo: longhornio/longhorn-ui
tag: "${DRONE_TAG}-s390x"
username:
from_secret: docker_username
volumes:
- name: socket
path: /var/run/docker.sock
when:
event:
- tag

- name: slack_notify
image: plugins/slack
settings:
template: "Build {{build.link}} failed.\n"
username: Drone_Publish
webhook:
from_secret: slack_webhook
when:
event:
exclude:
- pull_request
instance:
include:
- drone-publish.longhorn.io
status:
- failure

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

---
kind: pipeline
name: manifest

platform:
Expand All @@ -276,7 +191,6 @@ steps:
platforms:
- linux/amd64
- linux/arm64
- linux/s390x
target: "longhornio/longhorn-ui:${DRONE_BRANCH}-head"
template: "longhornio/longhorn-ui:${DRONE_BRANCH}-head-ARCH"
when:
Expand All @@ -295,7 +209,6 @@ steps:
platforms:
- linux/amd64
- linux/arm64
- linux/s390x
target: "longhornio/longhorn-ui:${DRONE_TAG}"
template: "longhornio/longhorn-ui:${DRONE_TAG}-ARCH"
when:
Expand Down Expand Up @@ -324,4 +237,3 @@ steps:
depends_on:
- default-amd64
- default-arm64
- default-s390x

0 comments on commit 3b15475

Please sign in to comment.