From 14ed083e1c5100b55255283989a6fbf5fb642f83 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Tue, 6 Aug 2019 14:21:32 -0700 Subject: [PATCH] add linux builds to pipeline --- .drone.yml | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 103 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index a250e13..6a8bd25 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,105 @@ --- -# this file is automaticall generated. DO NOT EDIT +# this file is automatically generated. DO NOT EDIT +kind: pipeline +type: docker +name: linux-amd64 + +platform: + arch: amd64 + os: linux + +steps: +- name: build + image: golang:1.10 + commands: + - cd posix + - tar -xf fixtures.tar -C / + - go test -v + +- name: publish + image: plugins/docker:18 + settings: + dockerfile: docker/Dockerfile.linux.amd64 + repo: drone/git + auto_tag: "true" + auto_tag_suffix: linux-amd64 + username: + from_secret: docker_username + password: + from_secret: docker_password + when: + event: + - push + - tag + +--- +kind: pipeline +type: docker +name: linux-arm64 + +platform: + arch: arm64 + os: linux + +steps: +- name: build + image: golang:1.10 + commands: + - cd posix + - tar -xf fixtures.tar -C / + - go test -v + +- name: publish + image: plugins/docker:18 + settings: + dockerfile: docker/Dockerfile.linux.arm64 + repo: drone/git + auto_tag: "true" + auto_tag_suffix: linux-arm64 + username: + from_secret: docker_username + password: + from_secret: docker_password + when: + event: + - push + - tag + +--- +kind: pipeline +type: docker +name: linux-arm + +platform: + arch: arm + os: linux + +steps: +- name: build + image: golang:1.10 + commands: + - cd posix + - tar -xf fixtures.tar -C / + - go test -v + +- name: publish + image: plugins/docker:18 + settings: + dockerfile: docker/Dockerfile.linux.arm + repo: drone/git + auto_tag: "true" + auto_tag_suffix: linux-arm + username: + from_secret: docker_username + password: + from_secret: docker_password + when: + event: + - push + - tag + +--- kind: pipeline type: ssh name: windows-1903-amd64 @@ -87,5 +186,8 @@ trigger: - tag depends_on: +- linux-amd64 +- linux-arm64 +- linux-arm - windows-1903-amd64 - windows-1809-amd64