Build containers / Compute changes (pull_request) Successful in 8s
Build containers / fedora-cosmic (rawhide) (pull_request) Canceled after 0s
Build containers / fedora-remote (44) (pull_request) Canceled after 0s
Build containers / fedora-intune (44) (pull_request) Canceled after 0s
Build containers / fedora-cosmic (44) (pull_request) Canceled after 7m11s
Build containers / Prune old releases and tags (pull_request) Skipped
Go with Entra ID sign-in through Himmelblau for fedora-intune and drop the Microsoft Intune app (intune-portal, identity broker) variant. With a single image, the workstation, Edge and Defender manifests move back from images/shared into images/fedora-intune, and CI builds just that image again. The Microsoft repo is now limited to mdatp and Edge. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
30 lines
922 B
Bash
Executable File
30 lines
922 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Given changed paths on stdin, print `cosmic=<bool>`, `remote=<bool>` and
|
|
# `intune=<bool>` so the workflow can skip images that didn't change. Shared
|
|
# files or build tooling changes rebuild everything; empty input
|
|
# (schedule/manual) rebuilds everything.
|
|
set -euo pipefail
|
|
|
|
changed="$(cat || true)"
|
|
|
|
all=0
|
|
[[ -z "${changed}" ]] && all=1
|
|
grep -qE '^(build\.sh|release\.sh|prune-releases\.sh|prune-registry\.sh|ci-changes\.sh|\.gitea/)' <<< "${changed}" && all=1
|
|
grep -qE '^images/shared/' <<< "${changed}" && all=1
|
|
|
|
cosmic=false
|
|
remote=false
|
|
intune=false
|
|
if [[ "${all}" == 1 ]]; then
|
|
cosmic=true
|
|
remote=true
|
|
intune=true
|
|
fi
|
|
grep -qE '^images/fedora-cosmic/' <<< "${changed}" && cosmic=true
|
|
grep -qE '^images/fedora-remote/' <<< "${changed}" && remote=true
|
|
grep -qE '^images/fedora-intune/' <<< "${changed}" && intune=true
|
|
|
|
echo "cosmic=${cosmic}"
|
|
echo "remote=${remote}"
|
|
echo "intune=${intune}"
|