Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
6df0d2d309
commit
8aacf6661b
2 changed files with 22 additions and 8 deletions
22
.drone.jsonnet
Normal file
22
.drone.jsonnet
Normal 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"),
|
||||
]
|
|
@ -1,8 +0,0 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
steps:
|
||||
- name: Test
|
||||
image: golang
|
||||
commands:
|
||||
- go test ./...
|
Loading…
Reference in a new issue