Update xtesting-pi via XtestingCI 06/72006/2
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 12 Feb 2021 09:42:22 +0000 (10:42 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 12 Feb 2021 09:53:20 +0000 (10:53 +0100)
Change-Id: I3b93c3655a73a64069773d49d30323f5fcece91d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
jjb/functest/xtesting-pi.yaml

index ef4609f..cf8a5e2 100644 (file)
@@ -9,58 +9,58 @@
     port:
     tag:
       - latest:
-          branch: master
+          branch: 'master'
           slave: lf-virtual1
       - leguer:
-          branch: stable/leguer
+          branch: 'master'
           slave: lf-virtual1
       - kali:
-          branch: stable/kali
+          branch: 'master'
           slave: lf-virtual1
       - jerma:
-          branch: stable/jerma
+          branch: 'master'
           slave: lf-virtual1
       - iruya:
-          branch: stable/iruya
+          branch: 'master'
           slave: lf-virtual1
       - hunter:
-          branch: stable/hunter
+          branch: 'master'
           slave: lf-virtual1
       - arm-latest:
-          branch: master
+          branch: 'master'
           slave: lf-virtual1
       - arm-leguer:
-          branch: stable/leguer
+          branch: 'master'
           slave: lf-virtual1
       - arm-kali:
-          branch: stable/kali
+          branch: 'master'
           slave: lf-virtual1
       - arm-jerma:
-          branch: stable/jerma
+          branch: 'master'
           slave: lf-virtual1
       - arm-iruya:
-          branch: stable/iruya
+          branch: 'master'
           slave: lf-virtual1
       - arm-hunter:
-          branch: stable/hunter
+          branch: 'master'
           slave: lf-virtual1
       - arm64-latest:
-          branch: master
+          branch: 'master'
           slave: lf-virtual1
       - arm64-leguer:
-          branch: stable/leguer
+          branch: 'master'
           slave: lf-virtual1
       - arm64-kali:
-          branch: stable/kali
+          branch: 'master'
           slave: lf-virtual1
       - arm64-jerma:
-          branch: stable/jerma
+          branch: 'master'
           slave: lf-virtual1
       - arm64-iruya:
-          branch: stable/iruya
+          branch: 'master'
           slave: lf-virtual1
       - arm64-hunter:
-          branch: stable/hunter
+          branch: 'master'
           slave: lf-virtual1
 
 - parameter:
       - random-string:
           name: build_tag
 
-- parameter:
-    name: xtesting-pi-branch
-    parameters:
-      - string:
-          name: branch
-          default: '{branch}'
-
-- parameter:
-    name: xtesting-pi-DEBUG
-    parameters:
-      - string:
-          name: DEBUG
-          default: 'true'
 
 - xtesting-pi-containers: &xtesting-pi-containers
     name: 'xtesting-pi-containers'
     builders:
       - shell: |
           set +x
-          [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
+          [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/results || true
           if [ "{repo}" = "_" ]; then
             image={container}:{tag}
           elif [ "{port}" = "None" ]; then
             -e S3_ENDPOINT_URL=https://storage.googleapis.com \
             -e S3_DST_URL=s3://artifacts.opnfv.org/xtesting/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
             -e HTTP_DST_URL=http://artifacts.opnfv.org/xtesting/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
+            -v /home/opnfv/xtesting/.boto:/root/.boto \
             -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
             -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
             -e NODE_NAME=$slave \
             -e BUILD_TAG=$BUILD_TAG \
             -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
-            -e DEBUG=$DEBUG \
-            -v /home/opnfv/xtesting/.boto:/root/.boto \
             $image run_tests -t {test} -p -r
 
 - builder:
     name: 'xtesting-pi-ollivier-xtesting-mts-pull'
     <<: *xtesting-pi-params
     container: 'xtesting-mts'
-    exclude:
-      - tag: hunter
-      - tag: iruya
-      - tag: jerma
-      - tag: kali
-      - tag: arm-hunter
-      - tag: arm-iruya
-      - tag: arm-jerma
-      - tag: arm-kali
-      - tag: arm-leguer
-      - tag: arm-latest
-      - tag: arm64-hunter
-      - tag: arm64-iruya
-      - tag: arm64-jerma
-      - tag: arm64-kali
     jobs:
       - 'xtesting-pi-{repo}-{container}-{tag}-pull'
 
     name: 'xtesting-pi-ollivier-xtesting-mts-rmi'
     <<: *xtesting-pi-params
     container: 'xtesting-mts'
-    exclude:
-      - tag: hunter
-      - tag: iruya
-      - tag: jerma
-      - tag: kali
-      - tag: arm-hunter
-      - tag: arm-iruya
-      - tag: arm-jerma
-      - tag: arm-kali
-      - tag: arm-leguer
-      - tag: arm-latest
-      - tag: arm64-hunter
-      - tag: arm64-iruya
-      - tag: arm64-jerma
-      - tag: arm64-kali
     jobs:
       - 'xtesting-pi-{repo}-{container}-{tag}-rmi'
 
           slave: '{slave}'
       - xtesting-pi-build_tag:
           build_tag: ''
-      - xtesting-pi-DEBUG:
-          DEBUG: 'true'
     builders:
       - xtesting-pi-run-containers:
           <<: *xtesting-pi-run-containers
       - fourth
       - fifth
       - sixth
-    exclude:
-      - tag: hunter
-        test: sixth
-      - tag: iruya
-        test: sixth
-      - tag: arm-hunter
-        test: sixth
-      - tag: arm-iruya
-        test: sixth
-      - tag: arm64-hunter
-        test: sixth
-      - tag: arm64-iruya
-        test: sixth
     privileged: 'false'
     network: bridge
     jobs:
     container: 'xtesting-mts'
     test:
       - seventh
-    exclude:
-      - tag: hunter
-        test: seventh
-      - tag: iruya
-        test: seventh
-      - tag: jerma
-        test: seventh
-      - tag: kali
-        test: seventh
-      - tag: arm-hunter
-        test: seventh
-      - tag: arm-iruya
-        test: seventh
-      - tag: arm-jerma
-        test: seventh
-      - tag: arm-kali
-        test: seventh
-      - tag: arm-leguer
-        test: seventh
-      - tag: arm-latest
-        test: seventh
-      - tag: arm64-hunter
-        test: seventh
-      - tag: arm64-iruya
-        test: seventh
-      - tag: arm64-jerma
-        test: seventh
-      - tag: arm64-kali
-        test: seventh
     privileged: 'false'
     network: bridge
     jobs:
     builders:
       - shell: |
           set +x
-          [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
           if [ "{repo}" = "_" ]; then
             image={container}:{tag}
           elif [ "{port}" = "None" ]; then
             -e S3_ENDPOINT_URL=https://storage.googleapis.com \
             -e S3_DST_URL=s3://artifacts.opnfv.org/xtesting \
             -e HTTP_DST_URL=http://artifacts.opnfv.org/xtesting \
+            -v /home/opnfv/xtesting/.boto:/root/.boto \
             -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
             -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
             -e BUILD_TAG=$BUILD_TAG \
             -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
-            -e DEBUG=$DEBUG \
-            -v /home/opnfv/xtesting/.boto:/root/.boto \
             $image zip_campaign
 
 - job-template:
           slave: '{slave}'
       - xtesting-pi-build_tag:
           build_tag: ''
-      - xtesting-pi-DEBUG:
-          DEBUG: 'true'
     builders:
       - xtesting-pi-zip:
           <<: *xtesting-pi-containers
           slave: '{slave}'
       - xtesting-pi-build_tag:
           build_tag: ''
-      - xtesting-pi-DEBUG:
-          DEBUG: 'true'
     properties:
       - build-blocker:
           use-build-blocker: true
           blocking-level: 'NODE'
           blocking-jobs:
-            - '^xtesting-pi-{tag}-(daily|check|gate)$'
+            - '^xtesting-pi-{tag}-(daily|docker|review)$'
     builders:
       - multijob:
           name: remove former images
             - name: 'xtesting-pi-{tag}-zip'
               <<: *xtesting-pi-jobs
 
-
 - project:
     name: 'xtesting-pi'
     <<: *xtesting-pi-params
       - last-success
       - last-failure
       - last-duration
-    regex: ^xtesting-pi-(arm.*-|amd64-)*[a-z]+-daily$
+    regex: ^xtesting-pi-[a-z]+-daily$