Skip to content

build(deps-dev): bump the npm-development group across 1 directory with 6 updates #134

build(deps-dev): bump the npm-development group across 1 directory with 6 updates

build(deps-dev): bump the npm-development group across 1 directory with 6 updates #134

name: Sanity test configure-kubectl-oke action
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test-action-home-region:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
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