Skip to content

About

No description or website provided.

Topics

Resources

Code of conduct

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Release notes

This repo receives deployment details from Argo CD, which is then used to build https://release.digdir.no/

Getting started

  1. Install Hugo
  2. Clone the repo
  3. Run npm install to install dependencies

Development

Run local server: hugo serve

Build site with: hugo

Automatic release publishing

Release notes are approved, merged and published automatically, with retries for temporary failures and branch protection preserved.

Day detail pages share a partialCached index of release notes by date in Europe/Oslo, environment and product, avoiding a full-site scan for every day page. To measure build performance, run hugo --templateMetrics --templateMetricsHints.

When a release introduces a new day/product route, restart hugo serve to refresh pages generated by the content adapter. Existing day details update during live rebuilds; a normal hugo build always generates all routes.

Structure

content/
├── prod-releases/             # Aggregate page: all prod releases across all products
├── test-releases/             # Aggregate page: all test releases across all products
└── {product}/
    ├── _index.md              # Product section (title, sidebar entry)
    ├── prod-releases/
    │   ├── _index.md
    │   └── {app}-{sha}.md
    └── test-releases/
        ├── _index.md
        └── {app}-{sha}.md

The top-level prod-releases/ and test-releases/ are aggregate pages that collect all release notes across every product for that environment, displayed on a single paginated page.

Products and environment folders are created automatically by the workflow on the first incoming event. kt is mapped to test. Products are sorted alphabetically in the sidebar.

Each {env}-releases/_index.md is empty but required — Hugo needs it to register the folder as a section, which enables the environment filter buttons (Test / Produksjon) on the product page.

The default display name is the product slug. To use a better name, update title in the product's _index.md:

---
title: ID-porten
menu:
  sidebar:
---

About

No description or website provided.

Topics

Resources

Code of conduct

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages