Skip to content

Commit

Permalink
chore: Use devel release and no sbuild in integration CI (#5798)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealFalcon authored Oct 8, 2024
1 parent 4de61f3 commit 0f77b3c
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ defaults:
shell: sh -ex {0}

env:
RELEASE: focal
RELEASE: oracular

jobs:
build-package-and-run-tests:
Expand All @@ -32,8 +32,6 @@ jobs:
run: |
sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install \
fakeroot \
sbuild \
ubuntu-dev-tools \
tox \
wireguard \
Expand All @@ -45,13 +43,10 @@ jobs:
--system-pkg-names 2> /dev/null \
| tr '\n' ' ' \
)
sudo sbuild-adduser $USER
cp /usr/share/doc/sbuild/examples/example.sbuildrc /home/$USER/.sbuildrc
- name: Build package
run: |
./packages/bddeb -S -d --release ${{ env.RELEASE }}
sudo -E su $USER -c 'mk-sbuild ${{ env.RELEASE }}'
sudo -E su $USER -c 'DEB_BUILD_OPTIONS=nocheck sbuild --nolog --no-run-lintian --no-run-autopkgtest --verbose --dist=${{ env.RELEASE }} --build-dir=${{ runner.temp }} cloud-init_*.dsc'
DEB_BUILD_OPTIONS=nocheck ./packages/bddeb -d --release ${{ env.RELEASE }}
cp cloud-init_all.deb ${{ runner.temp }}
- name: Archive debs as artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 0f77b3c

Please sign in to comment.