File tree Expand file tree Collapse file tree 1 file changed +3
-24
lines changed Expand file tree Collapse file tree 1 file changed +3
-24
lines changed Original file line number Diff line number Diff line change 1- name : Test configure-kubectl-oke action
1+ name : Sanity test configure-kubectl-oke action
22
33on :
44 pull_request :
2020 OCI_CLI_KEY_CONTENT : ${{ secrets.OCI_CLI_KEY_CONTENT }}
2121 OCI_CLI_REGION : ${{ secrets.OCI_CLI_REGION }}
2222 steps :
23- - uses : actions/checkout@v3
23+ - uses : actions/checkout@v4
2424
2525 - name : Configure Kubectl for OKE cluster in home region
2626 uses : ./
3131 - name : Check that the correct kubectl version is active
3232 run : |
3333 which kubectl
34- kubectl version --short
34+ kubectl version
3535
3636 - name : Get pods using Kubectl
3737 run : kubectl get pods -A
38-
39- test-action-new-region :
40- runs-on : ubuntu-latest
41- name : Test the action in a new region
42- env :
43- OCI_CLI_USER : ${{ secrets.OCI_CLI_USER }}
44- OCI_CLI_TENANCY : ${{ secrets.OCI_CLI_TENANCY }}
45- OCI_CLI_FINGERPRINT : ${{ secrets.OCI_CLI_FINGERPRINT }}
46- OCI_CLI_KEY_CONTENT : ${{ secrets.OCI_CLI_KEY_CONTENT }}
47- OCI_CLI_REGION : ${{ secrets.OCI_CLI_NEW_REGION }}
48-
49- steps :
50- - uses : actions/checkout@v3
51- - name : Configure Kubectl for OKE cluster in new region
52- uses : ./
53- id : test-configure-kubectl-oke-action-new-region
54- with :
55- cluster : ${{ secrets.OKE_NEW_CLUSTER_OCID }}
56-
57- - name : Get pods using Kubectl
58- run : kubectl get nodes -A
You can’t perform that action at this time.
0 commit comments