Skip to content

feat: support non-x86 architecture #79

feat: support non-x86 architecture

feat: support non-x86 architecture #79

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