settings in seperated block
This commit is contained in:
parent
0ee743dc21
commit
cc9ef207ad
223
.drone.yml
223
.drone.yml
@ -15,214 +15,233 @@ steps:
|
|||||||
- name: build-ubuntu-18
|
- name: build-ubuntu-18
|
||||||
group: build
|
group: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: ubuntu-18.04
|
repo: lerentis/ansible
|
||||||
dockerfile: ubuntu-18.04/Dockerfile
|
tag: ubuntu-18.04
|
||||||
dry_run: true
|
dockerfile: ubuntu-18.04/Dockerfile
|
||||||
|
dry_run: true
|
||||||
when:
|
when:
|
||||||
event: [ push, pull_request ]
|
event: [ push, pull_request ]
|
||||||
|
|
||||||
- name: build-ubuntu-16
|
- name: build-ubuntu-16
|
||||||
group: build
|
group: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: ubuntu-16.04
|
repo: lerentis/ansible
|
||||||
dockerfile: ubuntu-16.04/Dockerfile
|
tag: ubuntu-16.04
|
||||||
dry_run: true
|
dockerfile: ubuntu-16.04/Dockerfile
|
||||||
|
dry_run: true
|
||||||
when:
|
when:
|
||||||
event: [ push, pull_request ]
|
event: [ push, pull_request ]
|
||||||
|
|
||||||
- name: build-ubuntu-14
|
- name: build-ubuntu-14
|
||||||
group: build
|
group: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: ubuntu-14.04
|
repo: lerentis/ansible
|
||||||
dockerfile: ubuntu-14.04/Dockerfile
|
tag: ubuntu-14.04
|
||||||
dry_run: true
|
dockerfile: ubuntu-14.04/Dockerfile
|
||||||
|
dry_run: true
|
||||||
when:
|
when:
|
||||||
event: [ push, pull_request ]
|
event: [ push, pull_request ]
|
||||||
|
|
||||||
- name: build-fedora-24
|
- name: build-fedora-24
|
||||||
group: build
|
group: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: fedora-24
|
repo: lerentis/ansible
|
||||||
dockerfile: fedora-24/Dockerfile
|
tag: fedora-24
|
||||||
dry_run: true
|
dockerfile: fedora-24/Dockerfile
|
||||||
|
dry_run: true
|
||||||
when:
|
when:
|
||||||
event: [ push, pull_request ]
|
event: [ push, pull_request ]
|
||||||
|
|
||||||
- name: build-alpine-3
|
- name: build-alpine-3
|
||||||
group: build
|
group: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: alpine-3
|
repo: lerentis/ansible
|
||||||
dockerfile: alpine-3/Dockerfile
|
tag: alpine-3
|
||||||
dry_run: true
|
dockerfile: alpine-3/Dockerfile
|
||||||
|
dry_run: true
|
||||||
when:
|
when:
|
||||||
event: [ push, pull_request ]
|
event: [ push, pull_request ]
|
||||||
|
|
||||||
- anem: build-debian-8
|
- anem: build-debian-8
|
||||||
group: build
|
group: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: debian-8
|
repo: lerentis/ansible
|
||||||
dockerfile: debian-8/Dockerfile
|
tag: debian-8
|
||||||
dry_run: true
|
dockerfile: debian-8/Dockerfile
|
||||||
|
dry_run: true
|
||||||
when:
|
when:
|
||||||
event: [ push, pull_request ]
|
event: [ push, pull_request ]
|
||||||
|
|
||||||
- name: build-debian-7
|
- name: build-debian-7
|
||||||
group: build
|
group: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: debian-7
|
repo: lerentis/ansible
|
||||||
dockerfile: debian-8/Dockerfile
|
tag: debian-7
|
||||||
dry_run: true
|
dockerfile: debian-8/Dockerfile
|
||||||
|
dry_run: true
|
||||||
when:
|
when:
|
||||||
event: [ push, pull_request ]
|
event: [ push, pull_request ]
|
||||||
|
|
||||||
- name: build-centos-7
|
- name: build-centos-7
|
||||||
group: build
|
group: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: centos-7
|
repo: lerentis/ansible
|
||||||
dockerfile: centos-7/Dockerfile
|
tag: centos-7
|
||||||
dry_run: true
|
dockerfile: centos-7/Dockerfile
|
||||||
|
dry_run: true
|
||||||
when:
|
when:
|
||||||
event: [ push, pull_request ]
|
event: [ push, pull_request ]
|
||||||
|
|
||||||
- name: build-arch
|
- name: build-arch
|
||||||
group: build
|
group: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: arch
|
repo: lerentis/ansible
|
||||||
dockerfile: arch/Dockerfile
|
tag: arch
|
||||||
dry_run: true
|
dockerfile: arch/Dockerfile
|
||||||
|
dry_run: true
|
||||||
when:
|
when:
|
||||||
event: [ push, pull_request ]
|
event: [ push, pull_request ]
|
||||||
|
|
||||||
- name: build-ubuntu-18-publish
|
- name: build-ubuntu-18-publish
|
||||||
group: release
|
group: release
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: ubuntu-18.04
|
repo: lerentis/ansible
|
||||||
dockerfile: ubuntu-18.04/Dockerfile
|
tag: ubuntu-18.04
|
||||||
username:
|
dockerfile: ubuntu-18.04/Dockerfile
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
|
|
||||||
- name: build-ubuntu-16-publish
|
- name: build-ubuntu-16-publish
|
||||||
group: release
|
group: release
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: ubuntu-16.04
|
repo: lerentis/ansible
|
||||||
dockerfile: ubuntu-16.04/Dockerfile
|
tag: ubuntu-16.04
|
||||||
username:
|
dockerfile: ubuntu-16.04/Dockerfile
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
|
|
||||||
- name: build-ubuntu-14-publish
|
- name: build-ubuntu-14-publish
|
||||||
group: release
|
group: release
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: ubuntu-14.04
|
repo: lerentis/ansible
|
||||||
dockerfile: ubuntu-14.04/Dockerfile
|
tag: ubuntu-14.04
|
||||||
username:
|
dockerfile: ubuntu-14.04/Dockerfile
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
|
|
||||||
- name: build-fedora-24-publish
|
- name: build-fedora-24-publish
|
||||||
group: release
|
group: release
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: fedora-24
|
repo: lerentis/ansible
|
||||||
dockerfile: fedora-24/Dockerfile
|
tag: fedora-24
|
||||||
username:
|
dockerfile: fedora-24/Dockerfile
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
|
|
||||||
- name: build-alpine-3-publish
|
- name: build-alpine-3-publish
|
||||||
group: release
|
group: release
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: alpine-3
|
repo: lerentis/ansible
|
||||||
dockerfile: alpine-3/Dockerfile
|
tag: alpine-3
|
||||||
username:
|
dockerfile: alpine-3/Dockerfile
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
|
|
||||||
- name: build-debian-8-publish
|
- name: build-debian-8-publish
|
||||||
group: release
|
group: release
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: debian-8
|
repo: lerentis/ansible
|
||||||
dockerfile: debian-8/Dockerfile
|
tag: debian-8
|
||||||
username:
|
dockerfile: debian-8/Dockerfile
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
|
|
||||||
- name: build-debian-7-publish
|
- name: build-debian-7-publish
|
||||||
group: release
|
group: release
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: debian-7
|
repo: lerentis/ansible
|
||||||
dockerfile: debian-8/Dockerfile
|
tag: debian-7
|
||||||
username:
|
dockerfile: debian-8/Dockerfile
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
|
|
||||||
- name: build-centos-7-publish
|
- name: build-centos-7-publish
|
||||||
group: release
|
group: release
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: centos-7
|
repo: lerentis/ansible
|
||||||
dockerfile: centos-7/Dockerfile
|
tag: centos-7
|
||||||
username:
|
dockerfile: centos-7/Dockerfile
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
|
|
||||||
- name: build-arch-publish
|
- name: build-arch-publish
|
||||||
group: release
|
group: release
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: lerentis/ansible
|
settings:
|
||||||
tag: arch
|
repo: lerentis/ansible
|
||||||
dockerfile: arch/Dockerfile
|
tag: arch
|
||||||
username:
|
dockerfile: arch/Dockerfile
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: appleboy/drone-telegram
|
image: appleboy/drone-telegram
|
||||||
token: 335668211:AAF-YgId7iI6ANBuZVy4uVOYYqA4R4uAaqY
|
settings:
|
||||||
to: 14852963
|
token: 335668211:AAF-YgId7iI6ANBuZVy4uVOYYqA4R4uAaqY
|
||||||
message: Commit {{ commit.link }} ran with build {{ build.number }} and finished with status {{ build.status }}.
|
to: 14852963
|
||||||
|
message: Commit {{ commit.link }} ran with build {{ build.number }} and finished with status {{ build.status }}.
|
||||||
when:
|
when:
|
||||||
status: [ failure, success ]
|
status: [ failure, success ]
|
||||||
|
Loading…
Reference in New Issue
Block a user