oraclecloud-ci-integration
Installation
SKILL.md
Oracle Cloud CI Integration
Overview
Set up GitHub Actions workflows that authenticate to OCI, run Terraform plans, and execute tests against OCI services. The OCI Terraform provider has known bugs — notably ResourcePrincipal forcing the wrong region (#1761) — that require specific workarounds. This skill provides battle-tested CI patterns that avoid those pitfalls.
Purpose: Get a working CI pipeline that authenticates to OCI, runs Terraform safely, and tests OCI-dependent code without flaky failures.
Prerequisites
- OCI tenancy with an API signing key configured in
~/.oci/config - Terraform >= 1.5 and the OCI provider (
oracle/oci) - GitHub repository with Actions enabled
- GitHub Secrets configured:
OCI_USER_OCID,OCI_FINGERPRINT,OCI_TENANCY_OCID,OCI_REGION,OCI_PRIVATE_KEY(PEM contents, base64-encoded) - Python 3.8+ with
pip install ocifor SDK-based tests