added support for ubuntu 22.04
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
61bcffed6a
commit
e854da83ca
40
.drone.yml
40
.drone.yml
@ -9,6 +9,27 @@ platform:
|
||||
|
||||
steps:
|
||||
|
||||
- name: build-ubuntu-22
|
||||
image: plugins/kaniko
|
||||
settings:
|
||||
dockerfile: ubuntu-22.04/Dockerfile
|
||||
password:
|
||||
from_secret: docker_password
|
||||
username:
|
||||
from_secret: docker_username
|
||||
repo: lerentis/ansible
|
||||
tags:
|
||||
- ubuntu-22.04-dev
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
- cron
|
||||
resources:
|
||||
limits:
|
||||
cpu: 200
|
||||
memory: 1024MiB
|
||||
|
||||
- name: build-ubuntu-20
|
||||
image: plugins/kaniko:1.4.1
|
||||
settings:
|
||||
@ -305,6 +326,25 @@ platform:
|
||||
|
||||
steps:
|
||||
|
||||
- name: build-ubuntu-22-release
|
||||
image: plugins/kaniko
|
||||
settings:
|
||||
dockerfile: ubuntu-22.04/Dockerfile
|
||||
password:
|
||||
from_secret: docker_password
|
||||
username:
|
||||
from_secret: docker_username
|
||||
repo: lerentis/ansible
|
||||
tags:
|
||||
- ubuntu-22.04
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
resources:
|
||||
limits:
|
||||
cpu: 200
|
||||
memory: 1024MiB
|
||||
|
||||
- name: build-ubuntu-20-release
|
||||
image: plugins/kaniko:1.4.1
|
||||
settings:
|
||||
|
@ -16,6 +16,7 @@ Available operating systems:
|
||||
* ubuntu-16.04
|
||||
* ubuntu-18.04
|
||||
* ubuntu-20.04
|
||||
* ubuntu-22.04
|
||||
* arch
|
||||
|
||||
## run playbooks
|
||||
@ -72,4 +73,4 @@ Note: /root/.ansible must not be an overlayfs, otherwise ssh accelerate won't wo
|
||||
|
||||
* [project](https://git.uploadfilter24.eu/lerentis/ansible)
|
||||
|
||||
Current Version: 0.7.2
|
||||
Current Version: 1.5
|
||||
|
16
ubuntu-22.04/Dockerfile
Normal file
16
ubuntu-22.04/Dockerfile
Normal file
@ -0,0 +1,16 @@
|
||||
FROM ubuntu:22.04
|
||||
|
||||
RUN apt-get update \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
software-properties-common \
|
||||
apt-utils \
|
||||
ansible \
|
||||
python-apt \
|
||||
git-core \
|
||||
openssh-client \
|
||||
curl \
|
||||
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
|
||||
&& chmod +rx /usr/local/bin/goss \
|
||||
&& apt-get clean
|
||||
|
||||
CMD ["ansible-playbook", "--help"]
|
Loading…
Reference in New Issue
Block a user