2022-02-11 16:47:10 +00:00
|
|
|
# ci-tools-lib
|
|
|
|
|
|
|
|
Various toolchain bits and pieces shared between projects
|
|
|
|
|
2022-03-23 09:54:49 +00:00
|
|
|
# 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
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2022-02-11 16:47:10 +00:00
|
|
|
## Jenkins
|
|
|
|
Shared groovy libraries
|
|
|
|
|
|
|
|
## Make
|
|
|
|
Common Makefile include
|
2022-07-31 23:19:55 +00:00
|
|
|
|
|
|
|
# Mermaid test
|
|
|
|
```mermaid
|
|
|
|
stateDiagram-v2
|
|
|
|
[*] --> select_date
|
|
|
|
select_date --> select_time
|
|
|
|
select_time --> current_status
|
|
|
|
current_status --> cancel: status_available
|
|
|
|
current_status --> [*]: status_over
|
|
|
|
cancel --> [*]
|
|
|
|
```
|