8000 Sam/build ami local by samrose · Pull Request #1547 · supabase/postgres · GitHub
[go: up one dir, main page]

Skip to content

Sam/build ami local #1547

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
May 2, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: use ref fo rbranch
  • Loading branch information
samrose committed Apr 30, 2025
commit 14c4220126c9e4f0de54251ee542c1f042092e09
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -872,14 +872,14 @@

# Trigger the workflow with the AMI name
echo "Triggering testinfra-only workflow for AMI: $AMI_NAME on branch: $BRANCH"
gh workflow run testinfra-only.yml --repo "$REPO" --ref "$BRANCH" -f ami_name="$AMI_NAME"
gh workflow run testinfra-only.yml --ref "$BRANCH" -f ami_name="$AMI_NAME"

# Wait for workflow to start and get the run ID
echo "Waiting for workflow to start..."
sleep 5

# Get the latest run ID for this workflow
RUN_ID=$(gh run list --workflow=testinfra-only.yml --repo "$REPO" --branch "$BRANCH" --limit 1 --json databaseId --jq '.[0].databaseId')
RUN_ID=$(gh run list --workflow=testinfra-only.yml --branch "$BRANCH" --limit 1 --json databaseId --jq '.[0].databaseId')

if [ -z "$RUN_ID" ]; then
echo "Error: Could not find workflow run ID"
Expand Down
Loading
0