Keep manifest fixtures on RelWithDebInfo
Modular container CI / release-build (push) Failing after 2s

This commit is contained in:
faumaray committed 2026-08-01 18:37:46 +03:00
1 parent 63c5444586
commit d2e057988f
2 files changed
+11 -5

No files matched your search

+8 -4
View File
@@ -114,7 +114,8 @@ EOF
printf 'fake external shortener plugin 1.0.0\n' > \
"$root/share/echoion/bootstrap-plugins/url-shortener-external/1.0.0/url-shortener-external.so"
python3 "$PACKAGING_DIR/../scripts/generate-release-manifest.py" \
--root "$root" --version 1.2.3
--root "$root" --version 1.2.3 \
--build-type RelWithDebInfo
}
fake_bin=$TEST_ROOT/fake-bin
@@ -567,7 +568,8 @@ make_payload "$system_payload"
sed -i "s#/etc/systemd/system#$system_unit_root#g" \
"$system_payload/install.sh"
python3 "$PACKAGING_DIR/../scripts/generate-release-manifest.py" \
--root "$system_payload" --version 1.2.3
--root "$system_payload" --version 1.2.3 \
--build-type RelWithDebInfo
REAL_CHOWN=$(command -v chown)
REAL_CP=$(command -v cp)
@@ -760,14 +762,16 @@ printf '# changed uninstaller helper in 1.2.4\n' >> "$upgrade_payload/uninstall.
printf '# changed privileged updater helper in 1.2.4\n' >> \
"$upgrade_payload/bin/echoion-updater"
python3 "$PACKAGING_DIR/../scripts/generate-release-manifest.py" \
--root "$upgrade_payload" --version 1.2.4
--root "$upgrade_payload" --version 1.2.4 \
--build-type RelWithDebInfo
v2_payload=$TEST_ROOT/v2-payload
cp -a -- "$upgrade_payload" "$v2_payload"
sed -i 's/"version": "1.2.4"/"version": "2.0.0"/' \
"$v2_payload/manifest.json"
python3 "$PACKAGING_DIR/../scripts/generate-release-manifest.py" \
--root "$v2_payload" --version 2.0.0
--root "$v2_payload" --version 2.0.0 \
--build-type RelWithDebInfo
legacy_migration_prefix=$TEST_ROOT/legacy-migration
legacy_config_home=$TEST_ROOT/legacy-home
XDG_CONFIG_HOME=$legacy_config_home \
+3 -1
View File
@@ -172,7 +172,9 @@ def main() -> int:
parser.add_argument("--root", required=True, type=Path)
parser.add_argument("--version", required=True)
parser.add_argument(
"--build-type", choices=("RelWithDebInfo",), required=True
"--build-type",
choices=("RelWithDebInfo",),
default="RelWithDebInfo",
)
parser.add_argument("--output", type=Path)
arguments = parser.parse_args()