From 9dbcda684071cccd427d6c3dc562600cae40bf51 Mon Sep 17 00:00:00 2001
From: Derek Su <derek.su@suse.com>
Date: Fri, 22 Mar 2024 08:13:58 +0000
Subject: [PATCH] drone: remove s390x support

Signed-off-by: Derek Su <derek.su@suse.com>
---
 .drone.yml | 85 ------------------------------------------------------
 1 file changed, 85 deletions(-)

diff --git a/.drone.yml b/.drone.yml
index 64570db7..f34aee30 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -223,88 +223,6 @@ volumes:
   host:
     path: /var/run/docker.sock
 
----
-kind: pipeline
-name: s390x
-
-platform:
-  os: linux
-  arch: amd64
-
-# Hack needed for s390x: https://gist.github.com/colstrom/c2f359f72658aaabb44150ac20b16d7c#gistcomment-3858388
-node:
-  arch: s390x
-
-steps:
-- name: build
-  image: rancher/dapper:v0.5.8
-  commands:
-  - dapper ci
-  volumes:
-  - name: docker
-    path: /var/run/docker.sock
-
-- name: github_binary_release
-  image: rancher/drone-images:github-release-s390x
-  settings:
-    api_key:
-      from_secret: github_token
-    prerelease: true
-    checksum:
-    - sha256
-    checksum_file: CHECKSUMsum-s390x.txt
-    checksum_flatten: true
-    files:
-    - "dist/artifacts/*"
-  when:
-    instance:
-    - drone-publish.rancher.io
-    event:
-    - tag
-
-- name: docker-publish
-  image: rancher/drone-images:docker-s390x
-  volumes:
-    - name: docker
-      path: /var/run/docker.sock
-  settings:
-    dockerfile: package/Dockerfile
-    password:
-      from_secret: docker_password
-    repo: "rancher/local-path-provisioner"
-    tag: "${DRONE_BRANCH}-head-s390x"
-    username:
-      from_secret: docker_username
-  when:
-    instance:
-    - drone-publish.rancher.io
-    event:
-    - push
-
-- name: docker-tagged-publish
-  image: rancher/drone-images:docker-s390x
-  volumes:
-    - name: docker
-      path: /var/run/docker.sock
-  settings:
-    dockerfile: package/Dockerfile
-    password:
-      from_secret: docker_password
-    repo: "rancher/local-path-provisioner"
-    tag: "${DRONE_TAG}-s390x"
-    username:
-      from_secret: docker_username
-  when:
-    instance:
-    - drone-publish.rancher.io
-    event:
-    - tag
-
-volumes:
-- name: docker
-  host:
-    path: /var/run/docker.sock
-
 ---
 kind: pipeline
 name: manifest
@@ -325,7 +243,6 @@ steps:
       - linux/amd64
       - linux/arm64
       - linux/arm
-      - linux/s390x
     target: "rancher/local-path-provisioner:${DRONE_BRANCH}-head"
     template: "rancher/local-path-provisioner:${DRONE_BRANCH}-head-ARCH"
   when:
@@ -345,7 +262,6 @@ steps:
       - linux/amd64
       - linux/arm64
       - linux/arm
-      - linux/s390x
     target: "rancher/local-path-provisioner:${DRONE_TAG}"
     template: "rancher/local-path-provisioner:${DRONE_TAG}-ARCH"
   when:
@@ -358,4 +274,3 @@ depends_on:
 - amd64
 - arm64
 - arm
-- s390x
-- 
GitLab