This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DCOS-51637] Add tooling support for submodule-based projects. (#3046)
* Abide to shellcheck. * Improve formatting. * Update pre-commit to 1.16.1 (latest). * Silence deprecation warning. * Adapt tooling to allow running from projects with dcos-commons as a submodule. * Improvements to bash scripts. * Default Docker image tag to latest stable (0.55.5). * Inspect AWS credentials file. * Use test_runner from git submodule. * Add 'run_container.sh' alias for 'test.sh'. * Handle wiring of dcos-commons submodule git directory. * Change dcos-commons Docker image used by tooling to "latest". * Pull Docker image it explicitly. * Improve help output. * Cause formatting issues to actually return a non-zero exit code. Since version 18.4b3 the '--diff' and '--check' aren't mutually exclusive. We were only setting the '--diff' flag in our black hook, which means no formatting errors were being raised. Adding back the '--check' flag fixes that. https://github.com/python/black#184a3 * Handle PYTHONPATH setup in test.sh. * Remove unused pre-commit hook. * Don't need to run this in interactive mode.
- Loading branch information