Skip to content

Commit 82f0747

Browse files
testing falco
1 parent 2f59f0e commit 82f0747

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/scsctl_test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,13 @@ jobs:
4141
helm repo add pyroscope-io https://pyroscope-io.github.io/helm-chart
4242
helm install pyroscope pyroscope-io/pyroscope
4343
44+
export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=pyroscope,app.kubernetes.io/instance=pyroscope" -o jsonpath="{.items[0].metadata.name}")
45+
export CONTAINER_PORT=$(kubectl get pod --namespace default $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
46+
kubectl --namespace default port-forward $POD_NAME 8080:$CONTAINER_PORT
47+
4448
kubectl get pods
4549
46-
curl http://127.0.0.1:8080
50+
curl http://localhost:8080
4751
4852
# - name: Install a python cli tool from test pypi and run it
4953
# run: |

0 commit comments

Comments
 (0)