Skip to content

Commit

Permalink
Merge pull request #18 from netfoundry/worklow-update
Browse files Browse the repository at this point in the history
added github run id to infra name for uniqueness
  • Loading branch information
qrkourier authored Nov 22, 2024
2 parents 4aa79df + 5bfb948 commit 2bd1663
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
types: [opened, synchronize]

env:
CLUSTER_NAME: ziti-k8s-agent-regression
CLUSTER_NAME: ziti-k8s-agent-regression-${{ github.run_id }}
AWS_REGION: us-west-2
GKE_REGION: us-central1
GKE_NETWORK_NAME: default
GKE_SUBNETWORK_NAME: default
NF_NETWORK_NAME: ziti-k8s-agent-regression
NF_NETWORK_NAME: ziti-k8s-agent-regression-${{ github.run_id }}

jobs:
build_deploy:
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
metadata:
name: $CLUSTER_NAME
region: $AWS_REGION
version: "1.28"
version: "1.30"
managedNodeGroups:
- name: ng-1
instanceType: t3.medium
Expand Down Expand Up @@ -613,7 +613,7 @@ jobs:
fi
kubectl get pods -n test1 --context $AWS_CLUSTER >> testcase_pods.log
kubectl get pods -n test2 --context $GKE_CLUSTER >> testcase_pods.log
for i in $(seq 1 20);
for i in $(seq 1 40);
do
curl -s -X GET http://productpage.ziti:9080/productpage?u=test | grep reviews >> testcase_curl_output.log
done
Expand Down Expand Up @@ -645,7 +645,7 @@ jobs:
fi
kubectl get pods -n test1 --context $AWS_CLUSTER >> testcase_pods.log
kubectl get pods -n test2 --context $GKE_CLUSTER >> testcase_pods.log
for i in $(seq 1 20);
for i in $(seq 1 40);
do
curl -s -X GET http://productpage.ziti:9080/productpage?u=test | grep reviews >> testcase_curl_output.log
done
Expand Down

0 comments on commit 2bd1663

Please sign in to comment.