diff --git a/aliases b/aliases index 4cdc868dde..4959d84796 100644 --- a/aliases +++ b/aliases @@ -16,7 +16,7 @@ alias i8ceco='m clean-container-owned' alias i8cepa='m clean-pycache-dirs' alias i8cesa='m clean-stale-nfs' alias i8cesu='m clean-sudo' -alias i8cifail='__i8cifail(){ [ -z "${1:-}" ] && { echo "usage: i8cifail [total|swarm|compose]" >&2; return 2; }; infinito administration deploy ci trigger --failed "${2:-total}" --run "$1"; }; __i8cifail' # retrigger failed and never-deployed priority roles of run $1 (id or url), scope $2 (default total), reproducing that run's configuration +alias i8cifail='__i8cifail(){ [ -z "${1:-}" ] && { echo "usage: i8cifail [total|swarm|compose]" >&2; return 2; }; ghaf "$1" || echo "i8cifail: force-cancel of run $1 reported nothing to cancel; continuing" >&2; infinito administration deploy ci trigger --failed "${2:-total}" --run "$1"; }; __i8cifail' # retrigger failed and never-deployed priority roles of run $1 (id or url), scope $2 (default total), reproducing that run'"'"'s configuration; force-cancels the run first so it stops holding runner slots alias i8cifo='__i8cifo(){ [ -z "${1:-}" ] && { echo "usage: i8cifo [total|swarm|compose]" >&2; return 2; }; infinito administration deploy ci trigger --failed "${2:-total}" --strict --run "$1"; }; __i8cifo' # like i8cifail but only hard-failed roles, excluding cancelled/aborted; scope $2 (default total) alias i8cire='__i8cire(){ make quality && gips && i8cifail "$1" swarm; }; __i8cire' alias i8co='m compose-deploy'