Commit Graph

23 Commits

Author SHA1 Message Date
Luke Murphy
1600b6277f
Use the One True Way for testing
Closes coop-cloud/abra#71.
2021-01-01 13:48:14 +01:00
Luke Murphy
7abb0191e1
Use upstream CI image
See https://git.autonomic.zone/coop-cloud/docker-dind-bats-kcov.
2021-01-01 12:26:50 +01:00
3wc
81782bb5f0 make test → test_local, test_docker, test_dind
test_local: run `bats tests/`. Requires `bats`.

test_docker: run docker and install bats in it.

Both of these options require that your local Docker daemon is running
in swarm mode.

test_dind: starts a Docker daemon and runs tests in that. Requires sudo
2020-12-31 22:10:52 +02:00
Luke Murphy
b6928959cb
Fix test target path 2020-12-31 13:50:10 +01:00
3wc
57e24eaf0a Always run tests on local Docker 2020-10-30 18:30:43 +02:00
Luke Murphy
188dc56dd1
Also run via sh 2020-10-30 00:34:37 +01:00
3wc
e3983c2440 Run bats in dind container, add git & bash 2020-10-29 19:38:15 +02:00
Luke Murphy
1b4258f1ea
Add shellcheck target, drop default 2020-10-26 18:04:14 +01:00
Luke Murphy
dce46603bf
Add codecov target too 2020-10-26 18:01:12 +01:00
Luke Murphy
f648b251bf
Remove yq target and newline test target 2020-10-26 17:49:21 +01:00
Luke Murphy
86a790bbe4
Make tests run locally isolated 2020-10-26 17:48:19 +01:00
Luke Murphy
b423d61fce
Remove install targets 2020-10-26 17:48:12 +01:00
Luke Murphy
1e059ffe7f
Add coverage target 2020-10-26 11:20:09 +01:00
Luke Murphy
ae6c2c26ae
A first stab at docopt-sh integration 2020-10-25 21:41:17 +01:00
Luke Murphy
dad72c820a
Re-jig names and add test target in Makefile 2020-10-25 21:31:41 +01:00
Luke Murphy
09bd22d320
Re-force the symlink 2020-09-13 09:32:39 +02:00
3wc
ebb763518a deploy status, install globally, rename run 2020-09-09 01:55:03 +02:00
Luke Murphy
df9dd65d46
Add missing PHONY def 2020-09-08 09:21:13 +02:00
Luke Murphy
91395a5f8e
Add stuff for fooling around with yq 2020-09-08 09:19:03 +02:00
Luke Murphy
ca25739a69
Add PHONY marker for re-running targets 2020-09-08 08:49:08 +02:00
Luke Murphy
e3109575da
Drop some whitespace 2020-09-08 08:49:02 +02:00
Luke Murphy
55b5ac0e4c
Add default target 2020-09-08 08:48:53 +02:00
3wc
a8a83f9e06 Initial import 2020-09-07 23:29:29 +02:00