Drone Jsonnet #34

Merged
sam merged 1 commits from drone-jsonnet into master 2022-07-12 23:13:38 +00:00
2 changed files with 22 additions and 8 deletions

22
.drone.jsonnet Normal file
View File

@ -0,0 +1,22 @@
local pipeline(version, arch) = {
kind: "pipeline",
name: version + "-" + arch ,
platform: {
arch: arch
},
steps: [
{
name: "test",
image: "golang:" + version,
commands: [
"go test ./..."
]
}
]
};
// logawl uses generics so 1.18 is the minimum
[
pipeline("1.18", "amd64"),
pipeline("1.18", "arm64"),
]

View File

@ -1,8 +0,0 @@
kind: pipeline
type: docker
name: default
steps:
- name: Test
image: golang
commands:
- go test ./...