Merge "Drop branch parameter from release-job projects"
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Wed, 1 Jul 2020 17:22:36 +0000 (17:22 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Wed, 1 Jul 2020 17:22:36 +0000 (17:22 +0000)
global-jjb
jjb/pti-rtp/build-inf.sh [moved from jjb/pti-rtp/build-yocto.sh with 85% similarity]
jjb/pti-rtp/install-yocto-prereq-centos.sh
jjb/pti-rtp/pti-rtp.yaml
jjb/pti-rtp/upload-inf.sh [moved from jjb/pti-rtp/upload-yocto.sh with 82% similarity]
jjb/pti-rtp/verify-inf.sh [moved from jjb/pti-rtp/verify-yocto.sh with 85% similarity]

index 89213a1..99e1a22 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 89213a114af3775da43b5f97c3584db516d49987
+Subproject commit 99e1a22608c6aa57ea78567683e98fcbcc9eb552
similarity index 85%
rename from jjb/pti-rtp/build-yocto.sh
rename to jjb/pti-rtp/build-inf.sh
index 5e9fbdc..3af0737 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-#   Copyright (C) 2019 Wind River Systems, Inc.
+#   Copyright (C) 2020 Wind River Systems, Inc.
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
 # Builds a Yocto image for real.
 # Assumes prereqs have already been installed.
 
-echo "--> build-yocto.sh"
+echo "--> build-inf.sh"
 
 # Ensure we fail the job if any steps fail.
 set -eu -o pipefail
@@ -25,8 +25,7 @@ set -eu -o pipefail
 dir=workspace
 echo "INFO: creating workspace $dir"
 mkdir $dir
-cmd="./scripts/build_oran.sh -w $dir"
+cmd="./scripts/build_inf.sh -w $dir"
 echo "INFO: invoking build script: $cmd"
 $cmd
-
-echo "--> build-yocto.sh ends"
+echo "--> build-inf.sh ends"
index 55c2abc..dc2c796 100644 (file)
@@ -30,4 +30,7 @@ sudo yum install -y epel-release \
   && sudo yum makecache \
   && sudo yum install -y $pkgs
 
+git config --global user.name "oran inf builder"
+git config --global user.email "oran.inf@windriver.com"
+
 echo "--> install-yocto-prereq-centos.sh ends"
index a3d8e9a..7a79582 100644 (file)
@@ -34,7 +34,7 @@
     build-timeout: 120
     script: !include-raw-escape:
         - install-yocto-prereq-centos.sh
-        - verify-yocto.sh
+        - verify-inf.sh
     jobs:
       - oran-shell-verify
 
@@ -45,7 +45,7 @@
     build-timeout: 120
     script: !include-raw-escape:
         - install-yocto-prereq-centos.sh
-        - verify-yocto.sh
+        - verify-inf.sh
     jobs:
       - oran-shell-merge
 
     name: pti-rtp-release-merge
     # demand 200GB storage
     build-node: centos7-docker-2c-8g-200g
-    # runs about 18 hours
-    build-timeout: 1200
+    # runs about 35 hours
+    build-timeout: 2100
     script: !include-raw-escape:
         - install-yocto-prereq-centos.sh
-        - build-yocto.sh
-        - upload-yocto.sh
+        - build-inf.sh
+        - upload-inf.sh
     jobs:
       - oran-shell-release
similarity index 82%
rename from jjb/pti-rtp/upload-yocto.sh
rename to jjb/pti-rtp/upload-inf.sh
index 35b4bae..d95b282 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-#   Copyright (C) 2019 Wind River Systems, Inc.
+#   Copyright (C) 2020 Wind River Systems, Inc.
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
 
 # Uploads a Yocto image to Nexus.
 
-echo "--> upload-yocto.sh"
+echo "--> upload-inf.sh"
 
 # Ensure we fail the job if any steps fail.
 set -eu -o pipefail
@@ -41,7 +41,8 @@ mkdir -p "$repo_iso_dir"
 
 # Expect ISO file: oran-image-inf-host-intel-x86-64.iso
 # in build subdir: workspace/prj_oran-inf/tmp-glibc/deploy/images/intel-x86-64/
-iso="workspace/prj_oran-inf/tmp-glibc/deploy/images/intel-x86-64/oran-image-inf-host-intel-x86-64.iso"
+#iso="workspace/prj_oran-inf/tmp-glibc/deploy/images/intel-x86-64/oran-image-inf-host-intel-x86-64.iso"
+iso="workspace/prj_oran_inf_anaconda/tmp-glibc/deploy/images/intel-corei7-64/inf-image-aio-installer-intel-corei7-64.iso"
 echo "INFO: copy $iso to staging directory $repo_iso_dir"
 cp "$iso" "$repo_iso_dir"
 
@@ -49,4 +50,4 @@ cmd="lftools deploy nexus $nexus_repo_url $repo_dir"
 echo "INFO: Upload ISO to Nexus: $cmd"
 $cmd
 
-echo "--> upload-yocto.sh ends"
+echo "--> upload-inf.sh ends"
similarity index 85%
rename from jjb/pti-rtp/verify-yocto.sh
rename to jjb/pti-rtp/verify-inf.sh
index da13788..2d7b44b 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-#   Copyright (C) 2019 Wind River Systems, Inc.
+#   Copyright (C) 2020 Wind River Systems, Inc.
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
 # Tests creation of a Yocto image.  The "-n" flag skips bitbake.
 # Assumes prereqs have already been installed.
 
-echo "--> verify-yocto.sh"
+echo "--> verify-inf.sh"
 
 # Ensure we fail the job if any steps fail.
 set -eu -o pipefail
@@ -25,8 +25,8 @@ set -eu -o pipefail
 dir=workspace
 echo "INFO: creating workspace $dir"
 mkdir $dir
-cmd="./scripts/build_oran.sh -w $dir -n"
+cmd="./scripts/build_inf.sh -w $dir -n"
 echo "INFO: invoking build script: $cmd"
 $cmd
 
-echo "--> verify-yocto.sh ends"
+echo "--> verify-inf.sh ends"