Commit Graph

12 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]
94c483302a
Bump elliptic from 6.5.2 to 6.5.3 in /vuejs/vuejs
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-01 18:07:14 +00:00
dependabot[bot]
ffc0c52d13
Bump lodash from 4.17.15 to 4.17.19 in /vuejs/vuejs
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:13:54 +00:00
Guillaume Lours
e3aac7b58f Update vuejs dependencies
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-06-05 22:04:41 +02:00
dependabot[bot]
05b0f58a3b
Bump websocket-extensions from 0.1.3 to 0.1.4 in /vuejs/vuejs
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-05 19:37:46 +00:00
Guillaume Lours
5047947946 Fix security issues in yarn dependencies of vuejs sample
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2020-03-25 16:20:06 +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
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
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