Skip to content

Commit 065a44a

Browse files
testing falco
1 parent e1b8778 commit 065a44a

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/scsctl_test.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches: [ test/scsctl_cicd_integration ]
55
workflow_dispatch:
6-
6+
77
jobs:
88
container-test-job:
99
runs-on: ubuntu-latest
@@ -42,17 +42,20 @@ jobs:
4242
helm repo add pyroscope-io https://pyroscope-io.github.io/helm-chart
4343
helm install pyroscope pyroscope-io/pyroscope
4444
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}")
4747
48-
sleep 30
48+
# sleep 30
4949
50-
kubectl --namespace default port-forward $POD_NAME 8080:$CONTAINER_PORT
50+
# kubectl --namespace default port-forward $POD_NAME 8080:$CONTAINER_PORT
5151
52-
kubectl get pods
52+
# kubectl get pods
5353
5454
55-
curl http://localhost:4040
55+
# curl http://localhost:4040
56+
- name: List pods
57+
run: |
58+
kubectl get pods
5659
5760
# - name: Install a python cli tool from test pypi and run it
5861
# run: |

0 commit comments

Comments
 (0)