Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Hugo to 0.120.4 #13

Merged
merged 2 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
group: "pages" # Allow one concurrent deployment
cancel-in-progress: true
env:
HUGO_VERSION: 0.115.4
HUGO_VERSION: 0.120.4
BASE_URL: https://qonto.github.io/database-monitoring-framework
environment:
name: github-pages
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '3.1'
services:
hugo:
image: klakegg/hugo:0.111.0-ext-ubuntu
command: server -D --poll 700ms
image: hugomods/hugo:${HUGO_VERSION-git-0.120.4}
qfritz marked this conversation as resolved.
Show resolved Hide resolved
command: hugo server -D --bind 0.0.0.0 --poll 700ms
volumes:
- ".:/src"
ports:
Expand Down
27 changes: 27 additions & 0 deletions docs/hugo-upgrade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Hugo upgrade

[Hugo](https://github.com/gohugoio/hugo) engine is frequently updated by the team to add features or bug fixes.

Here is the process to upgrade Hugo:

1. Test new Hugo version locally

1. Launch Hugo with new version:

```bash
export HUGO_VERSION=<new_version>
docker compose up
```

1. Check website rendering on <http://localhost:1313>

Checklist:

- Check runbook (including SQL rendering) in runbook (e.g. `PostgreSQLInactiveLogicalReplicationSlot` runbook)
- Check tabs are correctly rendered in tutorials (e.g. `RDS exporter deployment`)
- Check search engine
- Check "last update" information in page footer

1. Upgrade Hugo version for local development environment in `docker-compose.yaml`

1. Upgrade Hugo version for CI in `.github/workflows/release.yaml`