Skip to content

Commit ed3866c

Browse files
committed
Remove old argument
Not used anywhere nor useful anymore
1 parent 4539e4d commit ed3866c

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

publish/aliPublishS3

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -881,8 +881,6 @@ def main():
881881
parser.add_argument("--pkgname", dest="pkgName")
882882
parser.add_argument("--pkgver", dest="pkgVer")
883883
parser.add_argument("--pkgarch", dest="pkgArch")
884-
# Backward compatibility
885-
parser.add_argument("--cache-deps-dir", dest="ignoredOption1", default="ignored")
886884
parser.add_argument("--test-conf", dest="testConf")
887885
parser.add_argument("--config", "-c", dest="configFile", default="aliPublish.conf",
888886
help="Configuration file")

publish/get-and-run.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ timeout 300 python3 -m pip install -U "$(realpath "$DEST")"
7878
echo "TIMING: Pip install took $(($(date +%s) - PIP_START))s"
7979

8080
ln -nfs "$(basename "$LOG.error")" "$logdir/latest"
81-
cachedir=${NOMAD_TASK_DIR-$PWD}/cache
82-
mkdir -p "$cachedir"
8381
pushd $DEST/publish
8482

8583
echo "Running version $(pip list --format freeze | grep ali-bot)"
@@ -93,7 +91,6 @@ pushd $DEST/publish
9391
${NO_NOTIF:+--no-notification} \
9492
${CONF:+--config "$CONF"} \
9593
${OVERRIDE:+--override "$OVERRIDE"} \
96-
--cache-deps-dir "$cachedir" \
9794
--pidfile /tmp/aliPublish.pid \
9895
$CMD \
9996
2>&1 | tee -a $LOG.error

0 commit comments

Comments
 (0)