summaryrefslogtreecommitdiffstats
path: root/jjb/sandbox/sandbox-merge-jobs.yml
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-08-27 00:25:37 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-08-31 12:06:45 +0200
commite977155378fcbbd0826fa4a192b25273648d3782 (patch)
treee0877d31e042132403ccc18fa07f2b3ca742a3cc /jjb/sandbox/sandbox-merge-jobs.yml
parent2db98ec846c009a95085d69e32c4e0518095a50c (diff)
Create daily job for infra deployment, remove sandbox jobs and fix bugs
This change - creates upstream daily job to trigger and control the execution of jobs that provision nodes using bifrost, deployment using puppet-infracloud, and simple smoke test job. - fixes the hashbang placement in 2 of the scripts. - removes sandbox dummy jobs as the infra jobs can serve as examples now. Only the node provisioning job is functional at the moment. Change-Id: I311d159956d8b7ce3f7a500fac5a7dcb459104cf Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/sandbox/sandbox-merge-jobs.yml')
-rw-r--r--jjb/sandbox/sandbox-merge-jobs.yml159
1 files changed, 0 insertions, 159 deletions
diff --git a/jjb/sandbox/sandbox-merge-jobs.yml b/jjb/sandbox/sandbox-merge-jobs.yml
deleted file mode 100644
index 69fcb4330..000000000
--- a/jjb/sandbox/sandbox-merge-jobs.yml
+++ /dev/null
@@ -1,159 +0,0 @@
-- project:
- name: 'sandbox-merge-jobs'
-
- project: 'sandbox'
-
- installer: 'sandbox'
-
- stream:
- - master:
- branch: '{stream}'
- gs-pathname: ''
-
-# what are the verification activities we do for this installer
- activity:
- - 'basic'
- - 'build'
- - 'promote'
-
- jobs:
- - 'sandbox-merge-{stream}'
- - 'sandbox-merge-{activity}-{stream}'
-
-- job-template:
- name: 'sandbox-merge-{stream}'
-
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: '{branch}'
- - 'opnfv-build-ubuntu-defaults'
-
- wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- - timeout:
- timeout: 360
- fail: true
-
- triggers:
- - gerrit:
- trigger-on:
- - change-merged-event
- - comment-added-contains-event:
- comment-contains-value: 'remerge'
- projects:
- - project-compare-type: 'ANT'
- project-pattern: '{project}'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/{branch}'
- forbidden-file-paths:
- - compare-type: ANT
- pattern: 'docs/**'
- readable-message: true
-
- builders:
- - description-setter:
- description: "Built on $NODE_NAME"
- - '{project}-merge-builder'
- - trigger-builds:
- - project: 'sandbox-merge-basic-{stream}'
- current-parameters: false
- predefined-parameters: |
- GERRIT_BRANCH=$GERRIT_BRANCH
- GERRIT_REFSPEC=$GERRIT_REFSPEC
- GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
- block: true
- - trigger-builds:
- - project: 'sandbox-merge-build-{stream}'
- current-parameters: false
- predefined-parameters: |
- GERRIT_BRANCH=$GERRIT_BRANCH
- GERRIT_REFSPEC=$GERRIT_REFSPEC
- GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
- block: true
- - trigger-builds:
- - project: 'sandbox-merge-promote-{stream}'
- current-parameters: false
- predefined-parameters: |
- GERRIT_BRANCH=$GERRIT_BRANCH
- GERRIT_REFSPEC=$GERRIT_REFSPEC
- GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
- block: true
-
-- job-template:
- name: 'sandbox-merge-{activity}-{stream}'
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: '{ssh-credentials}'
- refspec: ''
- choosing-strategy: 'default'
-
- wrappers:
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
- - timeout:
- timeout: 360
- fail: true
-
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: '{branch}'
- - '{installer}-defaults'
- - '{project}-merge-{activity}-parameter'
-
- builders:
- - description-setter:
- description: "Built on $NODE_NAME"
- - '{project}-merge-{activity}-builder'
-
-#####################################
-# parameter builders
-#####################################
-- parameter:
- name: 'sandbox-merge-basic-parameter'
- parameters:
- - 'opnfv-build-ubuntu-defaults'
-
-- parameter:
- name: 'sandbox-merge-build-parameter'
- parameters:
- - 'opnfv-build-ubuntu-defaults'
-
-- parameter:
- name: 'sandbox-merge-promote-parameter'
- parameters:
- - 'opnfv-build-centos-defaults'
-#####################################
-# builder builders
-#####################################
-- builder:
- name: 'sandbox-merge-builder'
- builders:
- - shell:
- !include-raw: ./merge.sh
-
-- builder:
- name: 'sandbox-merge-basic-builder'
- builders:
- - shell:
- !include-raw: ./basic.sh
-
-- builder:
- name: 'sandbox-merge-build-builder'
- builders:
- - shell:
- !include-raw: ./build.sh
-
-- builder:
- name: 'sandbox-merge-promote-builder'
- builders:
- - shell:
- !include-raw: ./promote.sh