Harden signed feeds and RelWithDebInfo releases
Modular container CI / release-build (push) Has been cancelled
Modular container CI / release-build (push) Has been cancelled
This commit is contained in:
21 files changed
+243
-40
No files matched your search
+5
-2
@@ -6,7 +6,7 @@ usage() {
|
||||
usage: scripts/release.sh --version VERSION [options]
|
||||
|
||||
Options:
|
||||
--build-dir DIR Clean build directory (default: build-release)
|
||||
--build-dir DIR Clean build directory (default: build-relwithdebinfo)
|
||||
--dist-dir DIR Release output directory (default: dist)
|
||||
--jobs N Parallel build jobs
|
||||
--skip-tests Skip CTest and frontend tests
|
||||
@@ -65,7 +65,7 @@ source_dir=$(cd -- "$script_dir/.." && pwd -P)
|
||||
# shellcheck source=lib/docker-daemon-path.sh
|
||||
source "$script_dir/lib/docker-daemon-path.sh"
|
||||
version=
|
||||
build_dir="$source_dir/build-release"
|
||||
build_dir="$source_dir/build-relwithdebinfo"
|
||||
dist_dir="$source_dir/dist"
|
||||
jobs=
|
||||
run_tests=1
|
||||
@@ -460,6 +460,7 @@ elf_validation_args=(
|
||||
--root "$stage"
|
||||
--report "$dependency_report"
|
||||
--max-glibc 2.35
|
||||
--require-debug-info
|
||||
--forbid-content-prefix "$source_dir"
|
||||
--forbid-content-prefix "$build_dir"
|
||||
)
|
||||
@@ -561,6 +562,7 @@ python3 "$source_dir/scripts/collect-frontend-licenses.py" \
|
||||
python3 "$source_dir/scripts/generate-release-manifest.py" \
|
||||
--root "$stage" \
|
||||
--version "$version" \
|
||||
--build-type RelWithDebInfo \
|
||||
--output "$stage/manifest.json"
|
||||
|
||||
# Installer helpers are mutable prefix-level files and intentionally are not
|
||||
@@ -651,6 +653,7 @@ if ((package_components)); then
|
||||
--channel "$update_channel" \
|
||||
--sequence "$component_sequence" \
|
||||
--product-version "$version" \
|
||||
--build-type RelWithDebInfo \
|
||||
--toolchain-contract linux-x86_64-glibc-2.35-cxx26
|
||||
fi
|
||||
(
|
||||
|
||||
Reference in new issue
Block a user