fix(release): use portable mktemp templates #79

Merged
simon merged 1 commit from fix/customer-bundle-portable-mktemp into main 2026-05-24 07:40:15 +00:00
Owner

Summary

  • install customer-bundle validation tools with sudo when Forgejo's host executor runs unprivileged
  • replace customer-bundle-facing mktemp -t patterns with BusyBox-compatible templates
  • handle tokenless licence public-key fetches under bash strict mode
  • make start.sh tolerate CI images without ip or ifconfig
  • mock id -u in installer tests so root host-executor containers do not invalidate installer behavior tests

Validation

  • tokenless licence key fetch smoke test
  • bash deploy/scripts/test-install.sh
  • bash deploy/scripts/test-password-manager-startup.sh
  • bash deploy/scripts/test-upgrade.sh
  • bash deploy/scripts/test-support-data.sh
  • bash deploy/scripts/test-forgejo-web-release.sh
  • bash deploy/scripts/test-forgejo-bundle-release.sh
  • docker run ghcr.io/catthehacker/ubuntu:act-latest with fetch, installer, and startup tests
  • docker run alpine:3.22 with fetch, installer, startup, upgrade, support-data, and Forgejo release script tests
## Summary - install customer-bundle validation tools with sudo when Forgejo's host executor runs unprivileged - replace customer-bundle-facing mktemp -t patterns with BusyBox-compatible templates - handle tokenless licence public-key fetches under bash strict mode - make start.sh tolerate CI images without ip or ifconfig - mock id -u in installer tests so root host-executor containers do not invalidate installer behavior tests ## Validation - tokenless licence key fetch smoke test - bash deploy/scripts/test-install.sh - bash deploy/scripts/test-password-manager-startup.sh - bash deploy/scripts/test-upgrade.sh - bash deploy/scripts/test-support-data.sh - bash deploy/scripts/test-forgejo-web-release.sh - bash deploy/scripts/test-forgejo-bundle-release.sh - docker run ghcr.io/catthehacker/ubuntu:act-latest with fetch, installer, and startup tests - docker run alpine:3.22 with fetch, installer, startup, upgrade, support-data, and Forgejo release script tests
fix(release): use portable mktemp templates
Some checks failed
Conventional PR title / Conventional PR title (pull_request) Successful in 0s
CI Policy / Workflow runner policy (pull_request) Successful in 6s
Customer bundle check / validate (pull_request) Successful in 14s
Secret Scan / gitleaks (pull_request) Successful in 15s
SAST / crypto-lint (no weak hashes / ciphers) (pull_request) Successful in 1m7s
SAST / semgrep (pull_request) Successful in 1m11s
SAST / trivy (config / IaC) (pull_request) Failing after 1m25s
SAST / trivy (filesystem) (pull_request) Failing after 1m26s
SAST / gosec (ingest) (pull_request) Successful in 1m31s
SAST / gosec (agent) (pull_request) Successful in 1m31s
affad03e52
simon merged commit 653d293f9e into main 2026-05-24 07:40:15 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carrtech/ct-ops!79
No description provided.