commit 0a0ec60cbf485efe7f4eafe0bb0061d7d23eae92
parent cf5504f3e5df8192cb9c1b944ad67d7c9aa8189a
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Fri, 11 Sep 2026 23:17:42 +0530
parent cf5504f3e5df8192cb9c1b944ad67d7c9aa8189a
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Fri, 11 Sep 2026 23:17:42 +0530
Allow configuring runner update source
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/minci.example b/minci.example @@ -33,3 +33,8 @@ server = https://kristaps.bsd.lv/cgi-bin/minci.cgi #jobfile = /etc/minci/Jobfile #target = native + +# Testers following a fork with local runner changes may override the +# self-update source. + +#mincirepo = https://git.nply.org/minci
diff --git a/minci.sh b/minci.sh @@ -224,6 +224,15 @@ then fatal "no server specified" fi +# Read the minci repository from the configuration. + +while read -r ln +do + mincirepo="$(echo "$ln" | sed -n 's!^[ ]*mincirepo[ ]*=[ ]*!!p')" + [ -z "$mincirepo" ] && continue + MINCI_REPO="$mincirepo" +done < "$CONFIG" + # Read the Jobfile path from the configuration. while read -r ln @@ -254,6 +263,7 @@ done < "$CONFIG" debug "using API key: $API_KEY" debug "using API secret: $API_SECRET" debug "using server: $SERVER" +debug "using minci repo: $MINCI_REPO" debug "using branch: $BRANCH" debug "using Jobfile: $JOBFILE" debug "using target: $TARGET"
: nply/minci