Page MenuHomeIn-Portal Phabricator
  • Changed Files
  • branches/5.2.x/tools/build/targets/db.xml

INP-1806 - Display output of executed MySQL commands during build script execution
ClosedPublic

Authored by alex on Jun 1 2021, 10:45 AM.

Details

Test Plan
NOTE: The Phing must be already installed by any means (Composer globally, PEAR, PHAR, etc.).
  1. delete /system/build*.sql files
  2. if /tools/build/build.properties file is missing, then:
    • copy/paste /tools/build/build.properties.dist file into /tools/build/build.properties file
    • change /tools/build/build.properties file so that all settings are specified
  3. run phing -f tools/build/build_all.xml db-dump command
  4. confirm, that /system/build*.sql files were created
  5. at the first line of /system/build-schema.sql file type some text, that would definetely cause an SQL error during import
  6. run phing -f tools/build/build_all.xml db-fill-ci command
  7. confirm, that database import failed and actual error was displayed

Diff Detail

Repository
rINP In-Portal
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex created this revision.Jun 1 2021, 10:45 AM
alex requested review of this revision.Jun 1 2021, 10:45 AM
alex added a project: Restricted Project.Jun 1 2021, 10:46 AM
erik accepted this revision.Jun 2 2021, 5:57 AM
This revision is now accepted and ready to land.Jun 2 2021, 5:57 AM
This revision was automatically updated to reflect the committed changes.