Skip to content

Commit

Permalink
feat: Add smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Jan 9, 2024
1 parent 0b82590 commit 20e6fa0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/smoke-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ jobs:
echo "Xatu stack is running."
- name: Discover beacon nodes
run: |
export BEACON_SERVICES=$(kurtosis enclave inspect xatu | grep cl- | grep http | awk '{ print $2 }' | grep -v validator)
export services=$(kurtosis enclave inspect xatu | grep cl- | grep http | awk '{ print $2 }' | grep -v validator)
export BEACON_SERVICES=$(readarray -t array <<< "$services")
echo "Beacon nodes discovered: $BEACON_SERVICES"
- name: Create Xatu Sentry for every participant
run: |
for service in $BEACON_SERVICES; do
for service in "${BEACON_SERVICES[@]}"; do
port=$(kurtosis port print xatu $service http)
echo "Creating Xatu Sentry for $service which is running at $port..."
cat <<EOF > $(service).yaml
Expand Down

0 comments on commit 20e6fa0

Please sign in to comment.