This repository has been archived on 2023-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
rpmbuild/.drone.yml

217 lines
4.1 KiB
YAML
Raw Normal View History

2020-10-28 09:05:50 +01:00
---
kind: pipeline
name: test
platform:
os: linux
arch: amd64
steps:
- name: markdownlint
image: thegeeklab/markdownlint-cli
commands:
- markdownlint 'README.md'
2020-10-28 09:05:50 +01:00
2020-10-28 09:17:37 +01:00
trigger:
ref:
- refs/heads/main
- refs/tags/**
- refs/pull/**
2020-10-28 09:17:37 +01:00
2019-02-09 15:29:00 +01:00
---
kind: pipeline
2021-10-23 22:40:25 +02:00
name: build-container-el7
2019-03-13 10:57:48 +01:00
platform:
os: linux
2019-03-14 13:39:27 +01:00
arch: amd64
2019-03-13 10:57:48 +01:00
steps:
- name: dryrun
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
2021-10-23 22:40:25 +02:00
dockerfile: Dockerfile.el7
dry_run: true
repo: thegeeklab/${DRONE_REPO_NAME}
tags: 7
when:
ref:
- refs/pull/**
- name: publish-dockerhub
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
2021-10-23 22:40:25 +02:00
dockerfile: Dockerfile.el7
password:
from_secret: docker_password
repo: thegeeklab/${DRONE_REPO_NAME}
tags: 7
username:
from_secret: docker_username
when:
ref:
- refs/heads/main
- refs/tags/**
- name: publish-quay
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
2021-10-23 22:40:25 +02:00
dockerfile: Dockerfile.el7
password:
from_secret: quay_password
registry: quay.io
repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
tags: 7
username:
from_secret: quay_username
when:
ref:
- refs/heads/main
- refs/tags/**
2019-03-14 13:39:27 +01:00
trigger:
ref:
- refs/heads/main
2020-09-02 22:25:24 +02:00
- refs/tags/**
- refs/pull/**
depends_on:
- test
---
kind: pipeline
2021-10-23 22:40:25 +02:00
name: build-container-el8
platform:
os: linux
arch: amd64
steps:
- name: dryrun
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
2021-10-23 22:40:25 +02:00
dockerfile: Dockerfile.el8
dry_run: true
repo: thegeeklab/${DRONE_REPO_NAME}
tags: 8
when:
ref:
- refs/pull/**
- name: publish-dockerhub
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
2021-10-23 22:40:25 +02:00
dockerfile: Dockerfile.el8
password:
from_secret: docker_password
repo: thegeeklab/${DRONE_REPO_NAME}
tags: 8
username:
from_secret: docker_username
when:
ref:
- refs/heads/main
- refs/tags/**
- name: publish-quay
pull: always
image: thegeeklab/drone-docker-buildx:20
settings:
2021-10-23 22:40:25 +02:00
dockerfile: Dockerfile.el8
password:
from_secret: quay_password
registry: quay.io
repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
tags: 8
username:
from_secret: quay_username
when:
ref:
- refs/heads/main
- refs/tags/**
2019-03-14 13:39:27 +01:00
2020-06-11 14:56:29 +02:00
trigger:
ref:
- refs/heads/main
- refs/tags/**
- refs/pull/**
2020-06-11 14:56:29 +02:00
2020-10-28 09:17:37 +01:00
depends_on:
- test
2020-10-28 09:17:37 +01:00
2019-03-14 13:54:36 +01:00
---
kind: pipeline
name: notifications
platform:
os: linux
arch: amd64
steps:
- name: pushrm-dockerhub
pull: always
image: chko/docker-pushrm:1
environment:
DOCKER_PASS:
from_secret: docker_password
DOCKER_USER:
from_secret: docker_username
PUSHRM_FILE: README.md
PUSHRM_SHORT: Rootless Alpine base image
PUSHRM_TARGET: thegeeklab/${DRONE_REPO_NAME}
when:
status:
- success
- name: pushrm-quay
pull: always
image: chko/docker-pushrm:1
environment:
APIKEY__QUAY_IO:
from_secret: quay_token
PUSHRM_FILE: README.md
PUSHRM_TARGET: quay.io/thegeeklab/${DRONE_REPO_NAME}
when:
status:
- success
- name: matrix
image: thegeeklab/drone-matrix
settings:
homeserver:
from_secret: matrix_homeserver
password:
from_secret: matrix_password
roomid:
from_secret: matrix_roomid
template: "Status: **{{ build.Status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}){{#if build.Branch}} ({{ build.Branch }}){{/if}} by {{ commit.Author }}<br/> Message: {{ commit.Message.Title }}"
username:
from_secret: matrix_username
when:
status:
- success
- failure
2019-03-14 13:54:36 +01:00
2019-03-18 13:46:03 +01:00
trigger:
2020-02-22 17:41:02 +01:00
ref:
- refs/heads/main
- refs/tags/**
2019-03-18 13:46:03 +01:00
status:
- success
- failure
2019-03-18 13:46:03 +01:00
2019-03-14 13:54:36 +01:00
depends_on:
2021-10-23 22:40:25 +02:00
- build-container-el7
- build-container-el8
2020-02-22 17:41:02 +01:00
---
kind: signature
2021-10-23 22:40:25 +02:00
hmac: 435b8dcaca7ddabe92447d3213768861db7a13bec278c6b97b12f751af204ec1
2019-03-14 13:54:36 +01:00
2019-03-14 13:39:27 +01:00
...