2020-10-28 08:05:50 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: test
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
2021-10-23 14:16:55 +00:00
|
|
|
- name: markdownlint
|
|
|
|
image: thegeeklab/markdownlint-cli
|
|
|
|
commands:
|
|
|
|
- markdownlint 'README.md'
|
2020-10-28 08:05:50 +00:00
|
|
|
|
2020-10-28 08:17:37 +00:00
|
|
|
trigger:
|
|
|
|
ref:
|
2021-10-23 14:16:55 +00:00
|
|
|
- refs/heads/main
|
|
|
|
- refs/tags/**
|
|
|
|
- refs/pull/**
|
2020-10-28 08:17:37 +00:00
|
|
|
|
2019-02-09 14:29:00 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2021-10-23 20:40:25 +00:00
|
|
|
name: build-container-el7
|
2019-03-13 09:57:48 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
2019-03-14 12:39:27 +00:00
|
|
|
arch: amd64
|
2019-03-13 09:57:48 +00:00
|
|
|
|
|
|
|
steps:
|
2021-10-23 14:16:55 +00:00
|
|
|
- name: dryrun
|
2023-02-09 09:32:27 +00:00
|
|
|
image: thegeeklab/drone-docker-buildx:23
|
2021-10-23 14:16:55 +00:00
|
|
|
settings:
|
2021-10-23 20:40:25 +00:00
|
|
|
dockerfile: Dockerfile.el7
|
2021-10-23 14:16:55 +00:00
|
|
|
dry_run: true
|
2023-02-08 20:22:23 +00:00
|
|
|
provenance: false
|
2021-10-23 14:16:55 +00:00
|
|
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
2021-10-23 14:19:49 +00:00
|
|
|
tags: 7
|
2021-10-23 14:16:55 +00:00
|
|
|
when:
|
|
|
|
ref:
|
|
|
|
- refs/pull/**
|
|
|
|
|
|
|
|
- name: publish-dockerhub
|
2023-02-09 09:32:27 +00:00
|
|
|
image: thegeeklab/drone-docker-buildx:23
|
2021-10-23 14:16:55 +00:00
|
|
|
settings:
|
2021-10-23 20:40:25 +00:00
|
|
|
dockerfile: Dockerfile.el7
|
2021-10-23 14:16:55 +00:00
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2023-02-08 20:22:23 +00:00
|
|
|
provenance: false
|
2021-10-23 14:16:55 +00:00
|
|
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
2021-10-23 14:19:49 +00:00
|
|
|
tags: 7
|
2021-10-23 14:16:55 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
ref:
|
|
|
|
- refs/heads/main
|
|
|
|
- refs/tags/**
|
|
|
|
|
|
|
|
- name: publish-quay
|
2023-02-09 09:32:27 +00:00
|
|
|
image: thegeeklab/drone-docker-buildx:23
|
2021-10-23 14:16:55 +00:00
|
|
|
settings:
|
2021-10-23 20:40:25 +00:00
|
|
|
dockerfile: Dockerfile.el7
|
2021-10-23 14:16:55 +00:00
|
|
|
password:
|
|
|
|
from_secret: quay_password
|
2023-02-08 20:22:23 +00:00
|
|
|
provenance: false
|
2021-10-23 14:16:55 +00:00
|
|
|
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 12:39:27 +00:00
|
|
|
|
2021-10-23 14:16:55 +00:00
|
|
|
trigger:
|
|
|
|
ref:
|
2020-12-30 15:31:41 +00:00
|
|
|
- refs/heads/main
|
2020-09-02 20:25:24 +00:00
|
|
|
- refs/tags/**
|
2021-10-23 14:16:55 +00:00
|
|
|
- refs/pull/**
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- test
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2021-10-23 20:40:25 +00:00
|
|
|
name: build-container-el8
|
2021-10-23 14:16:55 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: dryrun
|
2023-02-09 09:32:27 +00:00
|
|
|
image: thegeeklab/drone-docker-buildx:23
|
2021-10-23 14:16:55 +00:00
|
|
|
settings:
|
2021-10-23 20:40:25 +00:00
|
|
|
dockerfile: Dockerfile.el8
|
2021-10-23 14:16:55 +00:00
|
|
|
dry_run: true
|
2023-02-08 20:22:23 +00:00
|
|
|
provenance: false
|
2021-10-23 14:16:55 +00:00
|
|
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
2021-10-23 14:19:49 +00:00
|
|
|
tags: 8
|
2021-10-23 14:16:55 +00:00
|
|
|
when:
|
|
|
|
ref:
|
|
|
|
- refs/pull/**
|
|
|
|
|
|
|
|
- name: publish-dockerhub
|
2023-02-09 09:32:27 +00:00
|
|
|
image: thegeeklab/drone-docker-buildx:23
|
2021-10-23 14:16:55 +00:00
|
|
|
settings:
|
2021-10-23 20:40:25 +00:00
|
|
|
dockerfile: Dockerfile.el8
|
2021-10-23 14:16:55 +00:00
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2023-02-08 20:22:23 +00:00
|
|
|
provenance: false
|
2021-10-23 14:16:55 +00:00
|
|
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
2021-10-23 14:19:49 +00:00
|
|
|
tags: 8
|
2021-10-23 14:16:55 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
ref:
|
|
|
|
- refs/heads/main
|
|
|
|
- refs/tags/**
|
|
|
|
|
|
|
|
- name: publish-quay
|
2023-02-09 09:32:27 +00:00
|
|
|
image: thegeeklab/drone-docker-buildx:23
|
2021-10-23 14:16:55 +00:00
|
|
|
settings:
|
2021-10-23 20:40:25 +00:00
|
|
|
dockerfile: Dockerfile.el8
|
2021-10-23 14:16:55 +00:00
|
|
|
password:
|
|
|
|
from_secret: quay_password
|
2023-02-08 20:22:23 +00:00
|
|
|
provenance: false
|
2021-10-23 14:16:55 +00:00
|
|
|
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 12:39:27 +00:00
|
|
|
|
2020-06-11 12:56:29 +00:00
|
|
|
trigger:
|
|
|
|
ref:
|
2021-10-23 14:16:55 +00:00
|
|
|
- refs/heads/main
|
|
|
|
- refs/tags/**
|
|
|
|
- refs/pull/**
|
2020-06-11 12:56:29 +00:00
|
|
|
|
2020-10-28 08:17:37 +00:00
|
|
|
depends_on:
|
2021-10-23 14:16:55 +00:00
|
|
|
- test
|
2020-10-28 08:17:37 +00:00
|
|
|
|
2019-03-14 12:54:36 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: notifications
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
2021-10-23 14:16:55 +00:00
|
|
|
- name: pushrm-dockerhub
|
|
|
|
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
|
|
|
|
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
|
2023-02-08 20:22:23 +00:00
|
|
|
template: "Status: **{{ .Build.Status }}**<br/> Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} by {{ .Commit.Author }}<br/> Message: {{ .Commit.Message.Title }}"
|
2021-10-23 14:16:55 +00:00
|
|
|
username:
|
|
|
|
from_secret: matrix_username
|
|
|
|
when:
|
|
|
|
status:
|
|
|
|
- success
|
|
|
|
- failure
|
2019-03-14 12:54:36 +00:00
|
|
|
|
2019-03-18 12:46:03 +00:00
|
|
|
trigger:
|
2020-02-22 16:41:02 +00:00
|
|
|
ref:
|
2021-10-23 14:16:55 +00:00
|
|
|
- refs/heads/main
|
|
|
|
- refs/tags/**
|
2019-03-18 12:46:03 +00:00
|
|
|
status:
|
2021-10-23 14:16:55 +00:00
|
|
|
- success
|
|
|
|
- failure
|
2019-03-18 12:46:03 +00:00
|
|
|
|
2019-03-14 12:54:36 +00:00
|
|
|
depends_on:
|
2021-10-23 20:40:25 +00:00
|
|
|
- build-container-el7
|
|
|
|
- build-container-el8
|
2020-02-22 16:41:02 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: signature
|
2023-02-09 09:32:27 +00:00
|
|
|
hmac: bd239a7e7db5fbee736dd48763aa949f355d35683f3ce6419bb19b32ca314533
|
2019-03-14 12:54:36 +00:00
|
|
|
|
2019-03-14 12:39:27 +00:00
|
|
|
...
|