File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -442,8 +442,6 @@ jobs:
442
442
value: "${{ secrets.PR_DEPLOYMENTS_GITHUB_OAUTH_CLIENT_SECRET }}"
443
443
- name: "CODER_OAUTH2_GITHUB_ALLOWED_ORGS"
444
444
value: "coder"
445
- - name: "KUBECONFIG"
446
- value: "/home/coder/.kube/config"
447
445
EOF
448
446
449
447
- name : Install/Upgrade Helm chart
@@ -523,9 +521,8 @@ jobs:
523
521
https://${{ env.PR_DEPLOYMENT_ACCESS_URL }}
524
522
525
523
# Create template
526
- coder templates init --id kubernetes && cd ./kubernetes/ && coder templates create -y --variable namespace=pr${{ env.PR_NUMBER }}
527
- #git clone https://github.com/matifali/coder-templates.git
528
- #cd ./coder-templates/k8s-namespace/ && coder templates create -y --variable namespace=pr${{ env.PR_NUMBER }}
524
+ git clone https://github.com/matifali/coder-templates.git && cd ./coder-templates/k8s-namespace/
525
+ coder templates create -y --variable namespace=pr${{ env.PR_NUMBER }}
529
526
530
527
# Create workspace
531
528
cat <<EOF > workspace.yaml
@@ -534,7 +531,7 @@ jobs:
534
531
home_disk_size: "2"
535
532
EOF
536
533
537
- coder create --template="kubernetes " test --rich-parameter-file ./workspace.yaml -y
534
+ coder create --template="k8s-namespace " test --rich-parameter-file ./workspace.yaml -y
538
535
coder stop test -y
539
536
540
537
- name : Send Slack notification
You can’t perform that action at this time.
0 commit comments