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]
89724644e6
Bump lodash from 4.17.15 to 4.17.19 in /react-express-mysql/backend
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-20 00:00:11 +00:00
Guillaume Lours
5cf9171841
Fix security issues in npm dependencies of react-express-mysql sample
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-03-25 15:47:33 +01:00
Guillaume Lours
4478c5c142
Udpdate some README.md files and change the version of node image for vuejs sample
...
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-03-24 17:00:48 +01:00
Guillaume LOURS
a06e22defb
Merge pull request #28 from jdrouet/express-mysql
...
react-express-mysql: fetch version from mysql
2020-03-24 15:15:12 +01:00
Jérémie Drouet
59724f87a1
react-express-mysql: get version from mysql
...
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-24 14:47:35 +01: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
Jérémie Drouet
75aa52524c
react-express-mysql: split backend code
...
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-23 14:18:50 +01:00
Jérémie Drouet
b58a42015d
react-express-mysql: use create-react-app template
...
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-03-23 13:24:37 +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