Compare commits

...

No commits in common. "a8" and "a10s" have entirely different histories.
a8 ... a10s

View File

@ -1,8 +1,41 @@
actions:
- replace:
- target: ".pcs.metadata"
rfind: "679a4ce22a33ffd4d704261a17c00cff98d9499a SOURCES/HAM-logo.png"
replace: "a1826c59be8be0b9321d6604cca0c26ddd9b81fd SOURCES/HAM-logo.png"
- target: "spec"
find: |
# Use long commit hash or branch name to build an unreleased version
replace: |
%global esbuild_version 0.25.12
# Use long commit hash or branch name to build an unreleased version
count: 1
- target: "spec"
find: |
Source101: https://github.com/ClusterLabs/pcs-web-ui/releases/download/%{ui_version_or_commit}/pcs-web-ui-node-modules-%{ui_modules_version}.tar.xz
replace: |
Source101: https://github.com/ClusterLabs/pcs-web-ui/releases/download/%{ui_version_or_commit}/pcs-web-ui-node-modules-%{ui_modules_version}.tar.xz
# Platform-specific esbuild binary for riscv64 (not included in the pre-built node_modules tarball)
Source102: https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-%{esbuild_version}.tgz
count: 1
- target: "spec"
find: |
# patch pcs sources
replace: |
# The pre-built node_modules tarball only ships esbuild binaries for the
# architecture it was built on. Install the riscv64 esbuild binary from a
# separate source so the web UI can be built on riscv64 as well.
%ifarch riscv64
_esbuild_dir=packages/app/node_modules/@esbuild/linux-riscv64
mkdir -p ${_esbuild_dir}
tar xzf %{SOURCE102} -C ${_esbuild_dir} --strip-components=1
%endif
# patch pcs sources
count: 1
- target: "sources"
find: |
SHA512 (pyagentx-0.4.pcs.2.tar.gz) = d4194fec9a3e5fefe3793d49b7fec1feafef294c7e613a06046c2993daeefc5cb39d7c5b2b402ff83e49b2d976953f862264288c758c0be09d997b5323cc558a
replace: |
SHA512 (pyagentx-0.4.pcs.2.tar.gz) = d4194fec9a3e5fefe3793d49b7fec1feafef294c7e613a06046c2993daeefc5cb39d7c5b2b402ff83e49b2d976953f862264288c758c0be09d997b5323cc558a
SHA512 (linux-riscv64-0.25.12.tgz) = 66beca478860294a560306f57f7a39ca04f4e0ccea56b18419718b9e3d796100c912b62efc11a0fb09859480ce749a743e607494bbf1148397660151add8d1d3
count: 1
- modify_release:
@ -10,7 +43,7 @@ actions:
enabled: true
- changelog_entry:
- name: "Eduard Abdullin"
email: "eabdullin@almalinux.org"
- name: "Andrew Lukoshko"
email: "alukoshko@almalinux.org"
line:
- "Debrand logo"
- "Added @esbuild/linux-riscv64 source to fix web UI build on riscv64"