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: Thomas Ferrandiz <thomas.ferrandiz@suse.com>
  • Loading branch information
thomasferrandiz authored and David Ko committed Dec 5, 2023
1 parent 81dc171 commit 014125a
Showing 1 changed file with 0 additions and 103 deletions.
103 changes: 0 additions & 103 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,106 +202,6 @@ volumes:
host:
path: /var/run/docker.sock

---
kind: pipeline
name: default-s390x

node:
arch: s390x

platform:
os: linux
arch: amd64

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

steps:
- name: fetch
image: ubuntu:18.04
commands:
- apt-get update
- apt-get install -y git
- git fetch --tags

- name: build
pull: default
image: rancher/dapper:v0.5.8
commands:
- dapper ci
privileged: true
volumes:
- name: socket
path: /var/run/docker.sock

- name: publish-image
image: rancher/drone-images:docker-s390x
settings:
build_args:
- ARCH=s390x
custom_dns: 1.1.1.1
dockerfile: package/Dockerfile
password:
from_secret: docker_password
repo: longhornio/longhorn-engine
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:
- ARCH=s390x
custom_dns: 1.1.1.1
dockerfile: package/Dockerfile
password:
from_secret: docker_password
repo: longhornio/longhorn-engine
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
Expand Down Expand Up @@ -330,7 +230,6 @@ steps:
platforms:
- linux/amd64
- linux/arm64
- linux/s390x
target: "longhornio/longhorn-engine:${DRONE_BRANCH}-head"
template: "longhornio/longhorn-engine:${DRONE_BRANCH}-head-ARCH"
when:
Expand All @@ -349,7 +248,6 @@ steps:
platforms:
- linux/amd64
- linux/arm64
- linux/s390x
target: "longhornio/longhorn-engine:${DRONE_TAG}"
template: "longhornio/longhorn-engine:${DRONE_TAG}-ARCH"
when:
Expand All @@ -361,4 +259,3 @@ steps:
depends_on:
- default-amd64
- default-arm64
- default-s390x

0 comments on commit 014125a

Please sign in to comment.