ci: publish the image and chart from CI
ci / checks (push) Failing after 1m26s
ci / chart (push) Canceled after 0s
ci / web (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / publish-edge-image (push) Canceled after 0s
ci / publish-edge-chart (push) Canceled after 0s
ci / test (push) Canceled after 1m26s
ci / checks (push) Failing after 1m26s
ci / chart (push) Canceled after 0s
ci / web (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / publish-edge-image (push) Canceled after 0s
ci / publish-edge-chart (push) Canceled after 0s
ci / test (push) Canceled after 1m26s
Build and test the server, client, and chart on every push. Main pushes publish the rolling image and a timestamped chart whose appVersion is the commit; v* tags publish exact and stable image tags.
This commit is contained in:
1 parent
7f494b28de
commit
51b7a5e80b
4 files changed
+334
No files matched your search
@@ -4,6 +4,27 @@ This chart runs one rhema-together pod with a persistent volume for the
|
||||
SQLite database and the master key. The pod serves the API, the built
|
||||
client, the terminal WebSocket, the event stream, and the preview proxy.
|
||||
|
||||
## Published artifacts
|
||||
|
||||
CI publishes on every push to `main`:
|
||||
|
||||
- image `git.vhaudiquet.fr/vhaudiquet/rhema-together:latest` and
|
||||
`:<commit>`;
|
||||
- chart `rhema-together` versioned `0.1.0-<UTC timestamp>`, with
|
||||
`appVersion` set to that commit. The image tag defaults to
|
||||
`appVersion`, so a chart deploys the image built from the same
|
||||
commit.
|
||||
|
||||
A `v*` tag publishes the exact version and a `stable` image tag, plus
|
||||
the exact-version chart. The chart repository is:
|
||||
|
||||
```sh
|
||||
helm repo add vhaudiquet https://git.vhaudiquet.fr/api/packages/vhaudiquet/helm
|
||||
helm repo update
|
||||
helm upgrade --install together vhaudiquet/rhema-together \
|
||||
--namespace together --create-namespace -f my-values.yaml
|
||||
```
|
||||
|
||||
## Build the image
|
||||
|
||||
```sh
|
||||
|
||||
Reference in new issue
Block a user