Rename files under jjb from 'yml' to 'yaml'
[releng.git] / jjb / qtip / qtip-validate-jobs.yaml
diff --git a/jjb/qtip/qtip-validate-jobs.yaml b/jjb/qtip/qtip-validate-jobs.yaml
new file mode 100644 (file)
index 0000000..0fc623c
--- /dev/null
@@ -0,0 +1,159 @@
+---
+#######################
+# validate after MERGE
+#######################
+- project:
+    name: qtip
+    project: qtip
+
+    # -------------------------------
+    # BRANCH ANCHORS
+    # -------------------------------
+    master: &master
+      stream: master
+      branch: '{stream}'
+      gs-pathname: ''
+      docker-tag: latest
+    fraser: &fraser
+      stream: fraser
+      branch: 'stable/{stream}'
+      gs-pathname: '{stream}'
+      docker-tag: 'stable'
+
+    # -------------------------------
+    # JOB VARIABLES
+    # -------------------------------
+    qpi:
+      - compute:
+          installer: apex
+          pod: zte-virtual5
+          sut: node
+          <<: *master
+      - storage:
+          installer: apex
+          pod: zte-virtual5
+          sut: ''
+          <<: *master
+      - network:
+          installer: apex
+          pod: zte-virtual5
+          sut: ''
+          <<: *master
+      - compute:
+          installer: fuel
+          pod: zte-virtual6
+          sut: vnf
+          <<: *master
+      - compute:
+          installer: apex
+          pod: zte-virtual5
+          sut: node
+          <<: *fraser
+      - storage:
+          installer: apex
+          pod: zte-virtual5
+          sut: ''
+          <<: *fraser
+      - compute:
+          installer: fuel
+          pod: zte-virtual6
+          sut: vnf
+          <<: *fraser
+
+
+    # -------------------------------
+    # JOB LIST
+    # -------------------------------
+    jobs:
+      - 'qtip-{qpi}-{installer}-{pod}-{stream}'
+
+################################
+# job templates
+################################
+- job-template:
+    name: 'qtip-{qpi}-{installer}-{pod}-{stream}'
+    disabled: false
+
+    parameters:
+      - project-parameter:
+          project: '{project}'
+          branch: '{branch}'
+      - '{installer}-defaults'
+      - '{pod}-defaults'
+      - string:
+          name: DEPLOY_SCENARIO
+          default: generic
+      - string:
+          name: DOCKER_TAG
+          default: '{docker-tag}'
+          description: 'Tag to pull docker image'
+      - string:
+          name: CI_DEBUG
+          default: 'false'
+          description: "Show debug output information"
+      - string:
+          name: TEST_SUITE
+          default: '{qpi}'
+      - string:
+          name: TESTAPI_URL
+          default: 'http://testresults.opnfv.org/test/api/v1'
+      - string:
+          name: OPNFV_RELEASE
+          default: '{stream}'
+      - string:
+          name: SUT
+          description: "System Under Test"
+          default: '{sut}'
+    scm:
+      - git-scm
+
+    wrappers:
+      - timeout:
+          timeout: 120
+          abort: true
+      - timestamps
+
+    triggers:
+      - 'qtip-daily'
+
+    builders:
+      - description-setter:
+          description: "POD: $NODE_NAME"
+      - shell: |
+          #!/bin/bash
+          source tests/ci/periodic.sh
+
+    publishers:
+      - qtip-common-publishers
+      - email-jenkins-admins-on-failure
+
+################
+# MARCOS
+################
+
+# --------
+# builder
+# --------
+
+# ----------
+# parameter
+# ----------
+
+# ----------
+# publisher
+# ----------
+
+- publisher:
+    name: qtip-common-publishers
+    publishers:
+      - email:
+          recipients: wu.zhihui1@zte.com.cn, zhang.yujunz@zte.com.cn
+
+# --------
+# trigger
+# --------
+
+- trigger:
+    name: 'qtip-daily'
+    triggers:
+      - timed: '0 15 * * *'