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 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

View File

@ -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

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"]