Portal v0.6.24; lint with portal itself
The instance ran v0.5.2 while the portal is at v0.6.24, which is where `slideshow` and the sign-in row on the wordmark's line came in. The lint is now the portal binary at the pinned release, as Klingenberg Bygg's is, so what passes CI is what the running instance accepts (site.yaml included; iris stopped at v0.5.10). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
3 files changed
+10
-6
No files matched your search
@@ -24,7 +24,7 @@ on:
|
|||||||
- .gitea/workflows/deploy.yml
|
- .gitea/workflows/deploy.yml
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PORTAL_RELEASE: v0.5.2
|
PORTAL_RELEASE: v0.6.24
|
||||||
INSTANCE: westra-portal
|
INSTANCE: westra-portal
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Lint on the kasse host runner (the portal binary lives there), then
|
# Lint on the kasse host runner with the portal release this site runs, then
|
||||||
# nudge the running portal to refetch content over local NATS.
|
# nudge the running portal to refetch content over local NATS.
|
||||||
name: lint-and-reload
|
name: lint-and-reload
|
||||||
on:
|
on:
|
||||||
@@ -12,12 +12,15 @@ jobs:
|
|||||||
- name: checkout
|
- name: checkout
|
||||||
run: |
|
run: |
|
||||||
rm -rf checkout && git clone --depth 1 https://prosjekt.klingenbergbygg.no/westra/questions.git checkout
|
rm -rf checkout && git clone --depth 1 https://prosjekt.klingenbergbygg.no/westra/questions.git checkout
|
||||||
|
# The lint is portal itself (`portal lint`), at the version this
|
||||||
|
# site runs (PORTAL_RELEASE in deploy.yml), so what passes here is
|
||||||
|
# what the running instance accepts.
|
||||||
- name: lint
|
- name: lint
|
||||||
env:
|
env:
|
||||||
IRIS_RELEASE: v0.5.2
|
PORTAL_RELEASE: v0.6.24
|
||||||
run: |
|
run: |
|
||||||
curl -sfL "https://project.uhhm.no/uhhm/iris/releases/download/$IRIS_RELEASE/iris" -o iris && chmod +x iris
|
curl -sfL "https://project.uhhm.no/uhhm/portal/releases/download/$PORTAL_RELEASE/portal-x86_64-linux" -o portal && chmod +x portal
|
||||||
./iris check --path checkout/questions
|
./portal lint --path checkout/questions
|
||||||
- name: reload
|
- name: reload
|
||||||
run: |
|
run: |
|
||||||
nats --server nats://127.0.0.1:4222 pub portal.content.reload ""
|
nats --server nats://127.0.0.1:4222 pub portal.content.reload ""
|
||||||
@@ -14,4 +14,5 @@ it existed. Norwegian is the source language.
|
|||||||
`naerbilde.jpg` (Jannicke) is missing because it 404s on the source
|
`naerbilde.jpg` (Jannicke) is missing because it 404s on the source
|
||||||
site itself — ask for a replacement.
|
site itself — ask for a replacement.
|
||||||
|
|
||||||
Lint before pushing: `question_lint --path questions`.
|
Lint before pushing: `portal lint --path questions`, with the portal
|
||||||
|
release `.gitea/workflows/deploy.yml` pins.
|
||||||
Reference in new issue
Block a user