Skip to content

Commit

Permalink
HARMONY-1573: Try macos-13 runner image.
Browse files Browse the repository at this point in the history
  • Loading branch information
ygliuvt committed Nov 18, 2023
1 parent 7838d34 commit 42eb971
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/harmony-in-a-box.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
harmony-in-a-box:

runs-on: macos-latest
runs-on: macos-13

strategy:
matrix:
Expand All @@ -23,7 +23,7 @@ jobs:
brew update
brew install docker
brew install kubectl
colima start --cpu 3 --memory 12 --with-kubernetes
colima start --cpu 3 --memory 10 --with-kubernetes
- name: Install dependencies
run: npm ci
Expand All @@ -40,20 +40,17 @@ jobs:
- name: Start harmony in a box
run: KUBE_CONTEXT=colima bin/bootstrap-harmony

- name: debug pods 00
run: kubectl -n harmony get pods

- name: Wait 30s for the server to start
run: sleep 30

- name: debug pods 1
run: kubectl -n harmony get pods

- name: Wait for the server to start
run: sleep 300

- name: debug pods
run: kubectl -n harmony get pods
run: |
kubectl -n harmony get pods
example_pod=$(kubectl get pods -n harmony -l name=harmony-service-example | grep -v NAME | awk '{print $1;}')
kubectl -n harmony describe pod $example_pod
- name: Check if harmony server is up
run: |
Expand Down
2 changes: 1 addition & 1 deletion bin/port-forward
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function start_port_forwarding() {
kubectl -n harmony describe pod $harmony_pod
fi

kubectl wait -n harmony --for=condition=ready pod -l app="$service_name" --timeout=360s
kubectl wait -n harmony --for=condition=ready pod -l app="$service_name" --timeout=600s
nohup kubectl -n harmony port-forward "service/${service_name}" "${args[@]}" > "logs/port-forward-${service_name}.log" 2>&1 &
echo "Port forwarding started for service: ${service_name}, port pairs: ${port_pairs[*]}"
}
Expand Down

0 comments on commit 42eb971

Please sign in to comment.