Skip to content

rob975/setup-oracle-free-lite

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup Oracle Database Free Lite

Code Release CI Dependabot Updates

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.

Key Features

  • 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.

Inputs

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.

Usage

Basic usage

jobs:
  tests:
    runs-on: ubuntu-latest
    steps:
      - uses: rob975/setup-oracle-free-lite@v1

Custom password for SYS, SYSTEM and PDBADMIN

jobs:
  tests:
    runs-on: ubuntu-latest
    steps:
      - uses: rob975/setup-oracle-free-lite@v1
        with:
          oracle-pwd: <password>

Startup scripts

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

About

GitHub Action for Oracle Database Free Lite

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages