Skip to content
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
4 changes: 4 additions & 0 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,12 @@ jobs:
- name: Start the portal and wait for it to answer
run: |
secret_key=$(head -c 48 /dev/urandom | od -An -tx1 | tr -d ' \n')
# FairDM refuses to start in production without a backup key. This one lasts the run.
gpg --batch --passphrase '' --quick-generate-key portal-ci@example.invalid
backup_key=$(gpg --armor --export portal-ci@example.invalid)
docker run -d --name portal --network host \
-e DJANGO_SECRET_KEY="$secret_key" \
-e BACKUP_PUBLIC_KEY="$backup_key" \
-e DJANGO_SITE_DOMAIN=localhost \
-e POSTGRES_HOST=localhost -e POSTGRES_PORT=5432 \
-e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=portal \
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ All notable changes to this repository are recorded here. The format follows

## [Unreleased]

### Fixed

- The image workflow starts the portal with a backup key made for the run. FairDM 0.3 refuses to
start in production without `BACKUP_PUBLIC_KEY`, so every portal on it failed this check.

## [v0.1.0] - 2026-10-19

### Added
Expand Down
Loading