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 <noreply@anthropic.com>
This commit is contained in:
parent
7274cee1eb
commit
ab3f560d4a
1 changed files with 7 additions and 0 deletions
|
|
@ -19,6 +19,13 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CI_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
CI_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
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: |
|
run: |
|
||||||
rm -rf /tmp/graylog-deploy-ci-host
|
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
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue