* chore: Formatting * chore: Formatting (fix indent) * refactor: Remove entrypoint * chore: Remove `entrypoint.sh` from `.goreleaser.yaml` * tests: Replace `entrypoint.sh` script usage in `e2eentry.sh` * Set default plugin argument from environment variable in main function and update Dockerfile to remove CMD instruction * Add user and group setup for testing in Dockerfile and update e2e entry script * Update cmd/sshpiperd/main.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update cmd/sshpiperd/main.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Remove test user and group creation from Dockerfile and move it to e2e entry script; update plugin argument handling in main function * Update Dockerfile Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Skip empty plugin directory entries in main function --------- Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
13 lines
282 B
Bash
Executable file
13 lines
282 B
Bash
Executable file
#!/bin/bash
|
|
set -x
|
|
|
|
groupadd -f testgroup && \
|
|
useradd -m -G testgroup testgroupuser
|
|
|
|
if [ "${SSHPIPERD_DEBUG}" == "1" ]; then
|
|
echo "enter debug on hold mode"
|
|
echo "run [docker exec -ti e2e_testrunner_1 bash] to run to attach"
|
|
sleep infinity;
|
|
else
|
|
go test -v;
|
|
fi
|