5 Commits

Author SHA1 Message Date
e854da83ca added support for ubuntu 22.04
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-20 19:32:06 +02:00
61bcffed6a Update '.drone.yml'
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-28 20:49:45 +00:00
d07b70a09f trigger build
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-15 22:33:11 +01:00
d6a66a4e8f cpu limit as digit 2022-02-15 22:31:59 +01:00
d661d20093 trigger build 2022-02-15 22:31:11 +01:00
4 changed files with 83 additions and 26 deletions

View File

@@ -19,7 +19,7 @@ local Pipeline(tag) = {
},
resources: {
limits: {
cpu: "200",
cpu: 200,
memory: "1024MiB",
},
},

View File

@@ -9,8 +9,29 @@ platform:
steps:
- name: build-ubuntu-20
- 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:
dockerfile: ubuntu-20.04/Dockerfile
password:
@@ -31,7 +52,7 @@ steps:
memory: 1024MiB
- name: build-ubuntu-18
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: ubuntu-18.04/Dockerfile
password:
@@ -52,7 +73,7 @@ steps:
memory: 1024MiB
- name: build-ubuntu-16
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: ubuntu-16.04/Dockerfile
password:
@@ -73,7 +94,7 @@ steps:
memory: 1024MiB
- name: build-ubuntu-14
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: ubuntu-14.04/Dockerfile
password:
@@ -94,7 +115,7 @@ steps:
memory: 1024MiB
- name: build-debian-8
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: debian-8/Dockerfile
password:
@@ -115,7 +136,7 @@ steps:
memory: 1024MiB
- name: build-debian-9
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: debian-9/Dockerfile
password:
@@ -136,7 +157,7 @@ steps:
memory: 1024MiB
- name: build-debian-10
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: debian-10/Dockerfile
password:
@@ -168,7 +189,7 @@ platform:
steps:
- name: build-fedora-24
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: fedora-24/Dockerfile
password:
@@ -189,7 +210,7 @@ steps:
memory: 1024MiB
- name: build-almalinux-8
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: almalinux-8/Dockerfile
password:
@@ -210,7 +231,7 @@ steps:
memory: 1024MiB
- name: build-centos-7
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: centos-7/Dockerfile
password:
@@ -242,7 +263,7 @@ platform:
steps:
- name: build-alpine-3
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: alpine-3/Dockerfile
password:
@@ -274,7 +295,7 @@ platform:
steps:
- name: build-arch
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: arch/Dockerfile
password:
@@ -305,8 +326,27 @@ platform:
steps:
- name: build-ubuntu-20-release
- 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:
dockerfile: ubuntu-20.04/Dockerfile
password:
@@ -325,7 +365,7 @@ steps:
memory: 1024MiB
- name: build-ubuntu-18-release
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: ubuntu-18.04/Dockerfile
password:
@@ -344,7 +384,7 @@ steps:
memory: 1024MiB
- name: build-ubuntu-16-release
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: ubuntu-16.04/Dockerfile
password:
@@ -363,7 +403,7 @@ steps:
memory: 1024MiB
- name: build-ubuntu-14-release
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: ubuntu-14.04/Dockerfile
password:
@@ -382,7 +422,7 @@ steps:
memory: 1024MiB
- name: build-debian-8-release
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: debian-8/Dockerfile
password:
@@ -401,7 +441,7 @@ steps:
memory: 1024MiB
- name: build-debian-9-release
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: debian-9/Dockerfile
password:
@@ -420,7 +460,7 @@ steps:
memory: 1024MiB
- name: build-debian-10-release
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: debian-10/Dockerfile
password:
@@ -450,7 +490,7 @@ platform:
steps:
- name: build-fedora-24-release
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: fedora-24/Dockerfile
password:
@@ -469,7 +509,7 @@ steps:
memory: 1024MiB
- name: build-almalinux-8-release
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: almalinux-8/Dockerfile
password:
@@ -488,7 +528,7 @@ steps:
memory: 1024MiB
- name: build-centos-7-release
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: centos-7/Dockerfile
password:
@@ -518,7 +558,7 @@ platform:
steps:
- name: build-alpine-3-release
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: alpine-3/Dockerfile
password:
@@ -548,7 +588,7 @@ platform:
steps:
- name: build-arch-release
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: arch/Dockerfile
password:

View File

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