diff --git a/.drone.yml b/.drone.yml index 8c8ab40..b89a2df 100644 --- a/.drone.yml +++ b/.drone.yml @@ -53,6 +53,7 @@ pipeline: environment: - GO111MODULE=on commands: + - apk update && apk add openssh openrc make - make ssh-server - make test - make coverage diff --git a/Makefile b/Makefile index 87928b5..8a8f2a1 100644 --- a/Makefile +++ b/Makefile @@ -128,8 +128,6 @@ clean: rm -rf coverage.txt $(EXECUTABLE) $(DIST) vendor ssh-server: - # install ssh and start server - apk update && apk add openssh openrc make adduser -h /home/drone-scp -s /bin/bash -D -S drone-scp passwd -d drone-scp mkdir -p /home/drone-scp/.ssh