chore: [install] fixture for environment builds (SUPER-3017)

SA
20d ago
+7-0

Adds .superset/config.toml with an [install] that writes ~/.install-marker (commit and time) and sleeps 5 s. Setting FAIL_INSTALL on the environment makes it exit 3.

It is the test repository for the end-to-end check of environment builds (ParadevAI/Paradev#9110): a build reads [install] from the default branch, so this has to be on main. Safe to remove once SUPER-3017 ships.


Summary by cubic

Adds a .superset/config.toml fixture for testing environment builds that run [install] scripts on the default branch. On install, it writes a marker with the commit and timestamp to ~/.install-marker, sleeps 5 seconds, and exits 3 if FAIL_INSTALL is set. Safe to remove once SUPER-3017 ships.

Summary by CodeRabbit

  • Installation
    • Successful installs now record the build revision and time locally, followed by a brief pause.
    • When a failure condition is configured, installation reports an error and exits.