From 3a08321b08b6488cc17ca339b48cc024c6610e88 Mon Sep 17 00:00:00 2001 From: Frank Gerhardt Date: Mon, 5 Aug 2024 15:52:02 +0200 Subject: [PATCH] Many changes --- Home.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/Home.md b/Home.md index a4d4495..7536681 100644 --- a/Home.md +++ b/Home.md @@ -1,15 +1,21 @@ | Name | Links | Fork, active branch | Version | PR link | PR status | Notes | |-------------------------|---------------------------------------------------------------------------------------------|---------------------|------------|------------|--------------------------|-------| -| amarillo | [GI][1g] [GH][1m] πŸ”΄[CI][1j] πŸ”΄[GHA][1a] πŸ”΄[GIPy][1x] πŸ”΄[Pypi][1] πŸ”΄[GIcr][1r] 🟑[ghcr][1d] | [Link][1f] dev | πŸ”΄0.0.17a1 | [Link][1p] | Merged into plugins bran | [^1] | -| amarillo-gtfs-generator | [GI][2g] [GH][2m] 🟑[CI][2j] 🟑[PyPI][1] πŸ”΄Docker πŸ”΄ghcr | | 🟒2.0.0 | | | [^2] | -| amarillo-enhancer | [GI][3g] [GH][3m] 🟒[CI][3j] 🟒[PyPI][1] 🟒[Docker][3d] πŸ”΄ghcr | | 🟒2.0.0 | | | [^3] | +| amarillo | [GI][1g] [GH][1m] πŸ”΄[CI][1j] πŸ”΄[GHA][1a] πŸ”΄[GIPy][1x] πŸ”΄[PyPI][1] 🟑[GICR][1r] 🟑[GHCR][1d] | [Link][1f] dev | πŸ”΄0.0.17a1 | [Link][1p] | Merged into plugins bran | [^1] | +| amarillo-gtfs-generator | [GI][2g] [GH][2m] 🟑[CI][2j] 🟑[PyPI][1] πŸ”΄GICR GHCR | | 🟒2.0.0 | | | [^2] | +| amarillo-enhancer | [GI][3g] [GH][3m] 🟒[CI][3j] 🟒[PyPI][1] 🟒[GICR][3d] GHCR | | 🟒2.0.0 | | | [^3] | | amarillo-compose | [GI][4g] [GH][4m] | | 🟒2.0.0 | | | [^4] | | amarillo-gtfs-exporter | [GI][5g] [GH][5m] 🟒[PyPI][5p] | | 🟒2.0.0 | | | [^5] | -| amarillo-metrics | [GI][6g] [GH][6m] 🟑[CI][6j] 🟑[PyPI][6p] | | 🟒2.0.0 | | | [^6] | +| amarillo-metrics | [GI][6g] [GH][6m] 🟑[CI][6j] 🟑[PyPI][6p] | | 🟒2.0.0 | | | [^6] | | amarillo-stops | [GH][7m] 🟑[CI][7j] 🟒[PyPI][7p] | | 🟒2.0.0 | | | [^7] | | amarillo-grfs-export | [GI][8g] GH [PyPI][1] | | | | | [^8] | +Deployments +- πŸ”΄ https://amarilllo.mfdz.de from main branch [^9] +- πŸ”΄ https://amarilllo-dev.mfdz.de from other branches +- πŸ”΄ https://mitanand.mfdz.de +- πŸ”΄ https://mitanand-dev.mfdz.de + [^1]: New PR: Call to enhancer, base and derived images, carpool event hooks βœ“
CI/CD: missing publishing to PyPI
deploy branches are main,/dev/mitanand Notifies webhook once images are built First, base image with no plugins, then derived image on top (defined in standard.Dockerfile, there can be more later) @@ -21,6 +27,11 @@ [^6]: errors.log permissions βœ“ [^7]: β˜‘ Readme
β˜‘ Jenkinsfile
☐ GH About section empty ☐ Jenkins not running immediately? [^8]: Deprecated; functionality should be moved to new repo amarillo-grfs-generator in a way that is compatible with exporter +[^9] main branch on GH 1. GHA builds image but does not deploy[^10], publishes image on GHCR, triggers hook to Jenkins deploy job (instead hcloud) via the Registry packages event (new) + 2. on commit hook: Jenkins builds PyPI package and publishes it on PyPI&GIPI. And build&publish Docker image on GIPI&GICR +[^10] publishing the release image on GHCR triggers the hook on Jenkins (event for Registry packages) and runs a Jenkins job to do the deployment: 1. ssh to server 2. stop the containers (compose) 3. run the new compose + +THe GH webhook has to call Jenkins instead of hcloud! The cd.sh will be removed and the FastAPI app that listens to the webhook πŸ”΄ 🟒 🟑