ansible/.drone.yml

287 lines
5.3 KiB
YAML

- kind: pipeline
name: ubuntu-20.04build
platform:
arch: amd64
os: linux
steps:
- image: plugins/kaniko
name: ubuntu-20.04
resources:
limits:
cpu: "200"
memory: 1024MiB
settings:
dockerfile: ubuntu-20.04/Dockerfile
password:
from_secret: docker_password
repo: lerentis/ansible
tags:
- ubuntu-20.04
username:
from_secret: docker_username
when:
- push
- pull_request
- cron
type: kubernetes
- kind: pipeline
name: ubuntu-18.04build
platform:
arch: amd64
os: linux
steps:
- image: plugins/kaniko
name: ubuntu-18.04
resources:
limits:
cpu: "200"
memory: 1024MiB
settings:
dockerfile: ubuntu-18.04/Dockerfile
password:
from_secret: docker_password
repo: lerentis/ansible
tags:
- ubuntu-18.04
username:
from_secret: docker_username
when:
- push
- pull_request
- cron
type: kubernetes
- kind: pipeline
name: ubuntu-14.04build
platform:
arch: amd64
os: linux
steps:
- image: plugins/kaniko
name: ubuntu-14.04
resources:
limits:
cpu: "200"
memory: 1024MiB
settings:
dockerfile: ubuntu-14.04/Dockerfile
password:
from_secret: docker_password
repo: lerentis/ansible
tags:
- ubuntu-14.04
username:
from_secret: docker_username
when:
- push
- pull_request
- cron
type: kubernetes
- kind: pipeline
name: debian-8build
platform:
arch: amd64
os: linux
steps:
- image: plugins/kaniko
name: debian-8
resources:
limits:
cpu: "200"
memory: 1024MiB
settings:
dockerfile: debian-8/Dockerfile
password:
from_secret: docker_password
repo: lerentis/ansible
tags:
- debian-8
username:
from_secret: docker_username
when:
- push
- pull_request
- cron
type: kubernetes
- kind: pipeline
name: debian-9build
platform:
arch: amd64
os: linux
steps:
- image: plugins/kaniko
name: debian-9
resources:
limits:
cpu: "200"
memory: 1024MiB
settings:
dockerfile: debian-9/Dockerfile
password:
from_secret: docker_password
repo: lerentis/ansible
tags:
- debian-9
username:
from_secret: docker_username
when:
- push
- pull_request
- cron
type: kubernetes
- kind: pipeline
name: debian-10build
platform:
arch: amd64
os: linux
steps:
- image: plugins/kaniko
name: debian-10
resources:
limits:
cpu: "200"
memory: 1024MiB
settings:
dockerfile: debian-10/Dockerfile
password:
from_secret: docker_password
repo: lerentis/ansible
tags:
- debian-10
username:
from_secret: docker_username
when:
- push
- pull_request
- cron
type: kubernetes
- kind: pipeline
name: centos-7build
platform:
arch: amd64
os: linux
steps:
- image: plugins/kaniko
name: centos-7
resources:
limits:
cpu: "200"
memory: 1024MiB
settings:
dockerfile: centos-7/Dockerfile
password:
from_secret: docker_password
repo: lerentis/ansible
tags:
- centos-7
username:
from_secret: docker_username
when:
- push
- pull_request
- cron
type: kubernetes
- kind: pipeline
name: almalinux-8build
platform:
arch: amd64
os: linux
steps:
- image: plugins/kaniko
name: almalinux-8
resources:
limits:
cpu: "200"
memory: 1024MiB
settings:
dockerfile: almalinux-8/Dockerfile
password:
from_secret: docker_password
repo: lerentis/ansible
tags:
- almalinux-8
username:
from_secret: docker_username
when:
- push
- pull_request
- cron
type: kubernetes
- kind: pipeline
name: fedora-24build
platform:
arch: amd64
os: linux
steps:
- image: plugins/kaniko
name: fedora-24
resources:
limits:
cpu: "200"
memory: 1024MiB
settings:
dockerfile: fedora-24/Dockerfile
password:
from_secret: docker_password
repo: lerentis/ansible
tags:
- fedora-24
username:
from_secret: docker_username
when:
- push
- pull_request
- cron
type: kubernetes
- kind: pipeline
name: alpine-3build
platform:
arch: amd64
os: linux
steps:
- image: plugins/kaniko
name: alpine-3
resources:
limits:
cpu: "200"
memory: 1024MiB
settings:
dockerfile: alpine-3/Dockerfile
password:
from_secret: docker_password
repo: lerentis/ansible
tags:
- alpine-3
username:
from_secret: docker_username
when:
- push
- pull_request
- cron
type: kubernetes
- kind: pipeline
name: archbuild
platform:
arch: amd64
os: linux
steps:
- image: plugins/kaniko
name: arch
resources:
limits:
cpu: "200"
memory: 1024MiB
settings:
dockerfile: arch/Dockerfile
password:
from_secret: docker_password
repo: lerentis/ansible
tags:
- arch
username:
from_secret: docker_username
when:
- push
- pull_request
- cron
type: kubernetes