maybe this time
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 2m24s
Build Packages / Build bootc Package (push) Has been skipped
Build Packages / Create Combined Artifacts (push) Has been skipped
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m20s
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 2m24s
Build Packages / Build bootc Package (push) Has been skipped
Build Packages / Create Combined Artifacts (push) Has been skipped
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m20s
This commit is contained in:
parent
2b51b8cba3
commit
7ea97468bf
1 changed files with 26 additions and 0 deletions
|
|
@ -94,6 +94,13 @@ jobs:
|
|||
cp -r /tmp/bootc-deb/* .
|
||||
cp -r /tmp/bootc-deb/.* . 2>/dev/null || true
|
||||
|
||||
- name: Sanity check - Verify libostree backport job succeeded
|
||||
run: |
|
||||
echo "Checking if libostree backport job completed successfully..."
|
||||
# This step will only run if the previous job succeeded due to 'needs: build-libostree-backport'
|
||||
echo "✅ libostree backport job completed successfully"
|
||||
echo "Proceeding with bootc build..."
|
||||
|
||||
- name: Setup build environment for bootc
|
||||
run: |
|
||||
apt update -y
|
||||
|
|
@ -107,16 +114,27 @@ jobs:
|
|||
- name: Apply compatibility patch
|
||||
run: |
|
||||
cd bootc-${BOOTC_VERSION}
|
||||
if [ ! -f ../bootc-libostree-compatibility.patch ]; then
|
||||
echo "❌ ERROR: bootc-libostree-compatibility.patch not found!"
|
||||
echo "This patch is required for bootc to work with the libostree backport."
|
||||
exit 1
|
||||
fi
|
||||
patch -p1 < ../bootc-libostree-compatibility.patch
|
||||
|
||||
- name: Copy debian packaging
|
||||
run: |
|
||||
cd bootc-${BOOTC_VERSION}
|
||||
if [ ! -d ../debian ]; then
|
||||
echo "❌ ERROR: debian packaging directory not found!"
|
||||
echo "The debian/ directory is required for building the package."
|
||||
exit 1
|
||||
fi
|
||||
cp -r ../debian .
|
||||
|
||||
- name: Build bootc package
|
||||
run: |
|
||||
cd bootc-${BOOTC_VERSION}
|
||||
echo "Building bootc package with libostree compatibility patch..."
|
||||
dpkg-buildpackage -us -uc -b
|
||||
|
||||
- name: List built packages
|
||||
|
|
@ -143,6 +161,14 @@ jobs:
|
|||
cp -r /tmp/bootc-deb/* .
|
||||
cp -r /tmp/bootc-deb/.* . 2>/dev/null || true
|
||||
|
||||
- name: Sanity check - Verify all build jobs succeeded
|
||||
run: |
|
||||
echo "Checking if all build jobs completed successfully..."
|
||||
# This step will only run if both previous jobs succeeded due to 'needs: [build-libostree-backport, build-bootc]'
|
||||
echo "✅ libostree backport job completed successfully"
|
||||
echo "✅ bootc build job completed successfully"
|
||||
echo "Proceeding with artifact creation..."
|
||||
|
||||
- name: Create combined artifacts
|
||||
run: |
|
||||
mkdir -p release-assets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue