Commit Graph

8 Commits

Author SHA1 Message Date
Chad Metcalf
d8a95fadd8
Don't parse empty strings.
Signed-off-by: Chad Metcalf <chad@docker.com>
2020-08-09 15:09:03 -07:00
Chad Metcalf
c600fc36ca
Use assert_success from the bats-assert library.
[ "$status" -eq 0 ] just bails out and its up to you to figure out why.
$output has the stdout/stderr so we could just print that. I think its
worth vendoring the libraries and just using those functions.

Signed-off-by: Chad Metcalf <chad@docker.com>
2020-08-08 14:27:20 -07:00
Chad Metcalf
5185cedf4e
Fixing Mac vs Linux bash shell'ism.
Signed-off-by: Chad Metcalf <chad@docker.com>
2020-08-08 14:27:04 -07:00
Chad Metcalf
702ec96821
Adding a Makefile and basic tests.
This approach uses bats to create a generic docker-compose test. It
checks that images are pullable, projects are buildable, up works, and
if ports are exposed that something is listening.

The tests can be tailored for each example. As long as they are the same
though, you can edit lib/test.bats.example and then `make update-tests`
and all the tests will be synced.

Signed-off-by: Chad Metcalf <chad@docker.com>
2020-08-08 14:26:52 -07:00
dependabot[bot]
f9cee336fc
Bump mysql-connector-java in /sparkjava-mysql/backend
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.11 to 8.0.16.
- [Release notes](https://github.com/mysql/mysql-connector-j/releases)
- [Changelog](https://github.com/mysql/mysql-connector-j/blob/release/8.0/CHANGES)
- [Commits](https://github.com/mysql/mysql-connector-j/compare/8.0.11...8.0.16)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-02 02:47:53 +00:00
Anca Iordache
77c6920a83 Fix default port mapping and indentation
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-03-24 00:44:49 +01:00
Guillaume Lours
3f8a58ef62 Update SparkJava samples
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-03-17 15:31:13 +01:00
Anca Iordache
f1e4cca535 Move all samples to the root dir
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-03-16 17:23:59 +01:00