Skip to content

Commit

Permalink
remove s390x steps temporarily since runners are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasferrandiz committed Dec 5, 2023
1 parent 3f9afa7 commit 7240b1f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 103 deletions.
99 changes: 0 additions & 99 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,103 +172,6 @@ volumes:
host:
path: /var/run/docker.sock

---
kind: pipeline
type: docker
name: build-s390x

platform:
os: linux
arch: amd64

node:
arch: s390x

steps:
- name: skipfiles
image: alpine/git:v2.30.2-s390x
commands:
- export NAME=$(test $DRONE_BUILD_EVENT = pull_request && echo remotes/origin/${DRONE_COMMIT_BRANCH:-master} || echo ${DRONE_COMMIT_SHA}~)
- export DIFF=$(git --no-pager diff --name-only $NAME | grep -v -f .droneignore);
- if [ -z "$DIFF" ]; then
echo "All files in PR are on ignore list";
exit 78;
else
echo "Some files in PR are not ignored, $DIFF";
fi;
when:
event:
- push
- pull_request

- name: build
image: rancher/dapper:v0.5.8
commands:
- dapper -f Dockerfile --target dapper make dapper-ci
volumes:
- name: docker
path: /var/run/docker.sock

- name: package-images
image: rancher/dapper:v0.5.8
commands:
- dapper -f Dockerfile --target dapper make package-images
volumes:
- name: docker
path: /var/run/docker.sock
when:
event:
- tag
instance:
- drone-publish.rancher.io

- name: publish-image-runtime
image: rancher/hardened-build-base:v1.20.11b1
commands:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- DRONE_TAG=${DRONE_TAG} make publish-image-runtime
environment:
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
volumes:
- name: docker
path: /var/run/docker.sock
when:
event:
- tag
instance:
- drone-publish.rancher.io
ref:
- refs/head/master
- refs/tags/*

- name: publish-dist-artifacts
image: rancher/drone-images:github-release-s390x
settings:
api_key:
from_secret: github_token
checksum:
- sha256
checksum_file: CHECKSUMsum-s390x.txt
checksum_flatten: true
files:
- dist/artifacts/*
prerelease: true
when:
event:
- tag
instance:
- drone-publish.rancher.io
ref:
- refs/head/master
- refs/tags/*
volumes:
- name: docker
host:
path: /var/run/docker.sock

---
kind: pipeline
type: docker
Expand Down Expand Up @@ -323,7 +226,6 @@ volumes:

depends_on:
- build-amd64
- build-s390x
---
kind: pipeline
type: docker
Expand Down Expand Up @@ -368,5 +270,4 @@ steps:
- refs/tags/*
depends_on:
- build-amd64
- build-s390x
...
4 changes: 0 additions & 4 deletions manifest-runtime.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,3 @@ manifests:
platform:
architecture: amd64
os: windows
- image: rancher/rke2-runtime:{{replace "+" "-" build.tag}}-linux-s390x
platform:
architecture: s390x
os: linux

0 comments on commit 7240b1f

Please sign in to comment.