Skip to content

Commit 57f6bdb

Browse files
committed
chore(ci): update sanity test workflow
Signed-off-by: Avi Miller <[email protected]>
1 parent 7b29a87 commit 57f6bdb

File tree

1 file changed

+3
-24
lines changed

1 file changed

+3
-24
lines changed
Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test configure-kubectl-oke action
1+
name: Sanity test configure-kubectl-oke action
22

33
on:
44
pull_request:
@@ -20,7 +20,7 @@ jobs:
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: ./
@@ -31,28 +31,7 @@ jobs:
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

0 commit comments

Comments
 (0)