added ubuntu 19.04
This commit is contained in:
parent
1dcddacca3
commit
d0351f79ff
29
.drone.yml
29
.drone.yml
@ -10,6 +10,19 @@ concurrency:
|
|||||||
limit: 9
|
limit: 9
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: build-ubuntu-19
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
dockerfile: ubuntu-19.04/Dockerfile
|
||||||
|
dry_run: true
|
||||||
|
repo: lerentis/ansible
|
||||||
|
tag: ubuntu-19.04
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
- name: build-ubuntu-18
|
- name: build-ubuntu-18
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
@ -132,6 +145,20 @@ steps:
|
|||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
|
- name: build-ubuntu-19-publish
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
dockerfile: ubuntu-19.04/Dockerfile
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
repo: lerentis/ansible
|
||||||
|
tag: ubuntu-19.04
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
- name: build-ubuntu-16-publish
|
- name: build-ubuntu-16-publish
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
@ -255,6 +282,7 @@ steps:
|
|||||||
- failure
|
- failure
|
||||||
- success
|
- success
|
||||||
depends_on:
|
depends_on:
|
||||||
|
- build-ubuntu-19
|
||||||
- build-ubuntu-18
|
- build-ubuntu-18
|
||||||
- build-ubuntu-16
|
- build-ubuntu-16
|
||||||
- build-ubuntu-14
|
- build-ubuntu-14
|
||||||
@ -264,6 +292,7 @@ steps:
|
|||||||
- build-debian-7
|
- build-debian-7
|
||||||
- build-centos-7
|
- build-centos-7
|
||||||
- build-arch
|
- build-arch
|
||||||
|
- build-ubuntu-19-publish
|
||||||
- build-ubuntu-18-publish
|
- build-ubuntu-18-publish
|
||||||
- build-ubuntu-16-publish
|
- build-ubuntu-16-publish
|
||||||
- build-ubuntu-14-publish
|
- build-ubuntu-14-publish
|
||||||
|
@ -13,6 +13,8 @@ Available operating systems:
|
|||||||
* debian-8
|
* debian-8
|
||||||
* fedora-24
|
* fedora-24
|
||||||
* ubuntu-16.04
|
* ubuntu-16.04
|
||||||
|
* ubuntu-18.04
|
||||||
|
* ubuntu-19.04
|
||||||
* arch
|
* arch
|
||||||
|
|
||||||
## run playbooks
|
## run playbooks
|
||||||
@ -69,4 +71,4 @@ Note: /root/.ansible must not be an overlayfs, otherwise ssh accelerate won't wo
|
|||||||
|
|
||||||
* [project](https://git.burntbunch.org/lerentis/ansible-container)
|
* [project](https://git.burntbunch.org/lerentis/ansible-container)
|
||||||
|
|
||||||
Current Version: 0.7.2
|
Current Version: 0.7.2
|
||||||
|
16
ubuntu-19.04/Dockerfile
Normal file
16
ubuntu-19.04/Dockerfile
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
FROM ubuntu:19.04
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y --no-install-recommends \
|
||||||
|
software-properties-common \
|
||||||
|
apt-utils \
|
||||||
|
&& apt-add-repository ppa:ansible/ansible \
|
||||||
|
&& apt-get update \
|
||||||
|
&& apt-get install -y --no-install-recommends \
|
||||||
|
ansible \
|
||||||
|
python-apt \
|
||||||
|
git-core \
|
||||||
|
openssh-client \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
|
CMD ["ansible-playbook", "--help"]
|
Loading…
Reference in New Issue
Block a user