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
echo "> External trigger running off of master branch. To disable this trigger, set a Github secret named \`PAUSE_EXTERNAL_TRIGGER_OPENSSH_SERVER_MASTER\`" >> $GITHUB_STEP_SUMMARY
24
+
echo "> External trigger running off of master branch. To disable this trigger, add \`openssh-server_master\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY
echo "> New version detected, but not all artifacts are published yet; skipping trigger" >> $GITHUB_STEP_SUMMARY
94
+
FAILURE_REASON="New version ${EXT_RELEASE} for openssh-server tag latest is detected, however not all artifacts are uploaded to upstream release yet. Will try again later."
ls_branch=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-openssh-server/${br}/jenkins-vars.yml | yq -r '.ls_branch')
28
-
if [ "${br}" == "${ls_branch}" ]; then
29
+
JENKINS_VARS=$(curl -sX GET https://raw.githubusercontent.com/linuxserver/docker-openssh-server/${br}/jenkins-vars.yml)
30
+
if [[ "${br}" == $(yq -r '.ls_branch' <<< "${JENKINS_VARS}") ]]; then
29
31
echo "Branch appears to be live; checking workflow." >> $GITHUB_STEP_SUMMARY
30
-
if curl -sfX GET https://raw.githubusercontent.com/linuxserver/docker-openssh-server/${br}/.github/workflows/package_trigger.yml > /dev/null 2>&1; then
31
-
echo "Triggering package trigger workflow for branch ${br}" >> $GITHUB_STEP_SUMMARY
32
+
if [[ $(yq -r '.skip_package_check' <<< "${JENKINS_VARS}") == "true" ]]; then
33
+
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
34
+
echo "> Skipping branch ${br} due to \`skip_package_check\` being set in \`jenkins-vars.yml\`." >> $GITHUB_STEP_SUMMARY
35
+
skipped_branches="${skipped_branches}${br} "
36
+
elif grep -q "^openssh-server_${br}" <<< "${SKIP_PACKAGE_TRIGGER}"; then
**tip**: We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
314
+
>[!TIP]
315
+
>We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
0 commit comments