Skip to content

Commit

Permalink
Merge pull request #103 from sbstp-suse/feat/suc-arm-arm64
Browse files Browse the repository at this point in the history
Update pipelines to support suc for arm64 and remove all arm support
  • Loading branch information
sbstp authored Jan 11, 2023
2 parents 24c523a + 3ce7abc commit f2dcac2
Showing 1 changed file with 8 additions and 48 deletions.
56 changes: 8 additions & 48 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,57 +136,17 @@ steps:
event:
- tag

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

---
kind: pipeline
name: arm

platform:
os: linux
arch: arm

steps:
- name: build
image: rancher/dapper:v0.4.1
commands:
- dapper ci
- name: docker-publish-suc
image: rancher/drone-images:docker-arm64
volumes:
- name: docker
path: /var/run/docker.sock

- name: github_binary_release
image: plugins/github-release
settings:
api_key:
from_secret: github_token
prerelease: true
checksum:
- sha256
checksum_file: CHECKSUMsum-arm.txt
checksum_flatten: true
files:
- "dist/artifacts/*"
when:
instance:
- drone-publish.rancher.io
ref:
- refs/head/master
- refs/tags/*
event:
- tag

- name: docker-publish
image: plugins/docker
- name: docker
path: /var/run/docker.sock
settings:
dockerfile: package/Dockerfile
dockerfile: package/Dockerfile.suc
password:
from_secret: docker_password
repo: "rancher/system-agent"
tag: "${DRONE_TAG}-arm"
tag: "${DRONE_TAG}-suc-arm64"
username:
from_secret: docker_username
when:
Expand Down Expand Up @@ -313,7 +273,6 @@ steps:
platforms:
- linux/amd64
- linux/arm64
- linux/arm
- linux/s390x
target: "rancher/system-agent:${DRONE_TAG}"
template: "rancher/system-agent:${DRONE_TAG}-ARCH"
Expand All @@ -329,7 +288,6 @@ steps:
depends_on:
- amd64
- arm64
- arm
- s390x

---
Expand All @@ -350,6 +308,7 @@ steps:
from_secret: docker_password
platforms:
- linux/amd64
- linux/arm64
- linux/s390x
target: "rancher/system-agent:${DRONE_TAG}-suc"
template: "rancher/system-agent:${DRONE_TAG}-suc-ARCH"
Expand All @@ -364,4 +323,5 @@ steps:

depends_on:
- amd64
- arm64
- s390x

0 comments on commit f2dcac2

Please sign in to comment.