Better automated tests #62
1 changed files with 8 additions and 38 deletions
46
.drone.yml
46
.drone.yml
|
@ -3,18 +3,21 @@ kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: test_1.6
|
name: test_1.6
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: registry
|
||||||
|
image: registry
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build test
|
- name: build test
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
dockerfile: 1.6/Dockerfile
|
dockerfile: 1.6/Dockerfile
|
||||||
repo: mwalbeck/getgrav
|
repo: registry:5000/mwalbeck/getgrav
|
||||||
dry_run: true
|
registry: registry:5000
|
||||||
purge: false
|
tags: "1.6-test"
|
||||||
tags: 1.6-test
|
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: mwalbeck/getgrav:1.6-test
|
image: registry:5000/mwalbeck/getgrav:1.6-test
|
||||||
commands:
|
commands:
|
||||||
- echo "hello"
|
- echo "hello"
|
||||||
|
|
||||||
|
@ -22,39 +25,6 @@ trigger:
|
||||||
event:
|
event:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
# ---
|
|
||||||
# kind: pipeline
|
|
||||||
# type: docker
|
|
||||||
# name: test_1.6
|
|
||||||
|
|
||||||
# services:
|
|
||||||
# - name: registry
|
|
||||||
# image: registry
|
|
||||||
|
|
||||||
# steps:
|
|
||||||
# - name: build test
|
|
||||||
# image: plugins/docker
|
|
||||||
# settings:
|
|
||||||
# dockerfile: 1.6/Dockerfile
|
|
||||||
# repo: registry:5000/mwalbeck/getgrav
|
|
||||||
# registry: registry:5000
|
|
||||||
# tags: "1.6-test"
|
|
||||||
|
|
||||||
# - name: test
|
|
||||||
# image: mwalbeck/getgrav:1.6-test
|
|
||||||
# commands:
|
|
||||||
# - echo "hello"
|
|
||||||
|
|
||||||
# trigger:
|
|
||||||
# event:
|
|
||||||
# - pull_request
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# kind: pipeline
|
# kind: pipeline
|
||||||
# type: docker
|
# type: docker
|
||||||
|
|
Loading…
Reference in a new issue