This commit is contained in:
68
.drone.yml
68
.drone.yml
@@ -1,36 +1,34 @@
|
|||||||
kind: pipeline
|
#kind: pipeline
|
||||||
type: docker
|
#type: docker
|
||||||
name: testing
|
#name: testing
|
||||||
|
#
|
||||||
platform:
|
#platform:
|
||||||
os: linux
|
# os: linux
|
||||||
arch: arm64
|
# arch: arm64
|
||||||
|
#
|
||||||
steps:
|
#steps:
|
||||||
- name: test
|
# - name: test
|
||||||
image: golang:1.16
|
# image: golang:1.16
|
||||||
commands:
|
# commands:
|
||||||
- go mod download github.com/containernetworking/cni
|
# - go mod download github.com/containernetworking/cni
|
||||||
- go test -cover ./...
|
# - go test -cover ./...
|
||||||
volumes:
|
# volumes:
|
||||||
- name: go
|
# - name: go
|
||||||
path: /go
|
# path: /go
|
||||||
|
#
|
||||||
- name: build
|
# - name: build
|
||||||
image: golang:1.16
|
# image: golang:1.16
|
||||||
commands:
|
# commands:
|
||||||
- sh scripts/build.sh
|
# - sh scripts/build.sh
|
||||||
volumes:
|
# volumes:
|
||||||
- name: go
|
# - name: go
|
||||||
path: /go
|
# path: /go
|
||||||
|
#
|
||||||
volumes:
|
#volumes:
|
||||||
- name: go
|
# - name: go
|
||||||
temp: {}
|
# temp: {}
|
||||||
|
#
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: linux-arm64
|
name: linux-arm64
|
||||||
@@ -68,9 +66,9 @@ steps:
|
|||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
- refs/tags/*
|
- refs/tags/*
|
||||||
|
|
||||||
depends_on:
|
#depends_on:
|
||||||
- testing
|
# - testing
|
||||||
|
#
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
|
|||||||
Reference in New Issue
Block a user