mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-12 03:21:33 +00:00
- abort docker scripts on error - generate version in system tests - build debian packages in docker - add make clean target - fix lint
11 lines
233 B
Bash
Executable File
11 lines
233 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# cleanup
|
|
rm -rf /app/tmp
|
|
rm -rf /tmp/aptly*
|
|
|
|
usermod -u `stat -c %u /app` aptly >/dev/null
|
|
chown -R `stat -c %u /app` /var/lib/aptly
|
|
|
|
su - aptly -c "cd /app; export GOPATH=/app/.go; go mod tidy; make docker-test TEST=$@"
|