{"id":26191108,"url":"https://github.com/tschf/oracle-database-workflow-quickstart","last_synced_at":"2026-03-11T09:07:37.309Z","repository":{"id":281146639,"uuid":"944348459","full_name":"tschf/oracle-database-workflow-quickstart","owner":"tschf","description":"Quick start guide to interacting with Oracle Database in a GitHub Workflow","archived":false,"fork":false,"pushed_at":"2025-03-07T22:44:17.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-19T17:27:30.311Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tschf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-07T07:34:41.000Z","updated_at":"2025-03-07T22:20:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"c396a4d1-e152-47c2-b169-f8bc9c302470","html_url":"https://github.com/tschf/oracle-database-workflow-quickstart","commit_stats":null,"previous_names":["tschf/oracle-database-workflow-quickstart"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tschf/oracle-database-workflow-quickstart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Foracle-database-workflow-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Foracle-database-workflow-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Foracle-database-workflow-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Foracle-database-workflow-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tschf","download_url":"https://codeload.github.com/tschf/oracle-database-workflow-quickstart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Foracle-database-workflow-quickstart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30376810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T06:09:32.197Z","status":"ssl_error","status_checked_at":"2026-03-11T06:09:17.086Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-12T00:59:45.351Z","updated_at":"2026-03-11T09:07:37.304Z","avatar_url":"https://github.com/tschf.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Oracle Database Workflow Quickstart [![database tests](https://github.com/tschf/oracle-database-workflow-quickstart/actions/workflows/db_tests.yml/badge.svg)](https://github.com/tschf/oracle-database-workflow-quickstart/actions/workflows/db_tests.yml)\n\nThis repository is a reference to creating a GitHub Workflow to test your code\nagainst an Oracle Database. This repo leverages the 23ai Free version - that Gerald\nVenzl has kindly published to the Marketplace for easy uptake.\n\n## Workflow Steps\n\n| Step Name                | Description                                                      | Reference Link |\n| ---                      | ---                                                              | ---|\n| setup_db_credentials     | Randomly assign password values for sys and application user     | |\n| checkout files           | Checkout the files from the active branch | https://github.com/marketplace/actions/checkout |\n| create podman network    | Create a podman network (db-net) so the sqlcl can reference the DB container by name | |\n| db install               | Set up the database - which is 23ai Free                         | \u003chttps://github.com/gvenzl/setup-oracle-free\u003e |\n| db install logs          | Output the logs from the db install                              | |\n| download sqlcl image     | Download the sqlcl image from container registry. There is an example from Geral's repo, however I found pulling the container image to be much quicker.  | |\n| (dba) prepare db         | Perform any DBA tasks. Here I call the script `setup_scripts/_setup_scripts.sql` which creates a `DATA` tablespace and a new user. There is a setting `setup-scripts` where the DB container can run scripts on set up but I was getting inconsistent behaviour so I thought it will be better just to handle this ourselves after DB setup step. |\n| APEX install             | 23ai Free image doesn't come pre-loaded with APEX. So here I install APEX runtime to get the core objects. This is the longest running process at about 3.5 minutes. | |\n| install project          | Finally set up is complete - this is where you would kick off your application install to see everything installs as expected| |\n\n## Implementation Steps\n\nThe following are the steps to implement this in your project:\n\n1. Copy the file `.github/workflows/db_tests.yml` in your project\n2. If your project has no APEX dependency, remove the step APEX install\n3. Update the step `(dba) prepare db` to call a script for any DBA setup required - such as user creation\n4. Update the step `install project` to call your installation scripts\n\n## Other Useful Documentation\n\n| Doc Name                       | Link |\n| ---                            | ---  |\n| Workflow Synax                 | \u003chttps://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions\u003e |\n| Context Variables              | \u003chttps://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#github-context\u003e |\n| SQLcl Container Image          | \u003chttps://container-registry.oracle.com/ords/ocr/ba/database/sqlcl\u003e |\n| GitHub Actions Billing Details | \u003chttps://docs.github.com/en/billing/managing-billing-for-your-products/managing-billing-for-github-actions/about-billing-for-github-actions#included-storage-and-minutes\u003e |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftschf%2Foracle-database-workflow-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftschf%2Foracle-database-workflow-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftschf%2Foracle-database-workflow-quickstart/lists"}