9 Commits
1.5 ... 2.0.0

Author SHA1 Message Date
9c948d5788 prepare release
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
continuous-integration/drone Build is passing
2022-04-20 20:21:39 +02:00
f15e77fb88 fixed ubuntu 22.04 python apt package name
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-04-20 19:42:30 +02:00
12fe4cf41a and better alpine support 2022-04-20 19:41:18 +02:00
39c7266b49 some more rhel family love 2022-04-20 19:38:19 +02:00
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
11 changed files with 304 additions and 41 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:
@ -167,17 +188,80 @@ platform:
steps:
- name: build-fedora-24
image: plugins/kaniko
- name: build-fedora-34
image: plugins/kaniko:1.4.1
settings:
dockerfile: fedora-24/Dockerfile
dockerfile: fedora-34/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- fedora-24-dev
- fedora-34-dev
when:
event:
- push
- pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-fedora-35
image: plugins/kaniko:1.4.1
settings:
dockerfile: fedora-35/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- fedora-35-dev
when:
event:
- push
- pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-fedora-36
image: plugins/kaniko:1.4.1
settings:
dockerfile: fedora-36/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- fedora-36-dev
when:
event:
- push
- pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-fedora-37
image: plugins/kaniko:1.4.1
settings:
dockerfile: fedora-37/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- fedora-37-dev
when:
event:
- push
@ -189,7 +273,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 +294,7 @@ steps:
memory: 1024MiB
- name: build-centos-7
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: centos-7/Dockerfile
password:
@ -241,17 +325,38 @@ platform:
steps:
- name: build-alpine-3
image: plugins/kaniko
- name: build-alpine-3-14
image: plugins/kaniko:1.4.1
settings:
dockerfile: alpine-3/Dockerfile
dockerfile: alpine-3.14/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- alpine-3-dev
- alpine-3.14-dev
when:
event:
- push
- pull_request
- cron
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-alpine-3-15
image: plugins/kaniko:1.4.1
settings:
dockerfile: alpine-3.15/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- alpine-3.15-dev
when:
event:
- push
@ -274,7 +379,7 @@ platform:
steps:
- name: build-arch
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: arch/Dockerfile
password:
@ -305,8 +410,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 +449,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 +468,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 +487,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 +506,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 +525,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 +544,7 @@ steps:
memory: 1024MiB
- name: build-debian-10-release
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: debian-10/Dockerfile
password:
@ -449,17 +573,75 @@ platform:
steps:
- name: build-fedora-24-release
image: plugins/kaniko
- name: build-fedora-34-release
image: plugins/kaniko:1.4.1
settings:
dockerfile: fedora-24/Dockerfile
dockerfile: fedora-34/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- fedora-24
- fedora-34
when:
event:
- tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-fedora-35-release
image: plugins/kaniko:1.4.1
settings:
dockerfile: fedora-35/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- fedora-35
when:
event:
- tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-fedora-36-release
image: plugins/kaniko:1.4.1
settings:
dockerfile: fedora-36/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- fedora-36
when:
event:
- tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-fedora-37-release
image: plugins/kaniko:1.4.1
settings:
dockerfile: fedora-37/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- fedora-37
when:
event:
- tag
@ -469,7 +651,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 +670,7 @@ steps:
memory: 1024MiB
- name: build-centos-7-release
image: plugins/kaniko
image: plugins/kaniko:1.4.1
settings:
dockerfile: centos-7/Dockerfile
password:
@ -517,17 +699,36 @@ platform:
steps:
- name: build-alpine-3-release
image: plugins/kaniko
- name: build-alpine-3.14-release
image: plugins/kaniko:1.4.1
settings:
dockerfile: alpine-3/Dockerfile
dockerfile: alpine-3.14/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- alpine-3
- alpine-3.14
when:
event:
- tag
resources:
limits:
cpu: 200
memory: 1024MiB
- name: build-alpine-3.15-release
image: plugins/kaniko:1.4.1
settings:
dockerfile: alpine-3.15/Dockerfile
password:
from_secret: docker_password
username:
from_secret: docker_username
repo: lerentis/ansible
tags:
- alpine-3.15
when:
event:
- tag
@ -548,7 +749,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: 2.0

7
alpine-3.15/Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM alpine:3.15
RUN apk add --no-cache ansible 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
CMD ["ansible-playbook", "--help"]

View File

@ -1,9 +1,14 @@
#!/bin/bash
cd ubuntu-18.04 && docker buildx build -t lerentis/ansible:ubuntu-18.04 --platform=linux/arm,linux/arm64,linux/amd64 . --push
cd ../ubuntu-16.04 && docker buildx build -t lerentis/ansible:ubuntu-16.04 --platform=linux/arm,linux/arm64,linux/amd64 . --push
cd ../alpine-3 && docker buildx build -t lerentis/ansible:alpine-3 --platform=linux/arm,linux/arm64,linux/amd64 . --push
cd ../alpine-3.14 && docker buildx build -t lerentis/ansible:alpine-3.14 --platform=linux/arm,linux/arm64,linux/amd64 . --push
cd ../alpine-3.15 && docker buildx build -t lerentis/ansible:alpine-3.15 --platform=linux/arm,linux/arm64,linux/amd64 . --push
cd ../ubuntu-20.04 && docker buildx build -t lerentis/ansible:ubuntu-20.04 --platform=linux/arm,linux/arm64,linux/amd64 . --push
cd ../fedora-24 && docker buildx build -t lerentis/ansible:fedora-24 --platform=linux/amd64 . --push
cd ../ubuntu-22.04 && docker buildx build -t lerentis/ansible:ubuntu-22.04 --platform=linux/arm,linux/arm64,linux/amd64 . --push
cd ../fedora-34 && docker buildx build -t lerentis/ansible:fedora-34 --platform=linux/amd64 . --push
cd ../fedora-35 && docker buildx build -t lerentis/ansible:fedora-35 --platform=linux/amd64 . --push
cd ../fedora-36 && docker buildx build -t lerentis/ansible:fedora-36 --platform=linux/amd64 . --push
cd ../fedora-37 && docker buildx build -t lerentis/ansible:fedora-37 --platform=linux/amd64 . --push
cd ../debian-9 && docker buildx build -t lerentis/ansible:debian-9 --platform=linux/arm,linux/amd64 . --push
cd ../debian-8 && docker buildx build -t lerentis/ansible:debian-8 --platform=linux/arm,linux/amd64 . --push
cd ../debian-10 && docker buildx build -t lerentis/ansible:debian-10 --platform=linux/arm64,linux/amd64 . --push

View File

@ -1,4 +1,4 @@
FROM fedora:24
FROM fedora:34
RUN dnf -y install \
ansible \

11
fedora-35/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM fedora:35
RUN dnf -y install \
ansible \
openssh-clients \
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 \
&& dnf clean all
CMD ["ansible-playbook", "--help"]

11
fedora-36/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM fedora:36
RUN dnf -y install \
ansible \
openssh-clients \
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 \
&& dnf clean all
CMD ["ansible-playbook", "--help"]

11
fedora-37/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM fedora:37
RUN dnf -y install \
ansible \
openssh-clients \
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 \
&& dnf clean all
CMD ["ansible-playbook", "--help"]

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