aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-02-24 21:57:53 -0300
committerEuAndreh <eu@euandre.org>2021-02-24 21:57:53 -0300
commit40a410c2d7d4fdd1cb2fed00b98975b5ff6016d6 (patch)
tree37f9768b6127d83e94961ed1602c77df76a495e3
parentDelete Vultr vps resources (diff)
downloadserver-40a410c2d7d4fdd1cb2fed00b98975b5ff6016d6.tar.gz
server-40a410c2d7d4fdd1cb2fed00b98975b5ff6016d6.tar.xz
Update files under aux/ci/
-rwxr-xr-xaux/ci/ci-build.sh2
-rwxr-xr-xaux/ci/git-post-receive.sh4
-rwxr-xr-xaux/ci/git-pre-push.sh2
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)"