fix: remove plaintext runner secret during migration
Homelab Main / validate (push) Waiting to run Details
Homelab Main / running-update (push) Blocked by required conditions Details
Homelab Main / debian-ops (push) Blocked by required conditions Details

This commit is contained in:
juvenal.diaz 2026-10-02 08:09:40 -06:00
parent f475472c0e
commit 87a1c70fea
1 changed files with 3 additions and 1 deletions

View File

@ -405,9 +405,11 @@ migrate_gitea_runner_secret_file() {
rm -f "${tmp_file}" rm -f "${tmp_file}"
chmod 600 "${secret_file}" chmod 600 "${secret_file}"
rm -f "${plain_file}"
echo "Created SOPS-encrypted Gitea runner secret at ${secret_file}." echo "Created SOPS-encrypted Gitea runner secret at ${secret_file}."
echo "Remove ${plain_file} from git after committing ${secret_file}." echo "Removed plaintext Gitea runner secret ${plain_file}."
echo "Commit ${secret_file} and the ${plain_file} deletion after validating the deployment."
} }
apply_gitea_runner_secret_file() { apply_gitea_runner_secret_file() {