Browse Source

Update doc

pull/533/head
Xavier Petit 5 years ago committed by xpetit
parent
commit
476d6f5f76
  1. 7
      tests/README.md
  2. 10
      tests/service.sh

7
tests/README.md

@ -21,3 +21,10 @@ The username is the Gitea login.
No command or arguments are used, the entrypoint has to run the tests. No command or arguments are used, the entrypoint has to run the tests.
The exit status of the container will determine whether or not the test has passed. The exit status of the container will determine whether or not the test has passed.
Any output will be printed in the platform but not interpreted. Any output will be printed in the platform but not interpreted.
### Building
```console
docker build go -t tests-go
docker build sh -t tests-sh
```

10
tests/service.sh

@ -1,10 +0,0 @@
#!/usr/bin/env bash
. "$WRAPPER"
check_command docker "https://docs.docker.com/install"
if test "$1" = "build"; then
docker build go -t tests-go
docker build sh -t tests-sh
fi
Loading…
Cancel
Save