Merge "jjb: xci: Do not check for the WORKSPACE variable"
authorFatih Degirmenci <fdegir@gmail.com>
Thu, 17 May 2018 09:39:20 +0000 (09:39 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 17 May 2018 09:39:20 +0000 (09:39 +0000)
114 files changed:
jjb/3rd_party_ci/odl-netvirt.yaml [moved from jjb/3rd_party_ci/odl-netvirt.yml with 100% similarity]
jjb/apex/apex-jjb-renderer.py
jjb/apex/apex-project-jobs.yaml [moved from jjb/apex/apex-project-jobs.yml with 100% similarity]
jjb/apex/apex-verify-jobs.yaml [moved from jjb/apex/apex-verify-jobs.yml with 100% similarity]
jjb/apex/apex.yaml [moved from jjb/apex/apex.yml with 100% similarity]
jjb/apex/apex.yaml.j2 [moved from jjb/apex/apex.yml.j2 with 100% similarity]
jjb/armband/armband-ci-jobs.yaml [moved from jjb/armband/armband-ci-jobs.yml with 98% similarity]
jjb/armband/armband-verify-jobs.yaml [moved from jjb/armband/armband-verify-jobs.yml with 100% similarity]
jjb/auto/auto.yaml [moved from jjb/auto/auto.yml with 100% similarity]
jjb/availability/availability.yaml [moved from jjb/availability/availability.yml with 100% similarity]
jjb/barometer/barometer.yaml [moved from jjb/barometer/barometer.yml with 100% similarity]
jjb/bottlenecks/bottlenecks-ci-jobs.yaml [moved from jjb/bottlenecks/bottlenecks-ci-jobs.yml with 100% similarity]
jjb/bottlenecks/bottlenecks-project-jobs.yaml [moved from jjb/bottlenecks/bottlenecks-project-jobs.yml with 100% similarity]
jjb/calipso/calipso.yaml [moved from jjb/calipso/calipso.yml with 100% similarity]
jjb/ci_gate_security/opnfv-ci-gate-security.yaml [moved from jjb/ci_gate_security/opnfv-ci-gate-security.yml with 100% similarity]
jjb/clover/clover-project.yaml [moved from jjb/clover/clover-project.yml with 100% similarity]
jjb/compass4nfv/compass-ci-jobs.yaml [moved from jjb/compass4nfv/compass-ci-jobs.yml with 100% similarity]
jjb/compass4nfv/compass-dovetail-jobs.yaml [moved from jjb/compass4nfv/compass-dovetail-jobs.yml with 100% similarity]
jjb/compass4nfv/compass-project-jobs.yaml [moved from jjb/compass4nfv/compass-project-jobs.yml with 100% similarity]
jjb/compass4nfv/compass-verify-jobs.yaml [moved from jjb/compass4nfv/compass-verify-jobs.yml with 100% similarity]
jjb/conductor/conductor.yaml [moved from jjb/conductor/conductor.yml with 100% similarity]
jjb/container4nfv/container4nfv-arm64.yaml [moved from jjb/container4nfv/container4nfv-arm64.yml with 100% similarity]
jjb/container4nfv/container4nfv-project.yaml [moved from jjb/container4nfv/container4nfv-project.yml with 100% similarity]
jjb/container4nfv/yardstick-arm64.yaml [moved from jjb/container4nfv/yardstick-arm64.yml with 100% similarity]
jjb/copper/copper.yaml [moved from jjb/copper/copper.yml with 100% similarity]
jjb/cperf/cperf-ci-jobs.yaml [moved from jjb/cperf/cperf-ci-jobs.yml with 100% similarity]
jjb/daisy4nfv/daisy-daily-jobs.yaml [moved from jjb/daisy4nfv/daisy-daily-jobs.yml with 100% similarity]
jjb/daisy4nfv/daisy-project-jobs.yaml [moved from jjb/daisy4nfv/daisy-project-jobs.yml with 100% similarity]
jjb/daisy4nfv/daisy4nfv-merge-jobs.yaml [moved from jjb/daisy4nfv/daisy4nfv-merge-jobs.yml with 100% similarity]
jjb/daisy4nfv/daisy4nfv-verify-jobs.yaml [moved from jjb/daisy4nfv/daisy4nfv-verify-jobs.yml with 100% similarity]
jjb/doctor/doctor.yaml [moved from jjb/doctor/doctor.yml with 100% similarity]
jjb/domino/domino.yaml [moved from jjb/domino/domino.yml with 100% similarity]
jjb/dovetail/dovetail-artifacts-upload.yaml [moved from jjb/dovetail/dovetail-artifacts-upload.yml with 100% similarity]
jjb/dovetail/dovetail-ci-jobs.yaml [moved from jjb/dovetail/dovetail-ci-jobs.yml with 100% similarity]
jjb/dovetail/dovetail-project-jobs.yaml [moved from jjb/dovetail/dovetail-project-jobs.yml with 100% similarity]
jjb/dovetail/dovetail-weekly-jobs.yaml [moved from jjb/dovetail/dovetail-weekly-jobs.yml with 100% similarity]
jjb/dpacc/dpacc.yaml [moved from jjb/dpacc/dpacc.yml with 100% similarity]
jjb/escalator/escalator.yaml [moved from jjb/escalator/escalator.yml with 100% similarity]
jjb/fuel/fuel-daily-jobs.yaml [moved from jjb/fuel/fuel-daily-jobs.yml with 100% similarity]
jjb/fuel/fuel-project-jobs.yaml [moved from jjb/fuel/fuel-project-jobs.yml with 100% similarity]
jjb/fuel/fuel-verify-jobs.yaml [moved from jjb/fuel/fuel-verify-jobs.yml with 100% similarity]
jjb/fuel/fuel-weekly-jobs.yaml [moved from jjb/fuel/fuel-weekly-jobs.yml with 100% similarity]
jjb/functest/functest-daily-jobs.yaml [moved from jjb/functest/functest-daily-jobs.yml with 100% similarity]
jjb/functest/functest-docker.yaml [moved from jjb/functest/functest-docker.yml with 100% similarity]
jjb/functest/functest-kubernetes-docker.yaml [moved from jjb/functest/functest-kubernetes-docker.yml with 100% similarity]
jjb/functest/functest-kubernetes-project-jobs.yaml [moved from jjb/functest/functest-kubernetes-project-jobs.yml with 100% similarity]
jjb/functest/functest-project-jobs.yaml [moved from jjb/functest/functest-project-jobs.yml with 100% similarity]
jjb/functest/functest-weekly-jobs.yaml [moved from jjb/functest/functest-weekly-jobs.yml with 100% similarity]
jjb/functest/xtesting-docker.yaml [moved from jjb/functest/xtesting-docker.yml with 100% similarity]
jjb/functest/xtesting-project-jobs.yaml [moved from jjb/functest/xtesting-project-jobs.yml with 100% similarity]
jjb/global-jjb
jjb/global/basic-jobs.yaml [moved from jjb/global/basic-jobs.yml with 100% similarity]
jjb/global/installer-params.yaml [moved from jjb/global/installer-params.yml with 100% similarity]
jjb/global/releng-defaults.yaml [moved from jjb/global/releng-defaults.yml with 100% similarity]
jjb/global/releng-macros.yaml [moved from jjb/global/releng-macros.yml with 98% similarity]
jjb/global/slave-params.yaml [moved from jjb/global/slave-params.yml with 100% similarity]
jjb/ipv6/ipv6.yaml [moved from jjb/ipv6/ipv6.yml with 100% similarity]
jjb/joid/joid-daily-jobs.yaml [moved from jjb/joid/joid-daily-jobs.yml with 100% similarity]
jjb/joid/joid-verify-jobs.yaml [moved from jjb/joid/joid-verify-jobs.yml with 100% similarity]
jjb/kvmfornfv/kvmfornfv.yaml [moved from jjb/kvmfornfv/kvmfornfv.yml with 100% similarity]
jjb/models/models.yaml [moved from jjb/models/models.yml with 100% similarity]
jjb/moon/moon.yaml [moved from jjb/moon/moon.yml with 100% similarity]
jjb/netready/netready.yaml [moved from jjb/netready/netready.yml with 100% similarity]
jjb/nfvbench/nfvbench.yaml [moved from jjb/nfvbench/nfvbench.yml with 100% similarity]
jjb/onosfw/onosfw.yaml [moved from jjb/onosfw/onosfw.yml with 100% similarity]
jjb/opera/opera-daily-jobs.yaml [moved from jjb/opera/opera-daily-jobs.yml with 100% similarity]
jjb/opera/opera-project-jobs.yaml [moved from jjb/opera/opera-project-jobs.yml with 100% similarity]
jjb/opera/opera-verify-jobs.yaml [moved from jjb/opera/opera-verify-jobs.yml with 100% similarity]
jjb/opnfvdocs/opnfvdocs.yaml [moved from jjb/opnfvdocs/opnfvdocs.yml with 100% similarity]
jjb/orchestra/orchestra-daily-jobs.yaml [moved from jjb/orchestra/orchestra-daily-jobs.yml with 100% similarity]
jjb/orchestra/orchestra-project-jobs.yaml [moved from jjb/orchestra/orchestra-project-jobs.yml with 100% similarity]
jjb/ovn4nfv/ovn4nfv-daily-jobs.yaml [moved from jjb/ovn4nfv/ovn4nfv-daily-jobs.yml with 100% similarity]
jjb/ovn4nfv/ovn4nfv-project-jobs.yaml [moved from jjb/ovn4nfv/ovn4nfv-project-jobs.yml with 100% similarity]
jjb/ovsnfv/ovsnfv.yaml [moved from jjb/ovsnfv/ovsnfv.yml with 100% similarity]
jjb/parser/parser.yaml [moved from jjb/parser/parser.yml with 100% similarity]
jjb/pharos/check-jinja2.yaml [moved from jjb/pharos/check-jinja2.yml with 100% similarity]
jjb/pharos/pharos.yaml [moved from jjb/pharos/pharos.yml with 100% similarity]
jjb/promise/promise.yaml [moved from jjb/promise/promise.yml with 100% similarity]
jjb/qtip/qtip-experimental-jobs.yaml [moved from jjb/qtip/qtip-experimental-jobs.yml with 100% similarity]
jjb/qtip/qtip-validate-jobs.yaml [moved from jjb/qtip/qtip-validate-jobs.yml with 100% similarity]
jjb/qtip/qtip-verify-jobs.yaml [moved from jjb/qtip/qtip-verify-jobs.yml with 100% similarity]
jjb/releng/artifact-cleanup.yaml [moved from jjb/releng/artifact-cleanup.yml with 100% similarity]
jjb/releng/compass4nfv-docker.yaml [moved from jjb/releng/compass4nfv-docker.yml with 100% similarity]
jjb/releng/opnfv-docker-arm.yaml [moved from jjb/releng/opnfv-docker-arm.yml with 100% similarity]
jjb/releng/opnfv-docker-custom.yaml [moved from jjb/releng/opnfv-docker-custom.yml with 100% similarity]
jjb/releng/opnfv-docker.yaml [moved from jjb/releng/opnfv-docker.yml with 100% similarity]
jjb/releng/opnfv-lint.yaml [moved from jjb/releng/opnfv-lint.yml with 100% similarity]
jjb/releng/opnfv-utils.yaml [moved from jjb/releng/opnfv-utils.yml with 100% similarity]
jjb/releng/releng-ci-jobs.yaml [new file with mode: 0644]
jjb/releng/releng-ci-jobs.yml [deleted file]
jjb/releng/releng-release-jobs.yaml [moved from jjb/releng/releng-release-jobs.yml with 100% similarity]
jjb/releng/testresults-automate.yaml [moved from jjb/releng/testresults-automate.yml with 100% similarity]
jjb/releng/testresults-verify.yaml [moved from jjb/releng/testresults-verify.yml with 100% similarity]
jjb/releng/verify-releng.sh [deleted file]
jjb/securedlab/check-jinja2.yaml [moved from jjb/securedlab/check-jinja2.yml with 100% similarity]
jjb/sfc/sfc-project-jobs.yaml [moved from jjb/sfc/sfc-project-jobs.yml with 100% similarity]
jjb/snaps/snaps-verify-jobs.yaml [moved from jjb/snaps/snaps-verify-jobs.yml with 100% similarity]
jjb/stor4nfv/stor4nfv-project.yaml [moved from jjb/stor4nfv/stor4nfv-project.yml with 100% similarity]
jjb/storperf/storperf-daily-jobs.yaml [moved from jjb/storperf/storperf-daily-jobs.yml with 100% similarity]
jjb/storperf/storperf-verify-jobs.yaml [moved from jjb/storperf/storperf-verify-jobs.yml with 100% similarity]
jjb/storperf/storperf.yaml [moved from jjb/storperf/storperf.yml with 100% similarity]
jjb/ves/ves.yaml [moved from jjb/ves/ves.yml with 100% similarity]
jjb/vnf_forwarding_graph/vnf_forwarding_graph.yaml [moved from jjb/vnf_forwarding_graph/vnf_forwarding_graph.yml with 100% similarity]
jjb/vswitchperf/vswitchperf.yaml [moved from jjb/vswitchperf/vswitchperf.yml with 100% similarity]
jjb/xci/bifrost-cleanup-job.yaml [moved from jjb/xci/bifrost-cleanup-job.yml with 100% similarity]
jjb/xci/bifrost-periodic-jobs.yaml [moved from jjb/xci/bifrost-periodic-jobs.yml with 100% similarity]
jjb/xci/bifrost-verify-jobs.yaml [moved from jjb/xci/bifrost-verify-jobs.yml with 100% similarity]
jjb/xci/osa-periodic-jobs.yaml [moved from jjb/xci/osa-periodic-jobs.yml with 100% similarity]
jjb/xci/xci-daily-jobs.yaml [moved from jjb/xci/xci-daily-jobs.yml with 100% similarity]
jjb/xci/xci-merge-jobs.yaml [moved from jjb/xci/xci-merge-jobs.yml with 100% similarity]
jjb/xci/xci-run-functest.sh
jjb/xci/xci-verify-jobs.yaml [moved from jjb/xci/xci-verify-jobs.yml with 100% similarity]
jjb/yardstick/yardstick-daily-jobs.yaml [moved from jjb/yardstick/yardstick-daily-jobs.yml with 100% similarity]
jjb/yardstick/yardstick-project-jobs.yaml [moved from jjb/yardstick/yardstick-project-jobs.yml with 100% similarity]

index b677843..0da47b5 100644 (file)
@@ -25,7 +25,7 @@ def render_jjb():
     with open('scenarios.yaml.hidden') as _:
         scenarios = yaml.safe_load(_)
 
-    template = env.get_template('apex.yml.j2')
+    template = env.get_template('apex.yaml.j2')
 
     print("Scenarios are: ")
     pprint.pprint(scenarios)
@@ -42,7 +42,7 @@ def render_jjb():
     output = template.render(scenarios=scenarios, gspathname=gspathname,
                              branch=branch, build_slave=build_slave)
 
-    with open('./apex.yml', 'w') as fh:
+    with open('./apex.yaml', 'w') as fh:
         fh.write(output)
 
 if __name__ == "__main__":
similarity index 100%
rename from jjb/apex/apex.yml
rename to jjb/apex/apex.yaml
similarity index 100%
rename from jjb/apex/apex.yml.j2
rename to jjb/apex/apex.yaml.j2
similarity index 98%
rename from jjb/armband/armband-ci-jobs.yml
rename to jjb/armband/armband-ci-jobs.yaml
index 5bf64c1..b8ffc16 100644 (file)
 - trigger:
     name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-master-trigger'
     triggers:
-      - timed: '0 1 * * 4,6'
+      - timed: '0 1 * * 1'
 - trigger:
     name: 'fuel-os-nosdn-nofeature-noha-armband-baremetal-master-trigger'
     triggers:
 - trigger:
     name: 'fuel-os-odl-nofeature-ha-armband-baremetal-master-trigger'
     triggers:
-      - timed: '0 1 * * 2,5,7'
+      - timed: '0 1 * * 3,7'
 - trigger:
     name: 'fuel-os-ovn-nofeature-ha-armband-baremetal-master-trigger'
     triggers:
 - trigger:
     name: 'fuel-os-nosdn-ovs-ha-armband-baremetal-master-trigger'
     triggers:
-      - timed: '0 1 * * 1,3'
+      - timed: '0 1 * * 4'
 # ---------------------------------------------------------------------
 # Enea Armband CI Baremetal Triggers running against fraser branch
 # ---------------------------------------------------------------------
 - trigger:
     name: 'fuel-os-nosdn-nofeature-ha-armband-baremetal-fraser-trigger'
     triggers:
-      - timed: '0 1 * * 4,6'
+      - timed: '0 1 * * 2'
 - trigger:
     name: 'fuel-os-nosdn-nofeature-noha-armband-baremetal-fraser-trigger'
     triggers:
 - trigger:
     name: 'fuel-os-odl-nofeature-ha-armband-baremetal-fraser-trigger'
     triggers:
-      - timed: '0 1 * * 2,5,7'
+      - timed: '0 1 * * 5'
 - trigger:
     name: 'fuel-os-ovn-nofeature-ha-armband-baremetal-fraser-trigger'
     triggers:
 - trigger:
     name: 'fuel-os-nosdn-ovs-ha-armband-baremetal-fraser-trigger'
     triggers:
-      - timed: '0 1 * * 1,3'
+      - timed: '0 1 * * 6'
 
 # --------------------------------------------------------------
 # Enea Armband CI Virtual Triggers running against master branch
similarity index 100%
rename from jjb/auto/auto.yml
rename to jjb/auto/auto.yaml
similarity index 100%
rename from jjb/copper/copper.yml
rename to jjb/copper/copper.yaml
similarity index 100%
rename from jjb/doctor/doctor.yml
rename to jjb/doctor/doctor.yaml
similarity index 100%
rename from jjb/domino/domino.yml
rename to jjb/domino/domino.yaml
similarity index 100%
rename from jjb/dpacc/dpacc.yml
rename to jjb/dpacc/dpacc.yaml
index 779110b..90e4e82 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 779110b5cd63f3eabb63598a1be79d9b9ba85464
+Subproject commit 90e4e825b3d0ac5959122c50e457419ad0cfe137
similarity index 98%
rename from jjb/global/releng-macros.yml
rename to jjb/global/releng-macros.yaml
index b7335fa..1ff4799 100644 (file)
             - 'origin/$BRANCH'
           timeout: 15
           per-build-tag: false
+          skip-tag: true
           shallow-clone: false
           use-author: false
           ignore-notify: false
           choosing-strategy: 'gerrit'
           refspec: '$GERRIT_REFSPEC'
           <<: *git-scm-defaults
+
+- scm:
+    name: git-scm-gerrit-with-submodules
+    scm:
+      - git:
+          choosing-strategy: 'gerrit'
+          refspec: '$GERRIT_REFSPEC'
+          submodule:
+            recursive: true
+            timeout: 20
+          <<: *git-scm-defaults
 - scm:
     name: git-scm-with-submodules
     scm:
           refspec: ''
           branches:
             - 'refs/heads/{branch}'
+          per-build-tag: false
           skip-tag: true
           wipe-workspace: true
           submodule:
     name: git-scm-openstack
     scm:
       - git: &git-scm-openstack-defaults
+          per-build-tag: false
+          skip-tag: true
           url: '$GIT_BASE'
           branches:
             - 'origin/$BRANCH'
similarity index 100%
rename from jjb/ipv6/ipv6.yml
rename to jjb/ipv6/ipv6.yaml
similarity index 100%
rename from jjb/models/models.yml
rename to jjb/models/models.yaml
similarity index 100%
rename from jjb/moon/moon.yml
rename to jjb/moon/moon.yaml
similarity index 100%
rename from jjb/onosfw/onosfw.yml
rename to jjb/onosfw/onosfw.yaml
similarity index 100%
rename from jjb/ovsnfv/ovsnfv.yml
rename to jjb/ovsnfv/ovsnfv.yaml
similarity index 100%
rename from jjb/parser/parser.yml
rename to jjb/parser/parser.yaml
similarity index 100%
rename from jjb/pharos/pharos.yml
rename to jjb/pharos/pharos.yaml
diff --git a/jjb/releng/releng-ci-jobs.yaml b/jjb/releng/releng-ci-jobs.yaml
new file mode 100644 (file)
index 0000000..2f85206
--- /dev/null
@@ -0,0 +1,15 @@
+---
+- project:
+    name: releng-builder-jobs
+    project: 'releng'
+    project-name: 'releng'
+
+    build-timeout: 10
+    build-node: 'lf-build1'
+    gerrit-server-name: 'gerrit.opnfv.org'
+    jenkins-ssh-credential: 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e'
+    jjb-version: '1.6.2'
+    lftools-version: '<1.0.0'
+
+    jobs:
+      - '{project-name}-ci-jobs'
diff --git a/jjb/releng/releng-ci-jobs.yml b/jjb/releng/releng-ci-jobs.yml
deleted file mode 100644 (file)
index 6fb6804..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
----
-- project:
-    name: releng-builder-jobs
-    jobs:
-      - 'releng-verify-jjb'
-      - 'releng-merge-jjb'
-      - 'releng-comment-jjb'
-
-    project: 'releng'
-
-- job-template:
-    name: releng-verify-jjb
-
-    parameters:
-      - project-parameter:
-          project: '{project}'
-          branch: 'master'
-
-    scm:
-      - git-scm-gerrit
-
-    triggers:
-      - gerrit:
-          server-name: 'gerrit.opnfv.org'
-          trigger-on:
-            - patchset-created-event:
-                exclude-drafts: 'false'
-                exclude-trivial-rebase: 'false'
-                exclude-no-code-change: 'false'
-            - draft-published-event
-            - comment-added-contains-event:
-                comment-contains-value: 'recheck'
-            - comment-added-contains-event:
-                comment-contains-value: 'reverify'
-          projects:
-            - project-compare-type: 'ANT'
-              project-pattern: 'releng'
-              branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/master'
-              file-paths:
-                - compare-type: ANT
-                  pattern: jjb/**
-                - compare-type: ANT
-                  pattern: jjb-templates/**
-                - compare-type: ANT
-                  pattern: utils/**
-
-
-    builders:
-      - shell:
-          !include-raw: verify-releng.sh
-
-    publishers:
-      - archive-artifacts:
-          artifacts: 'job_output/*'
-      - email-jenkins-admins-on-failure
-
-- job-template:
-    name: releng-comment-jjb
-
-    parameters:
-      - project-parameter:
-          project: '{project}'
-          branch: 'master'
-
-    scm:
-      - git-scm-gerrit
-
-    triggers:
-      - experimental:
-          project: '{project}'
-          branch: 'master'
-          files: 'jjb/**'
-
-    builders:
-      - shell:
-          !include-raw-escape: generate-job-list.sh
-      - report-build-result-to-gerrit
-
-- job-template:
-    name: 'releng-merge-jjb'
-
-    # builder-merge job to run JJB update
-    #
-    # This job's purpose is to update all the JJB
-
-    parameters:
-      - project-parameter:
-          project: '{project}'
-          branch: 'master'
-
-    properties:
-      - throttle:
-          max-per-node: 1
-          max-total: 1
-          option: 'project'
-
-    scm:
-      - git-scm
-
-    triggers:
-      - gerrit:
-          server-name: 'gerrit.opnfv.org'
-          trigger-on:
-            - change-merged-event
-            - comment-added-contains-event:
-                comment-contains-value: 'remerge'
-          projects:
-            - project-compare-type: 'ANT'
-              project-pattern: 'releng'
-              branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/master'
-              file-paths:
-                - compare-type: ANT
-                  pattern: jjb/**
-                - compare-type: ANT
-                  pattern: utils/**
-
-    builders:
-      - shell: |
-              source /opt/virtualenv/jenkins-job-builder/bin/activate
-              jenkins-jobs update -r --delete-old jjb/
diff --git a/jjb/releng/verify-releng.sh b/jjb/releng/verify-releng.sh
deleted file mode 100755 (executable)
index a6eaa0f..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-# SPDX-license-identifier: Apache-2.0
-##############################################################################
-# Copyright (c) 2016 Linux Foundation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
-#test for non-ascii characters, these can pass the test and end up breaking things in production
-for x in $(find . -name *\.yml -or -name *\.yaml -or -name *\.sh); do
-
-  if LC_ALL=C grep -q '[^[:print:][:space:]]' "$x"; then
-    echo "file "$x" contains non-ascii characters"
-    exit 1
-  fi
-
-done
-
-source /opt/virtualenv/jenkins-job-builder/bin/activate
-jenkins-jobs test -o job_output -r jjb/
similarity index 100%
rename from jjb/ves/ves.yml
rename to jjb/ves/ves.yaml
index 6d43c97..f46abe0 100755 (executable)
@@ -47,7 +47,7 @@ fi
 export XCI_PATH=/home/devuser/releng-xci
 export XCI_VENV=${XCI_PATH}/venv
 
-ssh -F $HOME/.ssh/${DISTRO}-xci-vm-config ${DISTRO}_xci_vm "source $XCI_VENV/bin/activate; while read var; do declare -x \"\${var}\" 2>/dev/null; done < ${XCI_PATH}/.cache/xci.env && cd releng-xci/xci && ansible-playbook -i installer/osa/files/$XCI_FLAVOR/inventory playbooks/prepare-functest.yml"
+ssh -F $HOME/.ssh/${DISTRO}-xci-vm-config ${DISTRO}_xci_vm "source $XCI_VENV/bin/activate; while read var; do declare -x \"\${var}\" 2>/dev/null; done < ${XCI_PATH}/.cache/xci.env && cd releng-xci/xci && ansible-playbook -i playbooks/dynamic_inventory.py playbooks/prepare-functest.yml"
 echo "Running functest"
 ssh -F $HOME/.ssh/${DISTRO}-xci-vm-config ${DISTRO}_xci_vm_opnfv "/root/run-functest.sh"
 # Record exit code