Install Apps or Scripts
These scripts use the UC_TESTINSTALL_1 schema and workspace. They install applications or run SQL scripts in a clean environment, so you can test an install many times.
Test APEX Application Installs
Section titled “Test APEX Application Installs”Test an application install in a clean environment:
local-26ai.sh test-app-install ./path/to/my_app.sqlThe script does the following:
- Creates or clears the
UC_TESTINSTALL_1schema and workspace - Installs your application
- Installs the supporting objects (packages, types, and other objects)
- Shows a summary with:
- Object types and counts
- A list of the invalid objects
- The results of the APEX dependency scan
Skip Confirmation
Section titled “Skip Confirmation”To skip the confirmation prompt, use the -y flag. Use this flag in scripts and CI jobs:
local-26ai.sh test-app-install ./path/to/my_app.sql -yTest SQL Scripts
Section titled “Test SQL Scripts”Test a SQL script in a clean environment:
local-26ai.sh test-script-install ./path/to/sql_script.sqlThe script does the following:
- Creates or clears the
UC_TESTINSTALL_1schema and workspace - Runs your SQL script
- Shows a summary with:
- Object types and counts
- A list of the invalid objects
Skip Confirmation
Section titled “Skip Confirmation”To skip the confirmation prompt, use the -y flag. Use this flag in scripts and CI jobs:
local-26ai.sh test-script-install ./path/to/sql_script.sql -y