Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
BREAKING CHANGE: remove support for arm32 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored Jan 8, 2023
1 parent eb50487 commit 070f45d
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 106 deletions.
2 changes: 0 additions & 2 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ local PipelineDocs = {
'build-binaries',
'build-container-amd64',
'build-container-arm64',
'build-container-arm',
],
trigger: {
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
Expand Down Expand Up @@ -351,7 +350,6 @@ local PipelineNotifications = {
PipelineBuildBinaries,
PipelineBuildContainer(arch='amd64'),
PipelineBuildContainer(arch='arm64'),
PipelineBuildContainer(arch='arm'),
PipelineDocs,
PipelineNotifications,
]
76 changes: 1 addition & 75 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,79 +242,6 @@ trigger:
depends_on:
- test

---
kind: pipeline
name: build-container-arm

platform:
os: linux
arch: arm

steps:
- name: build
image: golang:1.19
commands:
- make build
- ls -l dist/drone-git-action

- name: dryrun
image: thegeeklab/drone-docker:19
settings:
dockerfile: docker/Dockerfile.arm
dry_run: true
repo: thegeeklab/${DRONE_REPO_NAME}
when:
ref:
- refs/pull/**
depends_on:
- build

- name: publish-dockerhub
image: thegeeklab/drone-docker:19
settings:
auto_tag: true
auto_tag_suffix: arm
dockerfile: docker/Dockerfile.arm
password:
from_secret: docker_password
repo: thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: docker_username
when:
ref:
- refs/heads/main
- refs/tags/**
depends_on:
- dryrun

- name: publish-quay
image: thegeeklab/drone-docker:19
settings:
auto_tag: true
auto_tag_suffix: arm
dockerfile: docker/Dockerfile.arm
password:
from_secret: quay_password
registry: quay.io
repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: quay_username
when:
ref:
- refs/heads/main
- refs/tags/**
depends_on:
- dryrun

trigger:
ref:
- refs/heads/main
- refs/tags/**
- refs/pull/**

depends_on:
- test

---
kind: pipeline
name: docs
Expand Down Expand Up @@ -366,7 +293,6 @@ depends_on:
- build-binaries
- build-container-amd64
- build-container-arm64
- build-container-arm

---
kind: pipeline
Expand Down Expand Up @@ -460,6 +386,6 @@ depends_on:

---
kind: signature
hmac: 2bc7a7e473ccadc295bd6a071d901f48f18ab0c69d8306c513dbbe02969db9fc
hmac: e987759fd94fe86d9420716668d6de2a03c637a3c11521380f1aee81b416458f

...
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest

GENERATE ?=
XGO_VERSION := go-1.19.x
XGO_TARGETS ?= linux/amd64,linux/arm-6,linux/arm-7,linux/arm64
XGO_TARGETS ?= linux/amd64,linux/arm64

TAGS ?= netgo osusergo

Expand Down
16 changes: 0 additions & 16 deletions docker/Dockerfile.arm

This file was deleted.

6 changes: 0 additions & 6 deletions docker/manifest-quay.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,3 @@ manifests:
architecture: arm64
os: linux
variant: v8

- image: quay.io/thegeeklab/drone-git-action:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm
platform:
architecture: arm
os: linux
variant: v7
6 changes: 0 additions & 6 deletions docker/manifest.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,3 @@ manifests:
architecture: arm64
os: linux
variant: v8

- image: thegeeklab/drone-git-action:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm
platform:
architecture: arm
os: linux
variant: v7

0 comments on commit 070f45d

Please sign in to comment.