X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ci%2Fci_build.ksh;h=40aa1f5c41675d280986f7d1c946dac564d2d035;hb=ec1fc36290957a31d7d6bb601c0b48c298013630;hp=31c821c28f098e5ee833fe0e41c54fe7800e1252;hpb=d4f18ba140f06b863ac51697d1a0d420bcd3ae6a;p=ric-plt%2Flib%2Frmr.git diff --git a/ci/ci_build.ksh b/ci/ci_build.ksh index 31c821c..40aa1f5 100644 --- a/ci/ci_build.ksh +++ b/ci/ci_build.ksh @@ -45,14 +45,12 @@ # stash a set of packages for a particular flavour ($1) # function stash_pkgs { - echo " - $1:" >>$yaml_file # add package flavour (dev, runtime, etc) - for pkg in deb rpm do ls .build/*.$pkg 2>/dev/null | while read f do cp $f $target_dir/${f##*/} - echo " $pkg: $target_dir/${f##*/}" >>$yaml_file + echo " - $target_dir/${f##*/}" >>$yaml_file done done @@ -109,16 +107,7 @@ mkdir -p .build ksh run_all.ksh # application based tests if units pass ) -# initialise the yaml file -cat <<-endKat >$yaml_file ---- -# package types which might be listed below -pkg_types: - - deb - - rpm - -packages: -endKat +printf "---\nfiles:\n" >$yaml_file # initialise the yaml file stash_pkgs development # testing good, stash dev packages built above