Skip to content

Commit 2f296c5

Browse files
authored
Merge pull request #32 from navendu-pottekkat/update-test-name-and-fix-port-forwarding
2 parents 667c85c + 849b53b commit 2f296c5

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/scheduled-benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,5 @@ jobs:
9999
endpoint_url: ${{env.ENDPOINT_URL}}
100100
service_mesh: ${{env.SERVICE_MESH}}
101101
load_generator: ${{ matrix.load-generator }}
102-
profile_name: '${{ matrix.service-mesh }}-${{ matrix.load-generator }}-${{ github.event.inputs.profile_filename }}${{ github.event.inputs.profile_name }}'
102+
profile_name: '${{ matrix.service-mesh }}-${{ matrix.load-generator }}-${{ matrix.test-configuration }}'
103103
test_name: '${{ steps.date.outputs.date }}'

.github/workflows/scripts/linkerd_deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ linkerd install | kubectl apply -f -
1616
linkerd check
1717

1818
curl -fsL https://run.linkerd.io/emojivoto.yml | kubectl apply -f -
19-
kubectl -n emojivoto port-forward svc/web-svc 8080:80 &
19+
kubectl -n emojivoto port-forward svc/web-svc 8080:80 &> /dev/null &
2020
kubectl get -n emojivoto deploy -o yaml | linkerd inject - | kubectl apply -f -
2121

2222
# Wait for the application to be ready

.github/workflows/scripts/osm_deploy.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ osm install \
2020
kubectl create namespace bookstore
2121
osm namespace add bookstore
2222
kubectl apply -f https://raw.githubusercontent.com/openservicemesh/osm/release-v0.11/docs/example/manifests/apps/bookstore.yaml
23+
24+
sleep 100
25+
2326
kubectl get deployments -n bookstore
2427
kubectl get pods -n bookstore
2528

@@ -36,7 +39,7 @@ if [ -z "$backend" ]; then
3639
fi
3740

3841
POD="$(kubectl get pods --selector app="$backend" -n "$BOOKSTORE_NAMESPACE" --no-headers | grep 'Running' | awk 'NR==1{print $1}')"
39-
kubectl port-forward "$POD" -n "$BOOKSTORE_NAMESPACE" 15000:15000
42+
kubectl port-forward "$POD" -n "$BOOKSTORE_NAMESPACE" 15000:15000 &> /dev/null &
4043

4144
echo "Service Mesh: $MESH_NAME - $SERVICE_MESH"
4245
echo "Endpoint URL: http://localhost:15000"

0 commit comments

Comments
 (0)