ci: change YAML to jsonnet (#34)
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sam Therapy 2022-07-12 23:13:37 +00:00
parent 6df0d2d309
commit 8c057e1f15
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 ./...