initial commit [ci skip]

This commit is contained in:
Brad Rydzewski
2019-10-10 19:01:58 -07:00
parent 56c135e4ae
commit 43bbf6e78c
95 changed files with 6579 additions and 1 deletions

15
engine/resource/testdata/linterr.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
---
kind: pipeline
type: docker
server:
image: docker-18-04
region: nyc1
size: s-1vcpu-1gb
steps:
- commands:
- go build
- go test
...

View File

@@ -0,0 +1,8 @@
---
kind: pipeline
type: docker
steps:
foo: bar
...

54
engine/resource/testdata/manifest.yml vendored Normal file
View File

@@ -0,0 +1,54 @@
---
kind: signature
hmac: a8842634682b78946a2
---
kind: secret
type: encrypted
name: token
data: f0e4c2f76c58916ec25
---
kind: pipeline
type: docker
name: default
version: 1
platform:
os: linux
arch: arm64
workspace:
path: /drone/src
clone:
depth: 50
steps:
- name: build
image: golang
detach: false
failure: ignore
commands:
- go build
- go test
environment:
GOOS: linux
GOARCH: arm64
depends_on: [ clone ]
when:
event: [ push ]
services:
- name: redis
image: redis:latest
entrypoint: [ "/bin/redis-server" ]
command: [ "--debug" ]
image_pull_secrets:
- dockerconfigjson
trigger:
branch: [ master ]
...

5
engine/resource/testdata/nomatch.yml vendored Normal file
View File

@@ -0,0 +1,5 @@
---
kind: pipeline
type: docker
...