Skip to content

Commit

Permalink
remove s390x steps since the runners are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasferrandiz committed Dec 4, 2023
1 parent d9d53cb commit e60e9bd
Showing 1 changed file with 0 additions and 110 deletions.
110 changes: 0 additions & 110 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -354,114 +354,6 @@ steps:
- refs/head/master
- refs/tags/*

volumes:
- name: docker
host:
path: /var/run/docker.sock
---
kind: pipeline
type: docker
name: build-s390x

platform:
os: linux
arch: amd64

node:
arch: s390x

clone:
retries: 3

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:
ref:
include:
- refs/heads/master
- refs/heads/release-*
- refs/pull/**

- 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
when:
ref:
include:
- refs/heads/master
- refs/heads/release-*
- refs/pull/**
- refs/tags/*

- 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.10b1
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:
Expand Down Expand Up @@ -527,7 +419,6 @@ volumes:
depends_on:
- build-amd64
- build-arm64
- build-s390x
---
kind: pipeline
type: docker
Expand Down Expand Up @@ -578,5 +469,4 @@ steps:
depends_on:
- build-amd64
- build-arm64
- build-s390x
...

0 comments on commit e60e9bd

Please sign in to comment.