diff options
| author | Tranch <tranch.xiao@gmail.com> | 2026-07-30 04:28:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-30 04:28:40 +0800 |
| commit | 3c499e3332426024c32e24f94275b6004e046d57 (patch) | |
| tree | be4a8022ba6467528989105e0618ad55788949f5 /.github/workflows/validate-installer-iso.yml | |
| parent | b0ffd6511b03ba7109ed0fd4168a43bae977a94c (diff) | |
| parent | 40a5f50c69ec323c7c5d92f6357a9774017f67a1 (diff) | |
| download | AeroCore-OS-3c499e3332426024c32e24f94275b6004e046d57.tar.gz AeroCore-OS-3c499e3332426024c32e24f94275b6004e046d57.zip | |
Merge pull request #15 from AeroCore-IO/testing
Diffstat (limited to '.github/workflows/validate-installer-iso.yml')
| -rw-r--r-- | .github/workflows/validate-installer-iso.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/validate-installer-iso.yml b/.github/workflows/validate-installer-iso.yml index 391afd8..a93e9cd 100644 --- a/.github/workflows/validate-installer-iso.yml +++ b/.github/workflows/validate-installer-iso.yml @@ -39,6 +39,17 @@ jobs: done bash -n system_files/usr/libexec/aerocore-instruments-setup + - name: Validate Anaconda WebUI patch + run: | + fixture="$(mktemp)" + trap 'rm -f "${fixture}"' EXIT + printf '%s' 'n===0?r(new Error(X2("Password is too weak"))):o(' | + gzip -n > "${fixture}" + installer/patch-anaconda-webui.sh "${fixture}" + gzip -dc "${fixture}" | + grep -Fq 'n===0&&!e?r(new Error(X2("Password is too weak"))):o(' + installer/patch-anaconda-webui.sh "${fixture}" + - name: Validate installer polkit rules run: | for rule in installer/system_files/overrides/etc/polkit-1/rules.d/*.rules; do |
