Improve jjb for pti rtp project
Refactor merge job to offload the image building process
to a new release job which will be triggered once or twice
per release. This helps save resources of ci infrastructure
Issue-ID: INF-15
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: I23ed988e06451622d9f144e5f4a1380c3eff86ee
diff --git a/jjb/pti-rtp/pti-rtp.yaml b/jjb/pti-rtp/pti-rtp.yaml
index f4ed03e..e19d2dd 100644
--- a/jjb/pti-rtp/pti-rtp.yaml
+++ b/jjb/pti-rtp/pti-rtp.yaml
@@ -41,6 +41,17 @@
- project:
<<: *pti_rtp_common
name: pti-rtp-merge
+ # runs about 40 minutes
+ build-timeout: 60
+ script: !include-raw-escape:
+ - install-yocto-prereq-centos.sh
+ - verify-yocto.sh
+ jobs:
+ - oran-shell-merge
+
+- project:
+ <<: *pti_rtp_common
+ name: pti-rtp-release-merge
# demand 200GB storage
build-node: centos7-docker-2c-8g-200g
# runs about 18 hours
@@ -50,4 +61,4 @@
- build-yocto.sh
- upload-yocto.sh
jobs:
- - oran-shell-merge
+ - oran-shell-release