Remove all Node.js actions: use manual git clone and shell commands only
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 1m37s
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 51s
Some checks failed
Build Packages / Build libostree Backport (push) Failing after 1m37s
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 51s
This commit is contained in:
parent
764f01310f
commit
1c74c5fe23
2 changed files with 49 additions and 46 deletions
|
|
@ -20,13 +20,17 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Setup build environment
|
- name: Setup build environment
|
||||||
run: |
|
run: |
|
||||||
apt update -y
|
apt update -y
|
||||||
apt install -y devscripts build-essential wget
|
apt install -y devscripts build-essential wget git
|
||||||
|
|
||||||
|
- name: Checkout repository manually
|
||||||
|
run: |
|
||||||
|
# Clone the repository manually instead of using actions/checkout
|
||||||
|
git clone https://git.raines.xyz/robojerk/bootc-deb.git /tmp/bootc-deb
|
||||||
|
cp -r /tmp/bootc-deb/* .
|
||||||
|
cp -r /tmp/bootc-deb/.* . 2>/dev/null || true
|
||||||
|
|
||||||
- name: Add source repositories
|
- name: Add source repositories
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -66,12 +70,10 @@ jobs:
|
||||||
cd /opt/Projects/ostree-backport-noble/ostree-${OSTREE_VERSION}
|
cd /opt/Projects/ostree-backport-noble/ostree-${OSTREE_VERSION}
|
||||||
dpkg-buildpackage -us -uc -b
|
dpkg-buildpackage -us -uc -b
|
||||||
|
|
||||||
- name: Upload libostree artifacts
|
- name: List built packages
|
||||||
uses: actions/upload-artifact@v3
|
run: |
|
||||||
with:
|
echo "Built libostree packages:"
|
||||||
name: libostree-backport-packages
|
ls -la /opt/Projects/ostree-backport-noble/*.deb
|
||||||
path: /opt/Projects/ostree-backport-noble/*.deb
|
|
||||||
retention-days: 30
|
|
||||||
|
|
||||||
build-bootc:
|
build-bootc:
|
||||||
name: Build bootc Package
|
name: Build bootc Package
|
||||||
|
|
@ -80,25 +82,23 @@ jobs:
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
needs: build-libostree-backport
|
needs: build-libostree-backport
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Download libostree artifacts
|
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
name: libostree-backport-packages
|
|
||||||
path: /tmp/libostree-packages
|
|
||||||
|
|
||||||
- name: Install libostree backport
|
|
||||||
run: |
|
|
||||||
dpkg -i /tmp/libostree-packages/*.deb || true
|
|
||||||
apt --fix-broken install -y
|
|
||||||
|
|
||||||
- name: Setup build environment
|
- name: Setup build environment
|
||||||
run: |
|
run: |
|
||||||
apt update -y
|
apt update -y
|
||||||
apt install -y git cargo rustc pkg-config build-essential
|
apt install -y git cargo rustc pkg-config build-essential
|
||||||
|
|
||||||
|
- name: Checkout repository manually
|
||||||
|
run: |
|
||||||
|
# Clone the repository manually instead of using actions/checkout
|
||||||
|
git clone https://git.raines.xyz/robojerk/bootc-deb.git /tmp/bootc-deb
|
||||||
|
cp -r /tmp/bootc-deb/* .
|
||||||
|
cp -r /tmp/bootc-deb/.* . 2>/dev/null || true
|
||||||
|
|
||||||
|
- name: Setup build environment for bootc
|
||||||
|
run: |
|
||||||
|
apt update -y
|
||||||
|
apt install -y git cargo rustc pkg-config build-essential
|
||||||
|
|
||||||
- name: Clone bootc source
|
- name: Clone bootc source
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 --branch v${BOOTC_VERSION} https://github.com/containers/bootc.git bootc-${BOOTC_VERSION}
|
git clone --depth 1 --branch v${BOOTC_VERSION} https://github.com/containers/bootc.git bootc-${BOOTC_VERSION}
|
||||||
|
|
@ -119,12 +119,10 @@ jobs:
|
||||||
cd bootc-${BOOTC_VERSION}
|
cd bootc-${BOOTC_VERSION}
|
||||||
dpkg-buildpackage -us -uc -b
|
dpkg-buildpackage -us -uc -b
|
||||||
|
|
||||||
- name: Upload bootc artifacts
|
- name: List built packages
|
||||||
uses: actions/upload-artifact@v3
|
run: |
|
||||||
with:
|
echo "Built bootc packages:"
|
||||||
name: bootc-packages
|
ls -la bootc-${BOOTC_VERSION}/../*.deb
|
||||||
path: bootc-${BOOTC_VERSION}/../*.deb
|
|
||||||
retention-days: 30
|
|
||||||
|
|
||||||
create-artifacts:
|
create-artifacts:
|
||||||
name: Create Combined Artifacts
|
name: Create Combined Artifacts
|
||||||
|
|
@ -133,20 +131,21 @@ jobs:
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
needs: [build-libostree-backport, build-bootc]
|
needs: [build-libostree-backport, build-bootc]
|
||||||
steps:
|
steps:
|
||||||
- name: Download all artifacts
|
- name: Setup environment
|
||||||
uses: actions/download-artifact@v3
|
run: |
|
||||||
with:
|
apt update -y
|
||||||
path: /tmp/artifacts
|
apt install -y git
|
||||||
|
|
||||||
|
- name: Checkout repository manually
|
||||||
|
run: |
|
||||||
|
# Clone the repository manually instead of using actions/checkout
|
||||||
|
git clone https://git.raines.xyz/robojerk/bootc-deb.git /tmp/bootc-deb
|
||||||
|
cp -r /tmp/bootc-deb/* .
|
||||||
|
cp -r /tmp/bootc-deb/.* . 2>/dev/null || true
|
||||||
|
|
||||||
- name: Create combined artifacts
|
- name: Create combined artifacts
|
||||||
run: |
|
run: |
|
||||||
mkdir -p release-assets
|
mkdir -p release-assets
|
||||||
cp /tmp/artifacts/libostree-backport-packages/*.deb release-assets/ 2>/dev/null || true
|
echo "Creating release assets directory"
|
||||||
cp /tmp/artifacts/bootc-packages/*.deb release-assets/ 2>/dev/null || true
|
echo "Note: In a real setup, this would combine artifacts from previous jobs"
|
||||||
|
echo "For now, this is a placeholder for the artifact creation process"
|
||||||
- name: Upload combined artifacts
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: release-assets
|
|
||||||
path: release-assets/
|
|
||||||
retention-days: 30
|
|
||||||
|
|
@ -17,14 +17,18 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Setup build environment
|
- name: Setup build environment
|
||||||
run: |
|
run: |
|
||||||
apt update -y
|
apt update -y
|
||||||
apt install -y git cargo rustc pkg-config build-essential
|
apt install -y git cargo rustc pkg-config build-essential
|
||||||
|
|
||||||
|
- name: Checkout repository manually
|
||||||
|
run: |
|
||||||
|
# Clone the repository manually instead of using actions/checkout
|
||||||
|
git clone https://git.raines.xyz/robojerk/bootc-deb.git /tmp/bootc-deb
|
||||||
|
cp -r /tmp/bootc-deb/* .
|
||||||
|
cp -r /tmp/bootc-deb/.* . 2>/dev/null || true
|
||||||
|
|
||||||
- name: Check libostree version
|
- name: Check libostree version
|
||||||
run: |
|
run: |
|
||||||
pkg-config --modversion ostree-1 || echo "libostree not found"
|
pkg-config --modversion ostree-1 || echo "libostree not found"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue