* Make .gitignore rules safer.
In particular, `bin*` ignores any file anywhere that even starts with
"bin", of which we have many (e.g. "binlog_blah").
This change scopes these rules down to only match directories (`/`
suffix) at the root of the repo (`/` prefix).
Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
* Add new ignores to .dockerignore too.
So docker doesn't try to pull them into its build context.
Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
This is an alternative to 'make integration_test',
with the following advantages:
* Tests run in Docker, so no bootstrap is necessary.
* Tests are hermetic and can run in parallel.
* Test against different flavors just by setting a flag.
* Failing tests are retried to see if they are flaky.
* A failed test will be recorded for later inspection, while the script
continues to run other tests.
* A test that takes too long will be considered stuck and retried.
There's plenty of room for improvement, but now that we have something
in a more readable language than Makefile, we can iterate.