You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for br in $(git for-each-ref --format='%(refname:short)' refs/remotes)
21
23
do
22
24
br=$(echo "$br" | sed 's|origin/||g')
23
-
echo "Evaluating branch ${br}"
25
+
echo "**** Evaluating branch ${br} ****"
24
26
ls_branch=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-baseimage-alpine-nginx/${br}/jenkins-vars.yml \
25
27
| docker run --rm -i --entrypoint yq ghcr.io/linuxserver/yq -r .ls_branch)
26
28
if [ "$br" == "$ls_branch" ]; then
27
-
echo "${br} is a live branch, checking workflow."
29
+
echo "**** Branch ${br} appears to be live; checking workflow. ****"
28
30
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-baseimage-alpine-nginx/${br}/.github/workflows/external_trigger.yml > /dev/null 2>&1; then
29
31
echo "Workflow exists. Triggering external trigger workflow for branch ${br}."
for br in $(git for-each-ref --format='%(refname:short)' refs/remotes)
21
23
do
22
24
br=$(echo "$br" | sed 's|origin/||g')
23
-
echo "Evaluating branch ${br}"
25
+
echo "**** Evaluating branch ${br} ****"
24
26
ls_branch=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-baseimage-alpine-nginx/${br}/jenkins-vars.yml \
25
27
| docker run --rm -i --entrypoint yq ghcr.io/linuxserver/yq -r .ls_branch)
26
28
if [ "${br}" == "${ls_branch}" ]; then
27
-
echo "Branch ${br} appears to be live; triggering."
29
+
echo "**** Branch ${br} appears to be live; checking workflow. ****"
28
30
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-baseimage-alpine-nginx/${br}/.github/workflows/package_trigger.yml > /dev/null 2>&1; then
29
-
echo "Workflow exists. Triggering package trigger workflow for branch ${br}."
0 commit comments