Commit 5f641c14 authored by Ivan Mazhukin's avatar Ivan Mazhukin

epm CI: don't remove app's version

epm CI: fix path's epm CI: remove old download logs epm Ci: logs typo
parent 01d7462c
......@@ -45,7 +45,7 @@ for app in $apps; do
done
#
# -------- Stage: publish_ipfs_db --------
# -------- Stage: Publish_download_logs --------
#
echo "publish_download_logs:"
echo " stage: publish_download_logs"
......@@ -80,12 +80,12 @@ for app in $apps; do
safe_app="${app//[^a-zA-Z0-9_]/_}"
#
# ALT p11 consumer
# ALT sisyphus
#
echo "test_${safe_app}_p11:"
echo " stage: test"
echo " allow_failure: true"
echo " image: alt:p11"
echo " image: alt:sisyphus"
echo " tags:"
echo " - access"
echo " dependencies:"
......@@ -106,7 +106,7 @@ for app in $apps; do
echo ""
#
# Debian bookworm consumer
# Debian bookworm
#
echo "test_${safe_app}_debian:"
echo " stage: test"
......
......@@ -8,7 +8,7 @@ SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
PROJECT_DIR="${CI_PROJECT_DIR:-$REPO_ROOT}"
RESULTS_ROOT="$PROJECT_DIR/ipfs/"
RESULTS_ROOT="$PROJECT_DIR/ipfs"
ERR_DIR="$RESULTS_ROOT/errors"
LOG_DIR="$RESULTS_ROOT/logs"
......
......@@ -21,12 +21,15 @@ cd "$WORKDIR"
git config user.name "CI Bot"
git config user.email "ci@etersoft.ru"
# clean old data
rm -rf ipfs/logs/ ipfs/errors/ || true
# prepare dirs
mkdir -p ipfs/log ipfs/errors ipfs/meta
mkdir -p ipfs/logs ipfs/errors ipfs/meta
# replace DB and logs
cp -f ../ipfs/eget-ipfs-db.txt ipfs/eget-ipfs-db.txt
rsync -a ../ipfs/log/ ipfs/log/ || true
rsync -a ../ipfs/logs/ ipfs/logs/ || true
rsync -a ../ipfs/errors/ ipfs/errors/ || true
# meta info
......
......@@ -14,7 +14,7 @@ git config user.name "CI Bot"
git config user.email "ci@etersoft.ru"
# clean old data
rm -rf epm-results meta || true
rm -rf epm-results/*/epm-logs epm-results/*/epm-errors meta || true
# copy all results
rsync -a "$CI_PROJECT_DIR/epm-results/" epm-results/ || true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment