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
|
||||
type: kubernetes
|
||||
type: docker
|
||||
name: unit-test-arm64
|
||||
|
||||
clone:
|
||||
@ -98,8 +98,12 @@ clone:
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
node_selector:
|
||||
kubernetes.io/arch: arm64
|
||||
# node_selector:
|
||||
# kubernetes.io/arch: arm64
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
@ -109,10 +113,10 @@ steps:
|
||||
commands:
|
||||
- go test -v ./...
|
||||
image: docker.io/library/golang:1.20.0
|
||||
resources:
|
||||
limits:
|
||||
cpu: 250
|
||||
memory: 500M
|
||||
# resources:
|
||||
# limits:
|
||||
# cpu: 250
|
||||
# memory: 500M
|
||||
|
||||
trigger:
|
||||
event:
|
||||
|
Loading…
Reference in New Issue
Block a user