diff --git a/.drone.jsonnet b/.drone.jsonnet new file mode 100644 index 0000000..7ac857c --- /dev/null +++ b/.drone.jsonnet @@ -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"), +] \ No newline at end of file diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 1ccb75b..0000000 --- a/.drone.yml +++ /dev/null @@ -1,8 +0,0 @@ -kind: pipeline -type: docker -name: default -steps: - - name: Test - image: golang - commands: - - go test ./... \ No newline at end of file