Files
hack/tools/scripts/llm-key-hunter/results/_cache/content/acuhlmann_hackersbot.json
T

1 line
13 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"repo": "acuhlmann/hackersbot", "files": {".github/workflows/deploy.yml": {"0da17977c092ab74e8879bffd999001260e948f5": {"t": 1785745252.4128733, "n": 2637, "h": "d17151a1461d2a3b", "c": "name: Deploy to GCP VM\n\non:\n # Trigger deployment after test suite completes successfully\n workflow_run:\n workflows: [\"Python application\"]\n types:\n - completed\n branches:\n - main\n - master\n # Allow manual deployment trigger\n workflow_dispatch:\n\njobs:\n deploy:\n # Only deploy if:\n # 1. Tests passed (workflow_run) - must be on main/master branch, OR\n # 2. Manual workflow dispatch\n if: |\n (github.event_name == 'workflow_run' && \n github.event.workflow_run.conclusion == 'success' &&\n (github.event.workflow_run.head_branch == 'main' || \n github.event.workflow_run.head_branch == 'master')) ||\n github.event_name == 'workflow_dispatch'\n \n runs-on: ubuntu-latest\n \n steps:\n # Use the same commit that triggered the test workflow\n - name: Checkout code\n uses: actions/checkout@v4\n with:\n # For workflow_run: use the commit SHA from the test workflow\n # For push/manual dispatch: use current commit SHA\n ref: ${{ github.event.workflow_run.head_sha || github.sha }}\n \n - name: Authenticate to Google Cloud\n uses: google-github-actions/auth@v2\n with:\n credentials_json: ${{ secrets.GCP_SA_KEY }}\n \n - name: Set up Cloud SDK\n uses: google-github-actions/setup-gcloud@v2\n with:\n project_id: photogroup-215600\n \n - name: Deploy application with Docker\n run: |\n chmod +x deploy-docker.sh\n ./deploy-docker.sh\n timeout-minutes: 15\n env:\n ZONE: us-central1-a\n INSTANCE: hn-vm\n PROJECT: photogroup-215600\n DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}\n - name: Deployment troubleshooting (on failure)\n if: failure()\n run: |\n echo \"::group::Deploy failed – common fixes\"\n echo \"• IAP 4033 'not authorized': Grant the GCP_SA_KEY service account role: roles/iap.tunnelResourceAccessor\"\n echo \" See README → Deploy (GCP) → troubleshooting\"\n echo \"• Disk full on VM: SSH to VM and run: sudo docker image prune -af\"\n echo \"• Run SSH diagnose: gcloud compute ssh hn-vm --project=photogroup-215600 --zone=us-central1-a --troubleshoot 2>&1 || true\"\n echo \"::endgroup::\"\n \n - name: Deployment summary\n run: |\n echo \"✅ Deployment completed successfully!\"\n echo \"Instance: hn-vm\"\n echo \"Zone: us-central1-a\"\n echo \"Project: photogroup-215600\"\n echo \"Deployment method: Docker\"\n echo \"URL: https://hackernews.photogroup.network\"\n\n"}, "778cfa7fb0c74b7b2aa19fbefbec0be15eeaf76d": {"t": 1785749269.9078748, "n": 2652, "h": "9f8d1aeb12eee4da", "c": "name: Deploy to GCP VM\n\non:\n # Trigger deployment after test suite completes successfully\n workflow_run:\n workflows: [\"Python application\"]\n types:\n - completed\n branches:\n - main\n - master\n # Allow manual deployment trigger\n workflow_dispatch:\n\njobs:\n deploy:\n # Only deploy if:\n # 1. Tests passed (workflow_run) - must be on main/master branch, OR\n # 2. Manual workflow dispatch\n if: |\n (github.event_name == 'workflow_run' && \n github.event.workflow_run.conclusion == 'success' &&\n (github.event.workflow_run.head_branch == 'main' || \n github.event.workflow_run.head_branch == 'master')) ||\n github.event_name == 'workflow_dispatch'\n \n runs-on: ubuntu-latest\n \n steps:\n # Use the same commit that triggered the test workflow\n - name: Checkout code\n uses: actions/checkout@v4\n with:\n # For workflow_run: use the commit SHA from the test workflow\n # For push/manual dispatch: use current commit SHA\n ref: ${{ github.event.workflow_run.head_sha || github.sha }}\n \n - name: Authenticate to Google Cloud\n uses: google-github-actions/auth@v2\n with:\n credentials_json: ${{ secrets.GCP_SA_KEY }}\n \n - name: Set up Cloud SDK\n uses: google-github-actions/setup-gcloud@v2\n with:\n project_id: photogroup-215600\n \n - name: Deploy application with Docker\n run: |\n chmod +x deploy-docker.sh\n ./deploy-docker.sh\n timeout-minutes: 15\n env:\n ZONE: asia-east2-a\n INSTANCE: main\n PROJECT: photogroup-215600\n DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}\n - name: Deployment troubleshooting (on failure)\n if: failure()\n run: |\n echo \"::group::Deploy failed – common fixes\"\n echo \"• IAP 4033 'not authorized': Grant the GCP_SA_KEY service account role: roles/iap.tunnelResourceAccessor\"\n echo \" See README → Deploy (GCP) → troubleshooting\"\n echo \"• Disk full on VM: SSH to VM and run: sudo docker image prune -af\"\n echo \"• Run SSH diagnose: gcloud compute ssh main --project=photogroup-215600 --zone=asia-east2-a --troubleshoot --tunnel-through-iap 2>&1 || true\"\n echo \"::endgroup::\"\n \n - name: Deployment summary\n run: |\n echo \"✅ Deployment completed successfully!\"\n echo \"Instance: main\"\n echo \"Zone: asia-east2-a\"\n echo \"Project: photogroup-215600\"\n echo \"Deployment method: Docker\"\n echo \"URL: https://hackernews.photogroup.network\"\n\n"}, "480570c6f76444df057d7a1b67f70542ffe7d8d8": {"t": 1785749270.9900439, "n": 2654, "h": "330a438704da4d89", "c": "name: Deploy to GCP VM\n\non:\n # Trigger deployment after test suite completes successfully\n workflow_run:\n workflows: [\"Python application\"]\n types:\n - completed\n branches:\n - main\n - master\n # Allow manual deployment trigger\n workflow_dispatch:\n\njobs:\n deploy:\n # Only deploy if:\n # 1. Tests passed (workflow_run) - must be on main/master branch, OR\n # 2. Manual workflow dispatch\n if: |\n (github.event_name == 'workflow_run' && \n github.event.workflow_run.conclusion == 'success' &&\n (github.event.workflow_run.head_branch == 'main' || \n github.event.workflow_run.head_branch == 'master')) ||\n github.event_name == 'workflow_dispatch'\n \n runs-on: ubuntu-latest\n \n steps:\n # Use the same commit that triggered the test workflow\n - name: Checkout code\n uses: actions/checkout@v4\n with:\n # For workflow_run: use the commit SHA from the test workflow\n # For push/manual dispatch: use current commit SHA\n ref: ${{ github.event.workflow_run.head_sha || github.sha }}\n \n - name: Authenticate to Google Cloud\n uses: google-github-actions/auth@v2\n with:\n credentials_json: ${{ secrets.GCP_SA_KEY }}\n \n - name: Set up Cloud SDK\n uses: google-github-actions/setup-gcloud@v2\n with:\n project_id: photogroup-215600\n \n - name: Deploy application with Docker\n run: |\n chmod +x deploy-docker.sh\n ./deploy-docker.sh\n timeout-minutes: 15\n env:\n ZONE: asia-east2-a\n INSTANCE: main\n PROJECT: photogroup-215600\n DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}\n`\n - name: Deployment troubleshooting (on failure)\n if: failure()\n run: |\n echo \"::group::Deploy failed – common fixes\"\n echo \"• IAP 4033 'not authorized': Grant the GCP_SA_KEY service account role: roles/iap.tunnelResourceAccessor\"\n echo \" See README → Deploy (GCP) → troubleshooting\"\n echo \"• Disk full on VM: SSH to VM and run: sudo docker image prune -af\"\n echo \"• Run SSH diagnose: gcloud compute ssh main --project=photogroup-215600 --zone=asia-east2-a --troubleshoot --tunnel-through-iap 2>&1 || true\"\n echo \"::endgroup::\"\n \n - name: Deployment summary\n run: |\n echo \"✅ Deployment completed successfully!\"\n echo \"Instance: main\"\n echo \"Zone: asia-east2-a\"\n echo \"Project: photogroup-215600\"\n echo \"Deployment method: Docker\"\n echo \"URL: https://hackernews.photogroup.network\"\n\n"}, "8bb94bb1854bfbbb27c87484d371a99357102e3c": {"t": 1785749272.1819956, "n": 2050, "h": "eafaa5413fffba7c", "c": "name: Deploy to GCP VM\n\non:\n # Trigger deployment after test suite completes successfully\n workflow_run:\n workflows: [\"Python application\"]\n types:\n - completed\n branches:\n - main\n - master\n # Allow manual deployment trigger\n workflow_dispatch:\n\njobs:\n deploy:\n # Only deploy if:\n # 1. Tests passed (workflow_run) - must be on main/master branch, OR\n # 2. Manual workflow dispatch\n if: |\n (github.event_name == 'workflow_run' && \n github.event.workflow_run.conclusion == 'success' &&\n (github.event.workflow_run.head_branch == 'main' || \n github.event.workflow_run.head_branch == 'master')) ||\n github.event_name == 'workflow_dispatch'\n \n runs-on: ubuntu-latest\n \n steps:\n # Use the same commit that triggered the test workflow\n - name: Checkout code\n uses: actions/checkout@v4\n with:\n # For workflow_run: use the commit SHA from the test workflow\n # For push/manual dispatch: use current commit SHA\n ref: ${{ github.event.workflow_run.head_sha || github.sha }}\n \n - name: Authenticate to Google Cloud\n uses: google-github-actions/auth@v2\n with:\n credentials_json: ${{ secrets.GCP_SA_KEY }}\n \n - name: Set up Cloud SDK\n uses: google-github-actions/setup-gcloud@v2\n with:\n project_id: photogroup-215600\n \n - name: Deploy application with Docker\n run: |\n chmod +x deploy-docker.sh\n ./deploy-docker.sh\n timeout-minutes: 15\n env:\n ZONE: asia-east2-a\n INSTANCE: main\n PROJECT: photogroup-215600\n DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}\n \n - name: Deployment summary\n run: |\n echo \"✅ Deployment completed successfully!\"\n echo \"Instance: main\"\n echo \"Zone: asia-east2-a\"\n echo \"Project: photogroup-215600\"\n echo \"Deployment method: Docker\"\n echo \"URL: https://hackernews.photogroup.network\"\n\n"}, "617b35517638066a79dc0eb93dc17e2cc6858f38": {"t": 1785749273.3081686, "n": 1990, "h": "121b421bcf8bf6b5", "c": "name: Deploy to GCP VM\n\non:\n # Trigger deployment after test suite completes successfully\n workflow_run:\n workflows: [\"Python application\"]\n types:\n - completed\n branches:\n - main\n - master\n # Allow manual deployment trigger\n workflow_dispatch:\n\njobs:\n deploy:\n # Only deploy if:\n # 1. Tests passed (workflow_run) - must be on main/master branch, OR\n # 2. Manual workflow dispatch\n if: |\n (github.event_name == 'workflow_run' && \n github.event.workflow_run.conclusion == 'success' &&\n (github.event.workflow_run.head_branch == 'main' || \n github.event.workflow_run.head_branch == 'master')) ||\n github.event_name == 'workflow_dispatch'\n \n runs-on: ubuntu-latest\n \n steps:\n # Use the same commit that triggered the test workflow\n - name: Checkout code\n uses: actions/checkout@v4\n with:\n # For workflow_run: use the commit SHA from the test workflow\n # For push/manual dispatch: use current commit SHA\n ref: ${{ github.event.workflow_run.head_sha || github.sha }}\n \n - name: Authenticate to Google Cloud\n uses: google-github-actions/auth@v2\n with:\n credentials_json: ${{ secrets.GCP_SA_KEY }}\n \n - name: Set up Cloud SDK\n uses: google-github-actions/setup-gcloud@v2\n with:\n project_id: photogroup-215600\n \n - name: Deploy application with Docker\n run: |\n chmod +x deploy-docker.sh\n ./deploy-docker.sh\n timeout-minutes: 15\n env:\n ZONE: asia-east2-a\n INSTANCE: main\n PROJECT: photogroup-215600\n \n - name: Deployment summary\n run: |\n echo \"✅ Deployment completed successfully!\"\n echo \"Instance: main\"\n echo \"Zone: asia-east2-a\"\n echo \"Project: photogroup-215600\"\n echo \"Deployment method: Docker\"\n echo \"URL: https://hackernews.photogroup.network\"\n\n"}}}}