Compare commits
42
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f56400a3f7 | ||
|
|
1cfa36f006 | ||
|
|
953fff2ce6 | ||
|
|
4d5ba1ecb1 | ||
|
|
aa89212003 | ||
|
|
0228e891cf | ||
|
|
fcbf203a85 | ||
|
|
96f4eacfae | ||
|
|
f0d45577e3 | ||
|
|
7572b4e5f6 | ||
|
|
d63360b980 | ||
|
|
a0192a6515 | ||
|
|
d76f2f54d1 | ||
|
|
068c6c41e8 | ||
|
|
f71a119f17 | ||
|
|
66cfdc1ec0 | ||
|
|
44f697f8f7 | ||
|
|
71107ad11e | ||
|
|
373dc4f677 | ||
|
|
52e05bab79 | ||
|
|
a89a19c809 | ||
|
|
023ee7fad2 | ||
|
|
2276b92268 | ||
|
|
ab20f54b86 | ||
|
|
a764a6b931 | ||
|
|
965f3bc03e | ||
|
|
466555f69c | ||
|
|
33655c034b | ||
|
|
c11a33fc1e | ||
|
|
f619e5cbec | ||
|
|
e3e0b8d28c | ||
|
|
3614bfd3ae | ||
|
|
7981575f86 | ||
|
|
d9ae9da14c | ||
|
|
a2ed208d3e | ||
|
|
1fb47dc4e1 | ||
|
|
26abef948d | ||
|
|
0268a11e14 | ||
|
|
42b07e9ab9 | ||
|
|
c8250c9ca3 | ||
|
|
fdce59d77d | ||
|
|
93fcd4127c |
No files matched your search
@@ -27,7 +27,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: node:22-bookworm
|
container: node:22-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
@@ -55,7 +55,7 @@ jobs:
|
|||||||
# A cache outage must not turn into a red PR: install still works
|
# A cache outage must not turn into a red PR: install still works
|
||||||
# without the store, just slower.
|
# without the store, just slower.
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
uses: actions/cache@v4.1.0
|
uses: actions/cache@v6.1.0
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.pnpm.outputs.store }}
|
path: ${{ steps.pnpm.outputs.store }}
|
||||||
key: pnpm-store-${{ runner.os }}-${{ steps.pnpm.outputs.layout }}-${{ steps.pnpm.outputs.lockfile }}
|
key: pnpm-store-${{ runner.os }}-${{ steps.pnpm.outputs.layout }}-${{ steps.pnpm.outputs.lockfile }}
|
||||||
@@ -82,7 +82,7 @@ jobs:
|
|||||||
# breaks node-based actions like actions/checkout
|
# breaks node-based actions like actions/checkout
|
||||||
container: node:22-bookworm
|
container: node:22-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # gitleaks scans the full history
|
fetch-depth: 0 # gitleaks scans the full history
|
||||||
|
|
||||||
@@ -110,7 +110,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: node:22-bookworm
|
container: node:22-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
@@ -135,7 +135,7 @@ jobs:
|
|||||||
# binary in the multi-arch node image instead
|
# binary in the multi-arch node image instead
|
||||||
container: node:22-bookworm
|
container: node:22-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Install droast
|
- name: Install droast
|
||||||
run: |
|
run: |
|
||||||
@@ -202,7 +202,7 @@ jobs:
|
|||||||
# so install the CLI via npm in the multi-arch node image instead
|
# so install the CLI via npm in the multi-arch node image instead
|
||||||
container: node:22-bookworm
|
container: node:22-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Install Snyk CLI
|
- name: Install Snyk CLI
|
||||||
run: npm install -g snyk@1 && snyk --version
|
run: npm install -g snyk@1 && snyk --version
|
||||||
|
|||||||
@@ -9,6 +9,24 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
# Manual rehearsal from the Gitea UI (Actions -> Publish image -> Run
|
||||||
|
# workflow). `push` defaults to false: the job builds and smoke-tests, then
|
||||||
|
# stops without publishing, so the runner can be verified without creating
|
||||||
|
# a tag or a package version. Set `push` to true (and `latest` only for a
|
||||||
|
# real release) to publish.
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
version:
|
||||||
|
description: 'Version to build, e.g. v0.0.1 (vMAJOR.MINOR.PATCH)'
|
||||||
|
required: true
|
||||||
|
push:
|
||||||
|
description: 'Push the image to the registry'
|
||||||
|
required: false
|
||||||
|
default: 'false'
|
||||||
|
latest:
|
||||||
|
description: 'Also move :latest (real releases only)'
|
||||||
|
required: false
|
||||||
|
default: 'false'
|
||||||
|
|
||||||
# The runner has capacity 1, so releases already serialize. This keeps a
|
# The runner has capacity 1, so releases already serialize. This keeps a
|
||||||
# manual re-run from racing a fresh release on the same tags.
|
# manual re-run from racing a fresh release on the same tags.
|
||||||
@@ -41,7 +59,7 @@ jobs:
|
|||||||
# the CLI - see OKF_Nuxt/decisions/registry-publishing.md.
|
# the CLI - see OKF_Nuxt/decisions/registry-publishing.md.
|
||||||
container: node:22-bookworm
|
container: node:22-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Install Docker CLI
|
- name: Install Docker CLI
|
||||||
# Debian's docker.io, not a curl-piped binary from GitHub: apt is a
|
# Debian's docker.io, not a curl-piped binary from GitHub: apt is a
|
||||||
@@ -72,10 +90,19 @@ jobs:
|
|||||||
|
|
||||||
- name: Resolve version and tags
|
- name: Resolve version and tags
|
||||||
id: version
|
id: version
|
||||||
|
env:
|
||||||
|
# Inputs go through env, not direct interpolation: a value pasted
|
||||||
|
# into a `run:` block is shell code before any check can run.
|
||||||
|
INPUT_VERSION: ${{ github.event.inputs.version }}
|
||||||
|
INPUT_LATEST: ${{ github.event.inputs.latest }}
|
||||||
run: |
|
run: |
|
||||||
# GITHUB_REF_NAME is the tag on a tag push. The git fallback keeps
|
# On a tag push GITHUB_REF_NAME is the tag; on workflow_dispatch it
|
||||||
# this working if a runner version does not set it.
|
# is the BRANCH, so the manual version input must win. The git
|
||||||
version="${GITHUB_REF_NAME:-$(git describe --tags --exact-match HEAD)}"
|
# fallback keeps tag pushes working if a runner omits the variable.
|
||||||
|
version="$INPUT_VERSION"
|
||||||
|
if [ -z "$version" ]; then
|
||||||
|
version="${GITHUB_REF_NAME:-$(git describe --tags --exact-match HEAD)}"
|
||||||
|
fi
|
||||||
# Strict semver, not a `v[0-9]*` prefix match: that would accept
|
# Strict semver, not a `v[0-9]*` prefix match: that would accept
|
||||||
# `v1`, `v1-anything` and prereleases, all valid registry tags.
|
# `v1`, `v1-anything` and prereleases, all valid registry tags.
|
||||||
if ! printf '%s' "$version" | grep -qE '^v[0-9]+\.[0-9]+\.[0-9]+$'; then
|
if ! printf '%s' "$version" | grep -qE '^v[0-9]+\.[0-9]+\.[0-9]+$'; then
|
||||||
@@ -91,7 +118,13 @@ jobs:
|
|||||||
# A tag comparison needs the other tags, which a depth-1 tag
|
# A tag comparison needs the other tags, which a depth-1 tag
|
||||||
# checkout does not have. If the fetch fails, skip `latest` and
|
# checkout does not have. If the fetch fails, skip `latest` and
|
||||||
# say so - a wrong tag is worse than a missing one.
|
# say so - a wrong tag is worse than a missing one.
|
||||||
if git fetch --tags --force --quiet origin 2>/dev/null; then
|
#
|
||||||
|
# A manual run moves `latest` only when the `latest` input says so;
|
||||||
|
# a rehearsal must never repoint the production tag.
|
||||||
|
if [ "$INPUT_LATEST" = "true" ]; then
|
||||||
|
latest=true
|
||||||
|
echo "manual run requested :latest"
|
||||||
|
elif git fetch --tags --force --quiet origin 2>/dev/null; then
|
||||||
newest="$(git tag -l | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -n 1)"
|
newest="$(git tag -l | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -n 1)"
|
||||||
if [ "$version" = "$newest" ]; then
|
if [ "$version" = "$newest" ]; then
|
||||||
latest=true
|
latest=true
|
||||||
@@ -128,6 +161,9 @@ jobs:
|
|||||||
| docker login git.noelsabia.dev -u "$REGISTRY_USERNAME" --password-stdin
|
| docker login git.noelsabia.dev -u "$REGISTRY_USERNAME" --password-stdin
|
||||||
|
|
||||||
- name: Refuse to overwrite a published version
|
- name: Refuse to overwrite a published version
|
||||||
|
# Build-only rehearsals publish nothing, so an existing tag is not a
|
||||||
|
# conflict there; the guard only protects actual pushes.
|
||||||
|
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.push == 'true' }}
|
||||||
env:
|
env:
|
||||||
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
|
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
@@ -213,6 +249,8 @@ jobs:
|
|||||||
run: docker tag "${IMAGE}:${VERSION}" "${IMAGE}:latest"
|
run: docker tag "${IMAGE}:${VERSION}" "${IMAGE}:latest"
|
||||||
|
|
||||||
- name: Push image
|
- name: Push image
|
||||||
|
# Manual run with `push` left at false: build and smoke test only.
|
||||||
|
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.push == 'true' }}
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ steps.version.outputs.version }}
|
VERSION: ${{ steps.version.outputs.version }}
|
||||||
SHA: ${{ steps.version.outputs.sha }}
|
SHA: ${{ steps.version.outputs.sha }}
|
||||||
@@ -228,3 +266,13 @@ jobs:
|
|||||||
else
|
else
|
||||||
echo "Pushed ${IMAGE}:${VERSION}, :sha-${SHA} (:latest untouched)"
|
echo "Pushed ${IMAGE}:${VERSION}, :sha-${SHA} (:latest untouched)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Rehearsal summary
|
||||||
|
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.push != 'true' }}
|
||||||
|
env:
|
||||||
|
VERSION: ${{ steps.version.outputs.version }}
|
||||||
|
SHA: ${{ steps.version.outputs.sha }}
|
||||||
|
run: |
|
||||||
|
echo "Build-only rehearsal for ${VERSION} (${SHA}) - the image passed the smoke test and was NOT pushed."
|
||||||
|
echo "Re-run with push=true to publish it."
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ jobs:
|
|||||||
# release-please action clones into its own temp directory and does not
|
# release-please action clones into its own temp directory and does not
|
||||||
# check the workspace out, so without this step the job fails with
|
# check the workspace out, so without this step the job fails with
|
||||||
# "Cannot find module .../scripts/reconcile-release-please.mjs".
|
# "Cannot find module .../scripts/reconcile-release-please.mjs".
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
# release-please marks its release PR with `autorelease: pending` and
|
# release-please marks its release PR with `autorelease: pending` and
|
||||||
# later finds the merged PR by that label. Gitea's label API resolves
|
# later finds the merged PR by that label. Gitea's label API resolves
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
# Pinned and multi-arch (the runner is arm64). The image installs the
|
# Pinned and multi-arch (the runner is arm64). The image installs the
|
||||||
# Node-based toolchain it needs on demand.
|
# Node-based toolchain it needs on demand.
|
||||||
container: renovate/renovate:44.198.2
|
container: renovate/renovate:44.216.4
|
||||||
steps:
|
steps:
|
||||||
- name: Run Renovate
|
- name: Run Renovate
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
".": "1.5.0"
|
".": "1.5.2"
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,21 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.5.2](https://git.noelsabia.dev/CV_Website/CV_Site_Nuxt/compare/v1.5.1...v1.5.2) (2026-10-31)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **docker:** pin the multi-platform base image index digest ([7981575](https://git.noelsabia.dev/CV_Website/CV_Site_Nuxt/commit/7981575f862eb2c4d298327e21f7a006fec66591))
|
||||||
|
|
||||||
|
## [1.5.1](https://git.noelsabia.dev/CV_Website/CV_Site_Nuxt/compare/v1.5.0...v1.5.1) (2026-10-31)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **ci:** remove the release-please component mismatch ([e23f8d2](https://git.noelsabia.dev/CV_Website/CV_Site_Nuxt/commit/e23f8d26185443093f6aff949a22a9e785662c2f))
|
||||||
|
* **ci:** use an empty package-name so release-please tags v1.5.0 ([c8250c9](https://git.noelsabia.dev/CV_Website/CV_Site_Nuxt/commit/c8250c9ca3f9a7d820d891733f225692f18fa3b3))
|
||||||
|
* updated pnpm lockfile ([42b07e9](https://git.noelsabia.dev/CV_Website/CV_Site_Nuxt/commit/42b07e9ab938a4eadbcf0b3785fbb86e87f605a1))
|
||||||
|
|
||||||
## [1.5.0](https://git.noelsabia.dev/CV_Website/CV_Site_Nuxt/compare/v1.4.0...v1.5.0) (2026-10-31)
|
## [1.5.0](https://git.noelsabia.dev/CV_Website/CV_Site_Nuxt/compare/v1.4.0...v1.5.0) (2026-10-31)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+7
-4
@@ -12,11 +12,14 @@
|
|||||||
# edits invalidate almost nothing.
|
# edits invalidate almost nothing.
|
||||||
#
|
#
|
||||||
# Base image is digest-pinned to the same node:26-slim digest as the dev
|
# Base image is digest-pinned to the same node:26-slim digest as the dev
|
||||||
# container (OKF_Nuxt/decisions/dev-container-shape.md) - verified for the
|
# container (OKF_Nuxt/decisions/dev-container-shape.md). The digest is the
|
||||||
# runner's arm64 and this workstation's x86_64.
|
# multi-platform OCI INDEX, not a platform manifest: the previous pin was
|
||||||
|
# the linux/amd64 manifest digest, so `--platform linux/arm64` on the arm64
|
||||||
|
# runner failed instantly with "no matching manifest for linux/arm64".
|
||||||
|
# Index digest verified 2026-10-31 to contain linux/amd64 and linux/arm64/v8.
|
||||||
# syntax: no BuildKit-only features used, so the default frontend suffices.
|
# syntax: no BuildKit-only features used, so the default frontend suffices.
|
||||||
|
|
||||||
FROM node:26-slim@sha256:18f03e4b532a63baf09809fe8349c2171807f1818cb6c5230fb12aecd5beda65 AS build
|
FROM node:26-slim@sha256:5adad64f9a1fca2d51972caa65983634c8a774eb300d72b20f7f2a0f60368072 AS build
|
||||||
|
|
||||||
# pnpm pinned to the same version as CI (pr-checker.yml pins major 11) and
|
# pnpm pinned to the same version as CI (pr-checker.yml pins major 11) and
|
||||||
# the local toolchain (11.26.0). Installed via npm from the node image - no
|
# the local toolchain (11.26.0). Installed via npm from the node image - no
|
||||||
@@ -38,7 +41,7 @@ COPY . .
|
|||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|
||||||
|
|
||||||
FROM node:26-slim@sha256:18f03e4b532a63baf09809fe8349c2171807f1818cb6c5230fb12aecd5beda65
|
FROM node:26-slim@sha256:5adad64f9a1fca2d51972caa65983634c8a774eb300d72b20f7f2a0f60368072
|
||||||
|
|
||||||
# pnpm is NOT installed in the runtime image: nothing here runs pnpm.
|
# pnpm is NOT installed in the runtime image: nothing here runs pnpm.
|
||||||
ENV NODE_ENV=production \
|
ENV NODE_ENV=production \
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM node:26-slim@sha256:18f03e4b532a63baf09809fe8349c2171807f1818cb6c5230fb12aecd5beda65
|
FROM node:26-slim@sha256:5adad64f9a1fca2d51972caa65983634c8a774eb300d72b20f7f2a0f60368072
|
||||||
|
|
||||||
# Node no longer bundles pnpm (corepack and pnpm are both absent from this
|
# Node no longer bundles pnpm (corepack and pnpm are both absent from this
|
||||||
# image), so install it. First instruction, so later changes reuse the layer.
|
# image), so install it. First instruction, so later changes reuse the layer.
|
||||||
|
|||||||
@@ -34,6 +34,17 @@ the gateway must now **proxy to this server** instead of embedding
|
|||||||
`.output/public/`. That sibling decision needs updating; the compose wiring
|
`.output/public/`. That sibling decision needs updating; the compose wiring
|
||||||
is still open.
|
is still open.
|
||||||
|
|
||||||
|
# The arm64 digest lesson (2026-10-31)
|
||||||
|
|
||||||
|
The first real release (`v1.5.0`, `v1.5.1`) failed at `Build image` after one
|
||||||
|
second: the pinned `sha256:18f03e4b...` was the **linux/amd64 platform
|
||||||
|
manifest**, not the multi-platform index, so `docker build --platform
|
||||||
|
linux/arm64` on the arm64 runner found no arm64 entry. The base is now
|
||||||
|
pinned to the OCI **index** digest (`sha256:e4db4c91...`, contains
|
||||||
|
linux/amd64 and linux/arm64/v8). Rule: a digest pin for a multi-arch image
|
||||||
|
must be the index digest; `docker buildx imagetools inspect` prints both,
|
||||||
|
and the platform manifests carry a `Platform:` line.
|
||||||
|
|
||||||
# Why `--ignore-scripts`
|
# Why `--ignore-scripts`
|
||||||
|
|
||||||
The `postinstall` script (`nuxt prepare`) runs before the source is copied
|
The `postinstall` script (`nuxt prepare`) runs before the source is copied
|
||||||
|
|||||||
@@ -142,6 +142,25 @@ appears in the process list or the log.
|
|||||||
4. Namespace `cv` has an `imagePullSecret` for the same credentials.
|
4. Namespace `cv` has an `imagePullSecret` for the same credentials.
|
||||||
5. `git.noelsabia.dev` answers over HTTPS.
|
5. `git.noelsabia.dev` answers over HTTPS.
|
||||||
|
|
||||||
|
# Manual rehearsal (workflow_dispatch)
|
||||||
|
|
||||||
|
The workflow can be started from the Gitea UI (Actions → Publish image →
|
||||||
|
Run workflow) without creating a tag:
|
||||||
|
|
||||||
|
| Input | Use |
|
||||||
|
|---|---|
|
||||||
|
| `version` | required, `vMAJOR.MINOR.PATCH` |
|
||||||
|
| `push` | `false` (default) builds and smoke-tests only; `true` publishes |
|
||||||
|
| `latest` | `false` unless this is a real release |
|
||||||
|
|
||||||
|
A build-only run publishes nothing, so it creates no package version and
|
||||||
|
the immutability guard is skipped. This is the way to prove the runner,
|
||||||
|
socket and registry login before the first release - a rehearsal must never
|
||||||
|
move `latest`, which is why that input is explicit.
|
||||||
|
|
||||||
|
Gitea only offers the Run-workflow button for workflows present on the
|
||||||
|
default branch, so this trigger is available once the change is on `main`.
|
||||||
|
|
||||||
# Guards in the workflow
|
# Guards in the workflow
|
||||||
|
|
||||||
| Guard | Why |
|
| Guard | Why |
|
||||||
|
|||||||
@@ -175,10 +175,38 @@ component is empty. `include-component-in-tag: false` makes
|
|||||||
`package-name` - here `CV_Site_Frontend`. The two never match, so the
|
`package-name` - here `CV_Site_Frontend`. The two never match, so the
|
||||||
release is dropped before the tag is created.
|
release is dropped before the tag is created.
|
||||||
|
|
||||||
The fix is to remove `package-name` from the package config. The strategy
|
Removing `package-name` is not enough. Run 183 (after #36 merged) shows
|
||||||
component is then empty as well, the comparison matches, and the tag is
|
the node strategy falling back to the `package.json` name:
|
||||||
created. Nothing else changes: the changelog headings are already
|
|
||||||
version-only (`## [1.5.0]`), not component-prefixed.
|
```
|
||||||
|
⚠ PR component: undefined does not match configured component: nuxt-app
|
||||||
|
```
|
||||||
|
|
||||||
|
`BaseStrategy.getDefaultPackageName()` is overridden by the node strategy
|
||||||
|
to read `package.json` `name`, so an absent `package-name` resolves to
|
||||||
|
`nuxt-app`.
|
||||||
|
|
||||||
|
The working setting is `"package-name": ""` (an empty string, not an
|
||||||
|
omitted key). An empty string is not nullish, so `getBranchComponent()`
|
||||||
|
returns empty and matches the legacy default branch
|
||||||
|
`release-please--branches--main`. This was verified by running the
|
||||||
|
action's bundled release-please 16.15.6 locally against the live Gitea
|
||||||
|
API, with writes intercepted: the release phase produced
|
||||||
|
|
||||||
|
```
|
||||||
|
POST /repos/CV_Website/CV_Site_Nuxt/releases
|
||||||
|
{"name":"v1.5.0","tag_name":"v1.5.0",...,"target_commitish":"a80c9ebf..."}
|
||||||
|
```
|
||||||
|
|
||||||
|
then swapped #35 to `autorelease: tagged`. That is release-please creating
|
||||||
|
the tag itself, not a manual `git tag`.
|
||||||
|
|
||||||
|
The action's official default mode (`release-type: node`, no manifest
|
||||||
|
config) was tested the same way and still fails for #35 with
|
||||||
|
`configured component: nuxt-app`. It cannot retroactively accept the
|
||||||
|
already-merged legacy PR; it would only help a release PR created after
|
||||||
|
the switch. The empty `package-name` is therefore the compatibility
|
||||||
|
setting that lets release-please finish v1.5.0.
|
||||||
|
|
||||||
# Recovering the versions that never got a tag
|
# Recovering the versions that never got a tag
|
||||||
|
|
||||||
@@ -204,9 +232,10 @@ whole history.
|
|||||||
|
|
||||||
# Not verified
|
# Not verified
|
||||||
|
|
||||||
* That the release phase now tags #35 after the component fix. The previous
|
* That the live run tags #35. The exact release-phase request was verified
|
||||||
run (181) kept the branch but dropped the release on the component
|
locally with writes intercepted (`POST /releases` with `tag_name:
|
||||||
mismatch, so the next run is the proof.
|
v1.5.0` at `a80c9eb`); the run after merging the empty `package-name` is
|
||||||
|
the final proof.
|
||||||
* That the reconcile step's tag-creation fallback works with a live
|
* That the reconcile step's tag-creation fallback works with a live
|
||||||
token. Only the tag-already-exists path was exercised, in dry-run,
|
token. Only the tag-already-exists path was exercised, in dry-run,
|
||||||
against the live PR #22. The fallback is written from the same Gitea
|
against the live PR #22. The fallback is written from the same Gitea
|
||||||
|
|||||||
@@ -1,5 +1,17 @@
|
|||||||
# Update Log
|
# Update Log
|
||||||
|
|
||||||
|
## 2026-10-31 (first release builds failed: pinned the amd64 manifest)
|
||||||
|
|
||||||
|
* **Fix**: [Dockerfile](../Dockerfile) and [Dockerfile.dev](../Dockerfile.dev) - the base digest `sha256:18f03e4b...` was the **linux/amd64 platform manifest**, so `docker build --platform linux/arm64` on the arm64 runner failed at `Build image` one second after the step started (run 157, v1.5.1; run 153, v1.5.0). Both now pin the multi-platform OCI **index** digest `sha256:e4db4c91...`, verified with `docker buildx imagetools inspect` to contain linux/amd64 and linux/arm64/v8. See [Production image shape](decisions/production-image.md).
|
||||||
|
* **Detail**: checkout, Docker CLI install, `Check daemon access`, registry login, the immutability guard and version resolution all passed - the runner and registry setup were correct; only the base image pin was wrong.
|
||||||
|
|
||||||
|
## 2026-10-31 (release-please tag: empty package-name is the verified fix)
|
||||||
|
|
||||||
|
* **Correction**: removing `package-name` in #36 was not enough. Run 183 shows the node strategy falling back to `package.json` `name`, so the release phase still failed with `PR component: undefined does not match configured component: nuxt-app`.
|
||||||
|
* **Fix**: [release-please-config.json](../release-please-config.json) sets `"package-name": ""`. An empty string is not nullish, so `getBranchComponent()` stays empty and matches the legacy `release-please--branches--main` branch. This is the only setting that lets release-please accept the already-merged #35.
|
||||||
|
* **Evidence**: the action's bundled release-please 16.15.6 was run locally against the live Gitea API with writes intercepted. It produced `POST /repos/CV_Website/CV_Site_Nuxt/releases` with `{"name":"v1.5.0","tag_name":"v1.5.0","target_commitish":"a80c9ebf..."}`, then swapped #35 to `autorelease: tagged`. The official default `release-type: node` mode was tested the same way and still fails for #35 with `configured component: nuxt-app`, so it cannot retroactively tag the legacy PR.
|
||||||
|
* **Expected result**: the run after this merge creates `v1.5.0` at `a80c9eb` through the release-please action itself. No manual `git tag`.
|
||||||
|
|
||||||
## 2026-10-31 (release-please component mismatch: no v1.5.0 tag)
|
## 2026-10-31 (release-please component mismatch: no v1.5.0 tag)
|
||||||
|
|
||||||
* **Fix**: [release-please-config.json](../release-please-config.json) - removed `package-name: CV_Site_Frontend`. With `include-component-in-tag: false` the strategy component and the release PR body component are empty, but `getBranchComponent()` still returned `package-name`; the release phase logged `PR component: undefined does not match configured component: CV_Site_Frontend` and returned before creating the tag. The component now matches, so the next run should tag #35.
|
* **Fix**: [release-please-config.json](../release-please-config.json) - removed `package-name: CV_Site_Frontend`. With `include-component-in-tag: false` the strategy component and the release PR body component are empty, but `getBranchComponent()` still returned `package-name`; the release phase logged `PR component: undefined does not match configured component: CV_Site_Frontend` and returned before creating the tag. The component now matches, so the next run should tag #35.
|
||||||
@@ -47,6 +59,10 @@
|
|||||||
* **Creation**: `deploy/pr-agent/` (later removed; the service now lives in the Gitea compose stack) - compose service, example environment and operator README. The real `.env` lived only at `/home/noel/self-hosted/pr-agent/.env` (mode 600) on `server0`.
|
* **Creation**: `deploy/pr-agent/` (later removed; the service now lives in the Gitea compose stack) - compose service, example environment and operator README. The real `.env` lived only at `/home/noel/self-hosted/pr-agent/.env` (mode 600) on `server0`.
|
||||||
* **State**: the container is running and the webhook signature path is verified. Gitea gained `[webhook] ALLOWED_HOST_LIST = private:3000` (one restart, healthy) and the repository has a signed webhook. The OpenCode Go API key was still missing at commit time, so no model call or real review has run yet.
|
* **State**: the container is running and the webhook signature path is verified. Gitea gained `[webhook] ALLOWED_HOST_LIST = private:3000` (one restart, healthy) and the repository has a signed webhook. The OpenCode Go API key was still missing at commit time, so no model call or real review has run yet.
|
||||||
|
|
||||||
|
## 2026-10-31 (manual publish rehearsal without a tag)
|
||||||
|
|
||||||
|
* **Creation**: [publish-image.yml](../.gitea/workflows/publish-image.yml) gained `workflow_dispatch` with `version`, `push` and `latest` inputs. Default is **build + smoke test only** (`push=false`): no tag, no package version, immutability guard skipped, `latest` never moved unless explicitly requested. Use it to verify the `publish` runner (socket + `automount`) before the first release. Manual runs do not replace the tag path - a published image still always maps to a release tag.
|
||||||
|
|
||||||
## 2026-10-31 (audit green again: nuxt 4.6.3 and dependency overrides)
|
## 2026-10-31 (audit green again: nuxt 4.6.3 and dependency overrides)
|
||||||
|
|
||||||
* **Fix**: `pnpm audit --prod --audit-level moderate` failed on every branch (#30, #31, #33 and this PR) - new advisories plus a Nuxt patch release. `nuxt` 4.6.2 -> **4.6.3** clears GHSA-9v7c-q64q-vv33 (dot-segment middleware bypass), GHSA-3xf4-9g3c-4h4w and GHSA-x287-wcfc-q46c (dev-server file read/runtime config).
|
* **Fix**: `pnpm audit --prod --audit-level moderate` failed on every branch (#30, #31, #33 and this PR) - new advisories plus a Nuxt patch release. `nuxt` 4.6.2 -> **4.6.3** clears GHSA-9v7c-q64q-vv33 (dot-segment middleware bypass), GHSA-3xf4-9g3c-4h4w and GHSA-x287-wcfc-q46c (dev-server file read/runtime config).
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nuxt-app",
|
"name": "nuxt-app",
|
||||||
"version": "1.5.0",
|
"version": "1.5.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
Generated
+1291
-1298
File diff suppressed because it is too large.
Load diff
+9
-4
@@ -26,23 +26,23 @@ overrides:
|
|||||||
# already in the tree via postcss-nesting and is API-compatible. Remove
|
# already in the tree via postcss-nesting and is API-compatible. Remove
|
||||||
# the override when tailwindcss ships >= 7.1.6 itself (or the site moves
|
# the override when tailwindcss ships >= 7.1.6 itself (or the site moves
|
||||||
# to Tailwind v4).
|
# to Tailwind v4).
|
||||||
postcss-selector-parser: 7.1.6
|
postcss-selector-parser: 7.1.7
|
||||||
# GHSA-f86p-h4j2-7qgj and GHSA-9wx9-5pv9-3349 (moderate, 2026-10-30):
|
# GHSA-f86p-h4j2-7qgj and GHSA-9wx9-5pv9-3349 (moderate, 2026-10-30):
|
||||||
# seroval < 1.6.11 allows code/script injection through serialized output.
|
# seroval < 1.6.11 allows code/script injection through serialized output.
|
||||||
# Nuxt's vite-builder still resolves 1.6.9; the patched 1.6.11 is the
|
# Nuxt's vite-builder still resolves 1.6.9; the patched 1.6.11 is the
|
||||||
# smallest version that clears both advisories. Remove this when Nuxt ships
|
# smallest version that clears both advisories. Remove this when Nuxt ships
|
||||||
# a vite-builder that resolves >= 1.6.11 itself.
|
# a vite-builder that resolves >= 1.6.11 itself.
|
||||||
seroval: 1.6.11
|
seroval: 1.7.9
|
||||||
# GHSA-g3hv-75wg-m249 (moderate, 2026-10-31): minimatch < 11.0.1 has a
|
# GHSA-g3hv-75wg-m249 (moderate, 2026-10-31): minimatch < 11.0.1 has a
|
||||||
# globparts amplification DoS. Deliberately NOT overridden - see the
|
# globparts amplification DoS. Deliberately NOT overridden - see the
|
||||||
# auditConfig ignore note above.
|
# auditConfig ignore note above.
|
||||||
# GHSA-3g3m-2fjr-6pw4 (moderate, 2026-10-31): glob 9.0.0-14.0.1 bypasses
|
# GHSA-3g3m-2fjr-6pw4 (moderate, 2026-10-31): glob 9.0.0-14.0.1 bypasses
|
||||||
# AbortSignal cancellation. Patched in 14.0.2; the range keeps glob 7 for
|
# AbortSignal cancellation. Patched in 14.0.2; the range keeps glob 7 for
|
||||||
# tailwind-config-viewer.
|
# tailwind-config-viewer.
|
||||||
"glob@>=9.0.0 <=14.0.1": 14.0.2
|
"glob@>=9.0.0 <=14.0.1": 14.0.4
|
||||||
# node-forge 1.4.1 shipped (2026-10-31) and clears every node-forge
|
# node-forge 1.4.1 shipped (2026-10-31) and clears every node-forge
|
||||||
# advisory that was previously ignored - no ignore needed anymore.
|
# advisory that was previously ignored - no ignore needed anymore.
|
||||||
node-forge: 1.4.1
|
node-forge: 1.4.3
|
||||||
minimumReleaseAgeExclude:
|
minimumReleaseAgeExclude:
|
||||||
- '@rollup/rollup-darwin-x64@4.64.8'
|
- '@rollup/rollup-darwin-x64@4.64.8'
|
||||||
- '@rollup/rollup-freebsd-arm64@4.64.8'
|
- '@rollup/rollup-freebsd-arm64@4.64.8'
|
||||||
@@ -56,3 +56,8 @@ minimumReleaseAgeExclude:
|
|||||||
- '@rollup/rollup-openharmony-arm64@4.64.8'
|
- '@rollup/rollup-openharmony-arm64@4.64.8'
|
||||||
- '@rollup/rollup-win32-ia32-msvc@4.64.8'
|
- '@rollup/rollup-win32-ia32-msvc@4.64.8'
|
||||||
- '@nuxt/icon@2.6.0'
|
- '@nuxt/icon@2.6.0'
|
||||||
|
permissions:
|
||||||
|
'@nuxtjs/seo':
|
||||||
|
skills:
|
||||||
|
dirs:
|
||||||
|
- .agents/skills
|
||||||
@@ -6,6 +6,7 @@
|
|||||||
"changelog-host": "https://git.noelsabia.dev",
|
"changelog-host": "https://git.noelsabia.dev",
|
||||||
"packages": {
|
"packages": {
|
||||||
".": {
|
".": {
|
||||||
|
"package-name": "",
|
||||||
"changelog-path": "CHANGELOG.md",
|
"changelog-path": "CHANGELOG.md",
|
||||||
"extra-files": [],
|
"extra-files": [],
|
||||||
"versioning": "default"
|
"versioning": "default"
|
||||||
|
|||||||
Reference in new issue
Block a user