fix(ci): adap arm64 pipelines
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
04241fb1c1
commit
129ed73d97
18
.drone.yml
18
.drone.yml
@ -89,7 +89,7 @@ trigger:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: docker
|
||||||
name: unit-test-arm64
|
name: unit-test-arm64
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
@ -98,8 +98,12 @@ clone:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- linter
|
- linter
|
||||||
|
|
||||||
node_selector:
|
# node_selector:
|
||||||
kubernetes.io/arch: arm64
|
# kubernetes.io/arch: arm64
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
@ -109,10 +113,10 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- go test -v ./...
|
- go test -v ./...
|
||||||
image: docker.io/library/golang:1.20.0
|
image: docker.io/library/golang:1.20.0
|
||||||
resources:
|
# resources:
|
||||||
limits:
|
# limits:
|
||||||
cpu: 250
|
# cpu: 250
|
||||||
memory: 500M
|
# memory: 500M
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
Loading…
Reference in New Issue
Block a user