Skip to content

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 an application install in a clean environment:

Terminal window
local-26ai.sh test-app-install ./path/to/my_app.sql

The script does the following:

  • Creates or clears the UC_TESTINSTALL_1 schema 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

To skip the confirmation prompt, use the -y flag. Use this flag in scripts and CI jobs:

Terminal window
local-26ai.sh test-app-install ./path/to/my_app.sql -y

Test a SQL script in a clean environment:

Terminal window
local-26ai.sh test-script-install ./path/to/sql_script.sql

The script does the following:

  • Creates or clears the UC_TESTINSTALL_1 schema and workspace
  • Runs your SQL script
  • Shows a summary with:
    • Object types and counts
    • A list of the invalid objects

To skip the confirmation prompt, use the -y flag. Use this flag in scripts and CI jobs:

Terminal window
local-26ai.sh test-script-install ./path/to/sql_script.sql -y