Important
Only Linux runners are supported.
GitHub Action to set up an Oracle Database using Oracle Database 23ai Free Lite Container images.
Oracle Database 23ai Free Lite Container image contains a pre-built database, so the startup time is very fast.
- Pulling lite container images is way faster
- Lite container images are suitable for CI scenarios
- Action returns only after startup scripts are executed
- No additional pluggable database except the one specified (default:
FREEPDB1
) - No additional tablespace except SYSTEM, SYSAUX, TEMP and UNDOTBS1
Important
Image tags are deliberately limited to those containing lite
word.
For a more comprehensive solution see Setup Oracle Database.
No input using step.with
keys is required but some are defined to customize
the database.
Name | Default | Description |
---|---|---|
tag | latest-lite | Image tag from Oracle Container Registry. Must contain lite word. |
container-name | oracle-db | Container name. |
oracle-pwd | auto generated | SYS, SYSTEM and PDBADMIN password. |
oracle-pdb | FREEPDB1 | Pluggable database name. |
port | 1521 | Port for database connections. |
startup-scripts | none | Absolute path to startup scripts directory. |
readiness-retries | 10 | Readiness check retries before exiting with error. Checks are performed every 10 seconds. |
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: rob975/setup-oracle-free-lite@v1
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: rob975/setup-oracle-free-lite@v1
with:
oracle-pwd: <password>
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: rob975/setup-oracle-free-lite@v1
with:
startup-scripts: ${{ github.workspace }}/tests/scripts