Archived
Compare commits
6
Commits
942a888242
...
0688cb83dd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0688cb83dd
|
||
|
|
41fd424a8e
|
||
|
|
d34df180fd
|
||
|
|
c9470d199f
|
||
|
|
6dd20cc9bd
|
||
|
|
ecd0ae69da
|
No files matched your search
@@ -10,9 +10,9 @@ jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
# Bespoke runner image (Ubuntu 24.04 + make + git + node + go via
|
||||
# actions/setup-go). See git.librete.ch/libretech/runner-image.
|
||||
# actions/setup-go). See git.librete.ch/public/runner-image.
|
||||
container:
|
||||
image: git.librete.ch/libretech/runner-image:v1
|
||||
image: git.librete.ch/public/runner-image:v0.1.0@sha256:9d1e204fe8e06b7d16cdc8da0c7077fa4171daef62099cc8c09993834e576ca5
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
@@ -9,7 +9,7 @@ on:
|
||||
# REGISTRY registry hostname (git.librete.ch)
|
||||
# REGISTRY_USER robot account or PAT username (libretech-bot)
|
||||
# REGISTRY_PASS PAT with write:package
|
||||
# DEPLOY_HOST SSH target, e.g. root@cloud.librete.ch
|
||||
# DEPLOY_HOST SSH target, e.g. user@your-deploy-host
|
||||
# DEPLOY_KEY passphrase-less private key (PEM)
|
||||
# DEPLOY_PATH remote stack dir (/srv/librenotes)
|
||||
# HEALTH_URL https://ln.cloud.librete.ch/healthz
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
# + perl + ssh, runner user pre-joined to docker gid 998 so the
|
||||
# auto-mounted /var/run/docker.sock is writable without --user root.
|
||||
container:
|
||||
image: git.librete.ch/libretech/runner-image:v1
|
||||
image: git.librete.ch/public/runner-image:v0.1.0@sha256:9d1e204fe8e06b7d16cdc8da0c7077fa4171daef62099cc8c09993834e576ca5
|
||||
timeout-minutes: 20
|
||||
if: ${{ vars.DEPLOY_ENABLED == 'true' }}
|
||||
steps:
|
||||
|
||||
@@ -5,7 +5,7 @@ Cloud-native multi-tenant notes application built on Notesium (MIT).
|
||||
## Project
|
||||
|
||||
- Repo: https://git.librete.ch/public/librenotes
|
||||
- Remote: `ssh://tengo@git.librete.ch:41240/public/librenotes.git`
|
||||
- Remote: `ssh://git.librete.ch:41240/public/librenotes.git` (configure SSH user in `~/.ssh/config`)
|
||||
- Stack: Go backend (forked from Notesium), vanilla JS frontend
|
||||
- License: MIT (inherited from Notesium)
|
||||
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ The fastest path is the Nix flake. The `dev` shell drops you
|
||||
into a working Go toolchain without any sandbox wrapping:
|
||||
|
||||
```sh
|
||||
git clone ssh://tengo@git.librete.ch:41240/public/librenotes.git
|
||||
git clone https://git.librete.ch/public/librenotes.git
|
||||
cd librenotes
|
||||
nix develop .#dev
|
||||
make build && make test
|
||||
|
||||
+1
-1
@@ -70,7 +70,7 @@ docker compose -f compose.yaml -f compose.netcup.yaml up -d
|
||||
|
||||
Workflows run on the netcup `act_runner` (see `runner/` stack in
|
||||
the netcup umbrella). Both `ci.yml` and `deploy.yml` declare
|
||||
`container: image: git.librete.ch/libretech/runner-image:v1` —
|
||||
`container: image: git.librete.ch/public/runner-image:v1` —
|
||||
a bespoke Ubuntu 24.04 image (built and signed by us, hosted on
|
||||
the same Gitea instance) that bundles `git`, `make`, `node`,
|
||||
`perl`, `ssh`, and a docker CLI. The image's `runner` user is
|
||||
|
||||
Reference in new issue
Block a user