Skip to content

Commit 413f26b

Browse files
committed
fix(ci): add x-skip-install-test flag for first-build bootstrapping
e2e-install reads the live gh-pages Flatpak index, which is updated by update-index.yml only after a fully successful build run. On a first-time app build the app is not yet in the index, causing flatpak install to fail with 'Nothing matches <app-id> in remote testhub', which fails the build, which prevents update-index from running — a circular dependency. Add x-skip-install-test: true support in e2e-install's arch-check step (manifest.yaml apps only) so new apps can pass CI on their first build. Set the flag on io.github.DenysMb.Kontainer for bootstrapping; remove after the index is updated. Also clean up stale test comment in manifest.yaml. Assisted-by: Claude Sonnet 4.6 via OpenCode
1 parent dcaad77 commit 413f26b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,6 +1062,11 @@ jobs:
10621062
echo "==> Skipping ${{ matrix.app }} install-test (x-disabled: true)"
10631063
echo "skip=true" >> "$GITHUB_OUTPUT"
10641064
fi
1065+
SKIP_INSTALL=$(yq '.["x-skip-install-test"] // ""' "flatpaks/${{ matrix.app }}/manifest.yaml")
1066+
if [[ "${SKIP_INSTALL}" == "true" ]]; then
1067+
echo "==> Skipping ${{ matrix.app }} install-test (x-skip-install-test: true)"
1068+
echo "skip=true" >> "$GITHUB_OUTPUT"
1069+
fi
10651070
fi
10661071
10671072
- name: Read app-id from manifest

flatpaks/io.github.DenysMb.Kontainer/manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Auto-imported from flatpak-tracker issue #528 — do not edit manually
2-
# test: trigger build to verify lowercase-fix (will be squashed on merge)
32
runtime: org.kde.Platform
43
runtime-version: '6.10'
54
sdk: org.kde.Sdk
@@ -28,3 +27,4 @@ x-version: '1.4.1'
2827
x-arches:
2928
- x86_64
3029
x-skip-chunkah: true
30+
x-skip-install-test: true

0 commit comments

Comments
 (0)