drone fmt
This commit is contained in:
parent
cc9ef207ad
commit
cc36058ab9
444
.drone.yml
444
.drone.yml
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
@ -11,237 +10,248 @@ concurrency:
|
|||||||
limit: 9
|
limit: 9
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: build-ubuntu-18
|
||||||
- name: build-ubuntu-18
|
image: plugins/docker
|
||||||
group: build
|
settings:
|
||||||
image: plugins/docker
|
dockerfile: ubuntu-18.04/Dockerfile
|
||||||
settings:
|
dry_run: true
|
||||||
repo: lerentis/ansible
|
repo: lerentis/ansible
|
||||||
tag: ubuntu-18.04
|
tag: ubuntu-18.04
|
||||||
dockerfile: ubuntu-18.04/Dockerfile
|
when:
|
||||||
dry_run: true
|
event:
|
||||||
when:
|
- push
|
||||||
event: [ push, pull_request ]
|
- pull_request
|
||||||
|
|
||||||
- name: build-ubuntu-16
|
- name: build-ubuntu-16
|
||||||
group: build
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: ubuntu-16.04/Dockerfile
|
||||||
repo: lerentis/ansible
|
dry_run: true
|
||||||
tag: ubuntu-16.04
|
repo: lerentis/ansible
|
||||||
dockerfile: ubuntu-16.04/Dockerfile
|
tag: ubuntu-16.04
|
||||||
dry_run: true
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ push, pull_request ]
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
- name: build-ubuntu-14
|
- name: build-ubuntu-14
|
||||||
group: build
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: ubuntu-14.04/Dockerfile
|
||||||
repo: lerentis/ansible
|
dry_run: true
|
||||||
tag: ubuntu-14.04
|
repo: lerentis/ansible
|
||||||
dockerfile: ubuntu-14.04/Dockerfile
|
tag: ubuntu-14.04
|
||||||
dry_run: true
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ push, pull_request ]
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
- name: build-fedora-24
|
- name: build-fedora-24
|
||||||
group: build
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: fedora-24/Dockerfile
|
||||||
repo: lerentis/ansible
|
dry_run: true
|
||||||
tag: fedora-24
|
repo: lerentis/ansible
|
||||||
dockerfile: fedora-24/Dockerfile
|
tag: fedora-24
|
||||||
dry_run: true
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ push, pull_request ]
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
- name: build-alpine-3
|
- name: build-alpine-3
|
||||||
group: build
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: alpine-3/Dockerfile
|
||||||
repo: lerentis/ansible
|
dry_run: true
|
||||||
tag: alpine-3
|
repo: lerentis/ansible
|
||||||
dockerfile: alpine-3/Dockerfile
|
tag: alpine-3
|
||||||
dry_run: true
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ push, pull_request ]
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
- anem: build-debian-8
|
- image: plugins/docker
|
||||||
group: build
|
settings:
|
||||||
image: plugins/docker
|
dockerfile: debian-8/Dockerfile
|
||||||
settings:
|
dry_run: true
|
||||||
repo: lerentis/ansible
|
repo: lerentis/ansible
|
||||||
tag: debian-8
|
tag: debian-8
|
||||||
dockerfile: debian-8/Dockerfile
|
when:
|
||||||
dry_run: true
|
event:
|
||||||
when:
|
- push
|
||||||
event: [ push, pull_request ]
|
- pull_request
|
||||||
|
|
||||||
- name: build-debian-7
|
- name: build-debian-7
|
||||||
group: build
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: debian-8/Dockerfile
|
||||||
repo: lerentis/ansible
|
dry_run: true
|
||||||
tag: debian-7
|
repo: lerentis/ansible
|
||||||
dockerfile: debian-8/Dockerfile
|
tag: debian-7
|
||||||
dry_run: true
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ push, pull_request ]
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
- name: build-centos-7
|
- name: build-centos-7
|
||||||
group: build
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: centos-7/Dockerfile
|
||||||
repo: lerentis/ansible
|
dry_run: true
|
||||||
tag: centos-7
|
repo: lerentis/ansible
|
||||||
dockerfile: centos-7/Dockerfile
|
tag: centos-7
|
||||||
dry_run: true
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ push, pull_request ]
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
- name: build-arch
|
- name: build-arch
|
||||||
group: build
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: arch/Dockerfile
|
||||||
repo: lerentis/ansible
|
dry_run: true
|
||||||
tag: arch
|
repo: lerentis/ansible
|
||||||
dockerfile: arch/Dockerfile
|
tag: arch
|
||||||
dry_run: true
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ push, pull_request ]
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
- name: build-ubuntu-18-publish
|
- name: build-ubuntu-18-publish
|
||||||
group: release
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: ubuntu-18.04/Dockerfile
|
||||||
repo: lerentis/ansible
|
password:
|
||||||
tag: ubuntu-18.04
|
from_secret: docker_password
|
||||||
dockerfile: ubuntu-18.04/Dockerfile
|
repo: lerentis/ansible
|
||||||
username:
|
tag: ubuntu-18.04
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ tag ]
|
- tag
|
||||||
|
|
||||||
- name: build-ubuntu-16-publish
|
- name: build-ubuntu-16-publish
|
||||||
group: release
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: ubuntu-16.04/Dockerfile
|
||||||
repo: lerentis/ansible
|
password:
|
||||||
tag: ubuntu-16.04
|
from_secret: docker_password
|
||||||
dockerfile: ubuntu-16.04/Dockerfile
|
repo: lerentis/ansible
|
||||||
username:
|
tag: ubuntu-16.04
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ tag ]
|
- tag
|
||||||
|
|
||||||
- name: build-ubuntu-14-publish
|
- name: build-ubuntu-14-publish
|
||||||
group: release
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: ubuntu-14.04/Dockerfile
|
||||||
repo: lerentis/ansible
|
password:
|
||||||
tag: ubuntu-14.04
|
from_secret: docker_password
|
||||||
dockerfile: ubuntu-14.04/Dockerfile
|
repo: lerentis/ansible
|
||||||
username:
|
tag: ubuntu-14.04
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ tag ]
|
- tag
|
||||||
|
|
||||||
- name: build-fedora-24-publish
|
- name: build-fedora-24-publish
|
||||||
group: release
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: fedora-24/Dockerfile
|
||||||
repo: lerentis/ansible
|
password:
|
||||||
tag: fedora-24
|
from_secret: docker_password
|
||||||
dockerfile: fedora-24/Dockerfile
|
repo: lerentis/ansible
|
||||||
username:
|
tag: fedora-24
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ tag ]
|
- tag
|
||||||
|
|
||||||
- name: build-alpine-3-publish
|
- name: build-alpine-3-publish
|
||||||
group: release
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: alpine-3/Dockerfile
|
||||||
repo: lerentis/ansible
|
password:
|
||||||
tag: alpine-3
|
from_secret: docker_password
|
||||||
dockerfile: alpine-3/Dockerfile
|
repo: lerentis/ansible
|
||||||
username:
|
tag: alpine-3
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ tag ]
|
- tag
|
||||||
|
|
||||||
- name: build-debian-8-publish
|
- name: build-debian-8-publish
|
||||||
group: release
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: debian-8/Dockerfile
|
||||||
repo: lerentis/ansible
|
password:
|
||||||
tag: debian-8
|
from_secret: docker_password
|
||||||
dockerfile: debian-8/Dockerfile
|
repo: lerentis/ansible
|
||||||
username:
|
tag: debian-8
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ tag ]
|
- tag
|
||||||
|
|
||||||
- name: build-debian-7-publish
|
- name: build-debian-7-publish
|
||||||
group: release
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: debian-8/Dockerfile
|
||||||
repo: lerentis/ansible
|
password:
|
||||||
tag: debian-7
|
from_secret: docker_password
|
||||||
dockerfile: debian-8/Dockerfile
|
repo: lerentis/ansible
|
||||||
username:
|
tag: debian-7
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ tag ]
|
- tag
|
||||||
|
|
||||||
- name: build-centos-7-publish
|
- name: build-centos-7-publish
|
||||||
group: release
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: centos-7/Dockerfile
|
||||||
repo: lerentis/ansible
|
password:
|
||||||
tag: centos-7
|
from_secret: docker_password
|
||||||
dockerfile: centos-7/Dockerfile
|
repo: lerentis/ansible
|
||||||
username:
|
tag: centos-7
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ tag ]
|
- tag
|
||||||
|
|
||||||
- name: build-arch-publish
|
- name: build-arch-publish
|
||||||
group: release
|
image: plugins/docker
|
||||||
image: plugins/docker
|
settings:
|
||||||
settings:
|
dockerfile: arch/Dockerfile
|
||||||
repo: lerentis/ansible
|
password:
|
||||||
tag: arch
|
from_secret: docker_password
|
||||||
dockerfile: arch/Dockerfile
|
repo: lerentis/ansible
|
||||||
username:
|
tag: arch
|
||||||
from_secret: docker_username
|
username:
|
||||||
password:
|
from_secret: docker_username
|
||||||
from_secret: docker_password
|
when:
|
||||||
when:
|
event:
|
||||||
event: [ tag ]
|
- tag
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: appleboy/drone-telegram
|
image: appleboy/drone-telegram
|
||||||
settings:
|
settings:
|
||||||
token: 335668211:AAF-YgId7iI6ANBuZVy4uVOYYqA4R4uAaqY
|
message: "Commit {{ commit.link }} ran with build {{ build.number }} and finished with status {{ build.status }}."
|
||||||
to: 14852963
|
to: 14852963
|
||||||
message: Commit {{ commit.link }} ran with build {{ build.number }} and finished with status {{ build.status }}.
|
token: 335668211:AAF-YgId7iI6ANBuZVy4uVOYYqA4R4uAaqY
|
||||||
when:
|
when:
|
||||||
status: [ failure, success ]
|
status:
|
||||||
|
- failure
|
||||||
|
- success
|
||||||
|
|
||||||
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user