mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-02-25 10:59:18 +00:00
fix: Fix CI build.
* WIP in github_action_xcat_test.pl * Fix typo in build-ubunturepo.sh Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
This commit is contained in:
@@ -89,7 +89,7 @@ if [ "$SETUP" = "1" ];then
|
||||
|
||||
apt-get -y install $REPREPO $DEVSCRIPTS $DEBHELPER $QUILT
|
||||
|
||||
echo "Finised setup for xcat-dep build. Rerun this script with SETUP=0 LOCAL_KEY=1 flags"
|
||||
echo "Finished setup for xcat-dep build. Rerun this script with SETUP=0 LOCAL_KEY=1 flags"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -281,6 +281,7 @@ sub build_xcat_core{
|
||||
|
||||
my $cmd = "sudo ./build-ubunturepo -c UP=0 BUILDALL=1 GPGSIGN=0";
|
||||
@output = runcmd("$cmd");
|
||||
print join "", map { "build-ubunturepo.out: $_\n" } @output;
|
||||
if($::RUNCMD_RC){
|
||||
my $lastline = $output[-1];
|
||||
$lastline =~ s/[\r\n\t\\"']*//g;
|
||||
|
||||
Reference in New Issue
Block a user