File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 3
3
push :
4
4
branches : [ test/scsctl_cicd_integration ]
5
5
workflow_dispatch :
6
-
6
+
7
7
jobs :
8
8
container-test-job :
9
9
runs-on : ubuntu-latest
@@ -42,17 +42,20 @@ jobs:
42
42
helm repo add pyroscope-io https://pyroscope-io.github.io/helm-chart
43
43
helm install pyroscope pyroscope-io/pyroscope
44
44
45
- 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}")
46
- export CONTAINER_PORT=$(kubectl get pod --namespace default $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
45
+ # 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}")
46
+ # export CONTAINER_PORT=$(kubectl get pod --namespace default $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
47
47
48
- sleep 30
48
+ # sleep 30
49
49
50
- kubectl --namespace default port-forward $POD_NAME 8080:$CONTAINER_PORT
50
+ # kubectl --namespace default port-forward $POD_NAME 8080:$CONTAINER_PORT
51
51
52
- kubectl get pods
52
+ # kubectl get pods
53
53
54
54
55
- curl http://localhost:4040
55
+ # curl http://localhost:4040
56
+ - name : List pods
57
+ run : |
58
+ kubectl get pods
56
59
57
60
# - name: Install a python cli tool from test pypi and run it
58
61
# run: |
You can’t perform that action at this time.
0 commit comments