Commit Graph
2 Commits
Author SHA1 Message Date
claudeandClaude Sonnet 4.6 be7671b55b fix: fix backup CronJob template bugs
Helm Chart Release / release-chart (push) Successful in 4s
- Fix MYSQL_HOST/PORT: were referencing non-existent .Values.backup.mysql.host/port;
  now correctly read from .Values.phpmyadmin.hosts[0] as documented in README
- Remove broken BACKUP_TIMESTAMP env var (shell command substitution does not
  execute in k8s env vars; timestamp is already defined inside the script)
- Fix NFS readOnly: was always outputting "readOnly: false" even when
  .Values.backup.nfs.readOnly was true; now renders the actual value
- Add MYSQL_HISTFILE=/dev/null to prevent mysql client from writing history
  file when readOnlyRootFilesystem: true
- Fix variable name collision: renamed shell var DATABASES -> DB_LIST in the
  all-databases branch to avoid conflict with the DATABASES env var
- Use /bin/bash (available in mysql:8.0 Debian image) for set -euo pipefail
  and local keyword support
- Split retention find into separate *.sql and *.sql.gz patterns
- Add -mindepth 1 to empty dir cleanup to avoid removing the root backup dir

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-28 08:04:30 +09:00
claudeandClaude Sonnet 4.6 85a22e4d34 fix: fix Helm release workflow and add CLAUDE.md
Helm Chart Release / release-chart (push) Successful in 5s
Update Docker Image Tags and Release Helm Chart / update-and-release (push) Successful in 9s
- Replace broken helmchart/repo checkout+index.yaml approach with
  Gitea Package Registry upload (matching phpfpm pattern)
- Fix release condition: release only on phpMyAdmin update, not nginx-only
- Add release_needed output separate from update_needed
- Add duplicate tag/release guard before creation
- Add jq availability check
- Add env vars REGISTRY_URL and OWNER
- Fix git user to Claude / claude@cafepieters.com
- Add CLAUDE.md with git info, release rules, and PHP runtime note

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 11:43:01 +09:00