added ubuntu 19.04

This commit is contained in:
Tobias Trabelsi 2019-10-27 21:35:29 +01:00
parent 1dcddacca3
commit d0351f79ff
3 changed files with 48 additions and 1 deletions

View File

@ -10,6 +10,19 @@ concurrency:
limit: 9
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
image: plugins/docker
settings:
@ -132,6 +145,20 @@ steps:
event:
- 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
image: plugins/docker
settings:
@ -255,6 +282,7 @@ steps:
- failure
- success
depends_on:
- build-ubuntu-19
- build-ubuntu-18
- build-ubuntu-16
- build-ubuntu-14
@ -264,6 +292,7 @@ steps:
- build-debian-7
- build-centos-7
- build-arch
- build-ubuntu-19-publish
- build-ubuntu-18-publish
- build-ubuntu-16-publish
- build-ubuntu-14-publish

View File

@ -13,6 +13,8 @@ Available operating systems:
* debian-8
* fedora-24
* ubuntu-16.04
* ubuntu-18.04
* ubuntu-19.04
* arch
## 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)
Current Version: 0.7.2
Current Version: 0.7.2

16
ubuntu-19.04/Dockerfile Normal file
View 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"]