You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Layer8Err , Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating.
Hi @Layer8Err - Could you please provide more information regarding this issue?
Our internal image generation CI pipelines are executing without any issue.
While running as a user with root access on Ubuntu:
cd /runner-images/images/ubuntu/scripts/build
sudo bash ./install-git.sh
When the script reaches line 27 to run the following command:
add-apt-repository --remove $GIT_REPO
The following output is shown:
root@lp-35539:/home/ubuntu# add-apt-repository --remove $GIT_REPO
PPA publishes dbgsym, you may need to include 'main/debug' component
Repository: 'Types: debURIs: https://ppa.launchpadcontent.net/git-core/ppa/ubuntu/Suites: nobleComponents: main'
Description:
The most current stable version of Git for Ubuntu.
For release candidates, go to https://launchpad.net/~git-core/+archive/candidate .
More info: https://launchpad.net/~git-core/+archive/ubuntu/ppa
Removing repository.
Press [ENTER] to continue or Ctrl-c to cancel.
The process hangs until user input is provided. Setting export DEBIAN_FRONTEND=noninteractive has no effect and the script still hangs. Adding the -y flag prevents this script from being stuck waiting for user input.
Description
When running
install-git.sh
in a headless session, a prompt is shown that requires user interaction in order to continue.Platforms affected
Runner images affected
Image version and build link
Current main branch
Is it regression?
no
Expected behavior
Git setup should be unattended
Actual behavior
There is no
-y
flag ininstall-git.sh
to remove the source repo. This causes a prompt to be shown and the install does not continue.Repro steps
Run
images/ubuntu/scripts/build/install-git.sh
the script halts on line #27.Problematic line:
add-apt-repository --remove $GIT_REPO
Proposed solution:
add-apt-repository --remove $GIT_REPO -y
The text was updated successfully, but these errors were encountered: