2018-08-08 21:43:53 +00:00
|
|
|
---
|
2019-08-06 21:21:32 +00:00
|
|
|
kind: pipeline
|
2023-01-04 10:25:17 +00:00
|
|
|
type: vm
|
2019-08-06 21:21:32 +00:00
|
|
|
name: linux-amd64
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
2023-01-04 10:25:17 +00:00
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
pool:
|
|
|
|
use: ubuntu
|
2019-08-06 21:21:32 +00:00
|
|
|
|
|
|
|
steps:
|
2023-01-04 10:25:17 +00:00
|
|
|
- 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
|
2019-08-06 21:21:32 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2023-01-04 10:25:17 +00:00
|
|
|
type: vm
|
2019-08-06 21:21:32 +00:00
|
|
|
name: linux-arm64
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
2023-01-04 10:25:17 +00:00
|
|
|
arch: arm64
|
2019-08-06 21:21:32 +00:00
|
|
|
|
2023-01-04 10:25:17 +00:00
|
|
|
pool:
|
|
|
|
use: ubuntu_arm64
|
2019-08-06 21:21:32 +00:00
|
|
|
|
|
|
|
steps:
|
2023-01-04 10:25:17 +00:00
|
|
|
- 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
|
2019-08-06 21:21:32 +00:00
|
|
|
|
2020-05-03 19:02:48 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2023-01-04 10:25:17 +00:00
|
|
|
type: vm
|
|
|
|
name: windows-1809
|
2020-05-03 19:02:48 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: windows
|
2023-01-04 10:25:17 +00:00
|
|
|
arch: amd64
|
2020-05-03 19:02:48 +00:00
|
|
|
|
2023-01-04 10:25:17 +00:00
|
|
|
pool:
|
|
|
|
use: windows
|
2020-05-03 19:02:48 +00:00
|
|
|
|
|
|
|
steps:
|
2023-01-04 10:25:17 +00:00
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
dockerfile: docker/Dockerfile.windows.1809
|
2023-01-04 11:54:02 +00:00
|
|
|
repo: drone/git
|
2023-01-04 10:25:17 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: windows-1809-amd64
|
|
|
|
daemon_off: true
|
|
|
|
purge: false
|
2020-05-03 19:02:48 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
2023-01-04 10:25:17 +00:00
|
|
|
- push
|
2020-05-03 19:02:48 +00:00
|
|
|
|
2019-08-06 21:21:32 +00:00
|
|
|
---
|
2019-08-05 05:26:47 +00:00
|
|
|
kind: pipeline
|
2023-01-04 10:25:17 +00:00
|
|
|
type: vm
|
|
|
|
name: windows-ltsc2022
|
2019-08-05 05:26:47 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: windows
|
2023-01-04 10:25:17 +00:00
|
|
|
arch: amd64
|
2019-08-05 05:26:47 +00:00
|
|
|
|
2023-01-04 10:25:17 +00:00
|
|
|
pool:
|
2023-01-04 12:13:02 +00:00
|
|
|
use: windows-2022
|
2019-08-05 05:26:47 +00:00
|
|
|
|
|
|
|
steps:
|
2023-01-04 10:25:17 +00:00
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
dockerfile: docker/Dockerfile.windows.ltsc2022
|
2023-01-04 11:54:02 +00:00
|
|
|
repo: drone/git
|
2023-01-04 10:25:17 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: windows-ltsc2022-amd64
|
|
|
|
daemon_off: true
|
|
|
|
purge: false
|
2019-08-06 17:06:46 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
2023-01-04 10:25:17 +00:00
|
|
|
- push
|
2019-08-05 05:26:47 +00:00
|
|
|
|
2019-08-06 20:07:02 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2023-01-04 10:25:17 +00:00
|
|
|
type: vm
|
|
|
|
name: manifest
|
2019-08-06 20:07:02 +00:00
|
|
|
|
|
|
|
platform:
|
2023-01-04 10:25:17 +00:00
|
|
|
os: linux
|
|
|
|
arch: amd64
|
2019-08-06 20:07:02 +00:00
|
|
|
|
2023-01-04 10:25:17 +00:00
|
|
|
pool:
|
|
|
|
use: ubuntu
|
2018-09-17 20:44:45 +00:00
|
|
|
|
|
|
|
steps:
|
2023-01-04 10:25:17 +00:00
|
|
|
- name: manifest
|
|
|
|
image: plugins/manifest
|
|
|
|
settings:
|
|
|
|
auto_tag: "true"
|
|
|
|
ignore_missing: "true"
|
|
|
|
spec: docker/manifest.tmpl
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2018-09-17 20:44:45 +00:00
|
|
|
|
2019-08-06 17:06:46 +00:00
|
|
|
trigger:
|
|
|
|
event:
|
2023-01-04 10:25:17 +00:00
|
|
|
- push
|
|
|
|
- tag
|
2018-09-17 20:44:45 +00:00
|
|
|
|
2019-08-06 17:06:46 +00:00
|
|
|
depends_on:
|
2023-01-04 10:25:17 +00:00
|
|
|
- linux-amd64
|
|
|
|
- linux-arm64
|
|
|
|
- windows-1809
|
|
|
|
- windows-ltsc2022
|