diff --git a/.drone.yml b/.drone.yml index 74c0f6d..0747931 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/README.md b/README.md index 9589b70..139926c 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file +Current Version: 0.7.2 diff --git a/ubuntu-19.04/Dockerfile b/ubuntu-19.04/Dockerfile new file mode 100644 index 0000000..f089d0f --- /dev/null +++ b/ubuntu-19.04/Dockerfile @@ -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"]