Skip to content
Snippets Groups Projects
Verified Commit 9ed6fa5f authored by Ruben van Dijk's avatar Ruben van Dijk
Browse files

use template smoketest.

parent 79964ccc
Branches smoketest
No related tags found
No related merge requests found
Pipeline #990 passed
......@@ -8,22 +8,10 @@ deploy:
dockertest:
extends: .dockertest
smoketest:
#extends: .smoketest
extends: .smoketest
image: node:lts-alpine
variables:
port: 80
command: node 4.js
timeout: 5
before_script:
- npm ci
script:
- $command &
- |
PID=$!
sleep $timeout
if [ -n "$port" ]; then
nc -z localhost $port
fi
kill $PID
after_script:
- kill $PID
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment