Fix CI/CD build dependencies interactive prompt
Some checks failed
Build Packages / Build libostree Backport (push) Successful in 9m31s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m6s
Build Packages / Build bootc Package (push) Failing after 1m12s
Build Packages / Create Combined Artifacts (push) Has been skipped
Some checks failed
Build Packages / Build libostree Backport (push) Successful in 9m31s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m6s
Build Packages / Build bootc Package (push) Failing after 1m12s
Build Packages / Create Combined Artifacts (push) Has been skipped
- Add DEBIAN_FRONTEND=noninteractive to prevent apt prompts - Add APT_LISTCHANGES_FRONTEND=none to disable package change notifications - Change from apt to apt-get for better CI/CD compatibility - Add apt-get update before installing build dependencies - Add --no-install-recommends flag to reduce package count This fixes the "Do you want to continue? [Y/n]" prompt that was causing the libostree backport build to fail in the CI environment.
This commit is contained in:
parent
e9f2b52dd6
commit
b8e6484059
1 changed files with 4 additions and 1 deletions
|
|
@ -63,7 +63,10 @@ jobs:
|
|||
- name: Install build dependencies
|
||||
run: |
|
||||
cd /opt/Projects/ostree-backport-noble/ostree-${OSTREE_VERSION}
|
||||
apt build-dep -y ./
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
export APT_LISTCHANGES_FRONTEND=none
|
||||
apt-get update
|
||||
apt-get build-dep -y --no-install-recommends ./
|
||||
|
||||
- name: Build libostree backport
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue