diff options
author | EuAndreh <eu@euandre.org> | 2021-02-24 21:57:53 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-24 21:57:53 -0300 |
commit | 40a410c2d7d4fdd1cb2fed00b98975b5ff6016d6 (patch) | |
tree | 37f9768b6127d83e94961ed1602c77df76a495e3 /aux | |
parent | Delete Vultr vps resources (diff) | |
download | server-40a410c2d7d4fdd1cb2fed00b98975b5ff6016d6.tar.gz server-40a410c2d7d4fdd1cb2fed00b98975b5ff6016d6.tar.xz |
Update files under aux/ci/
Diffstat (limited to 'aux')
-rwxr-xr-x | aux/ci/ci-build.sh | 2 | ||||
-rwxr-xr-x | aux/ci/git-post-receive.sh | 4 | ||||
-rwxr-xr-x | aux/ci/git-pre-push.sh | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/aux/ci/ci-build.sh b/aux/ci/ci-build.sh index 0679cbd..fb49e71 100755 --- a/aux/ci/ci-build.sh +++ b/aux/ci/ci-build.sh @@ -28,7 +28,7 @@ EOF cd - if [ -f ./aux/ci/report.sh ]; then sh aux/ci/report.sh "$PACKAGE" - rsync -avzzP public/ "/srv/http/$PACKAGE/" --delete + rsync -avzzP public/ "/srv/http/$PACKAGE/" fi printf "\n>>>\n>>> CI logs added as Git note.\n>>>\n>>> Run status was %s" "$STATUS" diff --git a/aux/ci/git-post-receive.sh b/aux/ci/git-post-receive.sh index b169489..f8986ed 100755 --- a/aux/ci/git-post-receive.sh +++ b/aux/ci/git-post-receive.sh @@ -10,5 +10,5 @@ for n in $(seq 0 $((GIT_PUSH_OPTION_COUNT - 1))); do done PACKAGE="$(basename "$PWD" | cut -d. -f1)" # remove .git suffix -LOGS_DIR="/srv/ci/$PACKAGE/logs" -"/srv/ci/$PACKAGE/ci-build.sh" "$PACKAGE" "$LOGS_DIR" +LOGS_DIR="/opt/ci/$PACKAGE/logs" +"/opt/ci/$PACKAGE/ci-build.sh" "$PACKAGE" "$LOGS_DIR" diff --git a/aux/ci/git-pre-push.sh b/aux/ci/git-pre-push.sh index d90a4b4..5546cb2 100755 --- a/aux/ci/git-pre-push.sh +++ b/aux/ci/git-pre-push.sh @@ -2,7 +2,7 @@ set -eux PACKAGE="$(basename "$PWD")" -LOGS_DIR="/srv/ci/$PACKAGE/logs" +LOGS_DIR="/opt/ci/$PACKAGE/logs" REMOTE_GIT_DIR="/srv/git/$PACKAGE.git" DESCRIPTION="$(mktemp)" |