Stefan Reimer 047e160d26 Squashed '.ci/' changes from 5554972..63421d1
63421d1 fix: prevent branch_name equals tag
47140c2 feat: append branch into tags if not main
4b62ada chore: improve messaging
a49cc0c chore: improve messaging
194afb4 chore: get ci working again
8ec9769 chore: get ci working again
fef4968 fix: do NOT push PRs to registry, other fixes
50a6d67 feat: ensure ARCH is only set to defined values
8fb40c7 fix: adjust trivy call to local podman
7378ea9 fix: fix trivy scan task to match new flow, add BRANCH env to Makefile
38cf7ab fix: more podman/buildah cleanups
aece7fc fix: Improve multi-arch manifest handling
80dabc2 feat: remove implicit dependencies, add help target, cleanup

git-subtree-dir: .ci
git-subtree-split: 63421d1fab0d2546de343697cbd1424914db6c31
2023-04-03 09:28:13 +00:00
2022-02-11 17:47:10 +01:00
2022-03-23 10:54:49 +01:00

ci-tools-lib

Various toolchain bits and pieces shared between projects

Quickstart

Create top-level Makefile

REGISTRY := <your-registry>
IMAGE := <image_name>
REGION := <AWS region of your registry>

include .ci/podman.mk

Add subtree to your project:

git subtree add --prefix .ci https://git.zero-downtime.net/ZeroDownTime/ci-tools-lib.git master --squash

Jenkins

Shared groovy libraries

Make

Common Makefile include

Description
OpenVPN container incl. easy-rsa, TOTP, prometheus exporter
Readme 109 KiB
Languages
Shell 40.6%
Makefile 20.1%
Groovy 13.1%
Python 12.6%
Dockerfile 7.9%
Other 5.7%