diff options
Diffstat (limited to '_tils/2020-11-30-storing-ci-data-on-git-notes.md')
-rw-r--r-- | _tils/2020-11-30-storing-ci-data-on-git-notes.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/_tils/2020-11-30-storing-ci-data-on-git-notes.md b/_tils/2020-11-30-storing-ci-data-on-git-notes.md index 95365ac..74beda2 100644 --- a/_tils/2020-11-30-storing-ci-data-on-git-notes.md +++ b/_tils/2020-11-30-storing-ci-data-on-git-notes.md @@ -101,19 +101,19 @@ index 3f6ca69..02b9cc6 100644 ``` Other tools such as [cgit][cgit] will also show notes on the web interface: -[https://git.euandreh.xyz/vps/commit?id=930ba1888f49f11e52a4a715438cd9f5f413dd9c](https://git.euandreh.xyz/vps/commit?id=930ba1888f49f11e52a4a715438cd9f5f413dd9c) +[https://euandreh.xyz/vps.git/commit?id=930ba1888f49f11e52a4a715438cd9f5f413dd9c](https://euandreh.xyz/vps.git/commit?id=930ba1888f49f11e52a4a715438cd9f5f413dd9c) You can go even further: since cgit can serve raw blob directly, you can even serve such artifacts (log files, release artifacts, binaries) from cgit itself: ```shell $ SHA="$(git notes --ref=refs/notes/ci-logs list 930ba1888f49f11e52a4a715438cd9f5f413dd9c)" -$ echo "https://git.euandreh.xyz/vps/blob?id=$SHA" -https://git.euandreh.xyz/vps/blob?id=b3a6438a0c7a47864c54c61359b6ef50e864dbff +$ echo "https://euandreh.xyz/vps.git/blob?id=$SHA" +https://euandreh.xyz/vps.git/blob?id=b3a6438a0c7a47864c54c61359b6ef50e864dbff ``` And like that you'll have cgit serving the artifacts for you: -[https://git.euandreh.xyz/vps/blob?id=b3a6438a0c7a47864c54c61359b6ef50e864dbff](https://git.euandreh.xyz/vps/blob?id=b3a6438a0c7a47864c54c61359b6ef50e864dbff) +[https://euandreh.xyz/vps.git/blob?id=b3a6438a0c7a47864c54c61359b6ef50e864dbff](https://euandreh.xyz/vps.git/blob?id=b3a6438a0c7a47864c54c61359b6ef50e864dbff) [previous-article]: {% link _tils/2020-11-12-diy-bare-bones-ci-server-with-bash-and-nix.md %} [git-notes]: https://git-scm.com/docs/git-notes |