#!/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.
# 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
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"
&& 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"
build-timeout: 120
script: !include-raw-escape:
- install-yocto-prereq-centos.sh
- - verify-yocto.sh
+ - verify-inf.sh
jobs:
- oran-shell-verify
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
#!/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.
# 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
# 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"
echo "INFO: Upload ISO to Nexus: $cmd"
$cmd
-echo "--> upload-yocto.sh ends"
+echo "--> upload-inf.sh ends"
#!/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.
# 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
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"