From ab3f560d4afd17dbfebb123c620dcb85e19d7447 Mon Sep 17 00:00:00 2001 From: byrsapty Date: Thu, 23 Jul 2026 03:33:23 +0300 Subject: [PATCH] CI: pass GRAYLOG_ADMIN_PASSWORD through deploy-from-scratch.yml too deploy.yml already forwarded this secret; deploy-from-scratch.yml didn't, so a re-run against an already-initialized Graylog (one-time credentials file already consumed by an earlier successful run) died at resolve_admin_password with "Cannot find admin password" - confirmed live. Co-Authored-By: Claude Sonnet 5 --- .forgejo/workflows/deploy-from-scratch.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.forgejo/workflows/deploy-from-scratch.yml b/.forgejo/workflows/deploy-from-scratch.yml index 2aeae47..fa32946 100644 --- a/.forgejo/workflows/deploy-from-scratch.yml +++ b/.forgejo/workflows/deploy-from-scratch.yml @@ -19,6 +19,13 @@ jobs: env: CI_TOKEN: ${{ secrets.GITHUB_TOKEN }} DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} + # Only used on a re-run after the one-time credentials file was + # already consumed by an earlier successful run (fresh installs + # generate their own password and don't need this). Without it, + # a repeat run of this workflow against an already-initialized + # Graylog dies at resolve_admin_password with "Cannot find admin + # password" - confirmed live. + GRAYLOG_ADMIN_PASSWORD: ${{ secrets.GRAYLOG_ADMIN_PASSWORD }} run: | rm -rf /tmp/graylog-deploy-ci-host git clone --depth 1 --branch main "https://x-access-token:${CI_TOKEN}@git.zotac.keenetic.link/zotac/graylog-deploy.git" /tmp/graylog-deploy-ci-host