Skip to content

chore(deps): update action to run on nodejs 20 #76

chore(deps): update action to run on nodejs 20

chore(deps): update action to run on nodejs 20 #76

name: Sanity test configure-kubectl-oke action
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
test-action-home-region:
runs-on: ubuntu-latest
name: Sanity test the action in the tenancy home region
env:
OCI_CLI_USER: ${{ secrets.OCI_CLI_USER }}
OCI_CLI_TENANCY: ${{ secrets.OCI_CLI_TENANCY }}
OCI_CLI_FINGERPRINT: ${{ secrets.OCI_CLI_FINGERPRINT }}
OCI_CLI_KEY_CONTENT: ${{ secrets.OCI_CLI_KEY_CONTENT }}
OCI_CLI_REGION: ${{ secrets.OCI_CLI_REGION }}
steps:
- uses: actions/checkout@v4
- name: Configure Kubectl for OKE cluster in home region
uses: ./
id: test-configure-kubectl-oke-action
with:
cluster: ${{ secrets.OKE_CLUSTER_ID }}
- name: Check that the correct kubectl version is active
run: kubectl version
- name: Get pods using Kubectl
run: kubectl get pods -A