engine: Ignore releasenotes directory 59/4159/1
authorFatih Degirmenci <fdegir@gmail.com>
Tue, 24 Mar 2020 15:03:16 +0000 (15:03 +0000)
committerFatih Degirmenci <fdegir@gmail.com>
Tue, 24 Mar 2020 15:03:16 +0000 (15:03 +0000)
Change-Id: Idf0632bb9cb82184c2f0b393a201025bc41d8049

jjb/engine/periodic-jobs/engine-periodic-offline-deploy-test.yaml
jjb/engine/scripts/functest.sh
jjb/engine/scripts/promote.sh
jjb/engine/verify-jobs/engine-verify-deployment-parent-jobs.yaml

index 5a77c400aa3bdf7ce81e30d835d213f77e6540b6..39c575d80aafcc2304b5415e2cee59b22beaffc3 100644 (file)
@@ -40,7 +40,7 @@
           provisioner-type: bifrost
           installer-type: kubespray
           slave-label: baremetal-deploy
-          yardstick-dispatcher: 'influxdb'
+          yardstick-dispatcher: 'file'
 
     environment-type:
       - offline:
           name: IDF
           default: '{idf}/${{NODE_NAME}}-idf.yml'
           description: 'IDF file to use for deployment'
-      - string:
-          name: TEST_REPO_URL
-          default: 'https://gerrit.nordix.org/infra/test.git'
-          description: 'URL to clone the test repo from'
-      - string:
-          name: TEST_FW
-          default: 'functest'
-          description: 'Test framework to use'
-      - string:
-          name: TEST_SUITE
-          default: 'smoke'
-          description: 'Test suite to run'
-      - string:
-          name: YARDSTICK_DISPATCHER
-          default: '{yardstick-dispatcher}'
-          description: 'Dispatcher to use for Yardstick reporting'
 
     properties:
       - logrotate
 
     disabled: '{obj:disabled}'
 
+    parameters:
+      - string:
+          name: TEST_REPO_URL
+          default: 'https://gerrit.nordix.org/infra/test.git'
+          description: 'URL to clone the test repo from'
+      - string:
+          name: TEST_FW
+          default: '{phase}'
+          description: 'Test framework to use'
+      - string:
+          name: TEST_SUITE
+          default: 'smoke'
+          description: 'Test suite to run'
+      - string:
+          name: YARDSTICK_DISPATCHER
+          default: '{yardstick-dispatcher}'
+          description: 'Dispatcher to use for Yardstick reporting'
+
     properties:
       - logrotate
       - throttle:
index 8799ce931439ec74c2c6052581369a2a86eb28c7..e942011258dd40eccbe5f48d6ab7fb293d64dd35 100755 (executable)
@@ -29,8 +29,8 @@ fi
 
 # NOTE (fdegir): delete unnecessary stuff to free up space on baremetal jumphost
 sudo /bin/rm -rf /tmp/$ARTIFACT_TO_DOWNLOAD ~/.ara \
-    /opt/test /opt/stack /httpboot /opt/engine/offline/binaries /opt/engine/offline/containers \
-    /opt/engine/offline/dib /opt/engine/offline/pkg /tmp/kubespray_cache > /dev/null 2>&1 || true
+    /opt/test /opt/stack /httpboot /opt/engine/offline/binaries /opt/engine/offline/dib \
+    /tmp/kubespray_cache > /dev/null 2>&1 || true
 sudo docker images -a --format {{.ID}} | xargs -n 1 sudo docker rmi -f > /dev/null 2>&1 || true
 
 echo "Info  : Cloning infra/test repository"
index ed56c6ad48aef4df75582fcd1cef9fefa5405187..786e84eed1693201fd71b3659b882abab8f1b929 100755 (executable)
@@ -24,7 +24,7 @@ set -o pipefail
 
 if [[ "$EXECUTION_MODE" == "offline-deployment" ]]; then
   cd /tmp
-  URL_TO_UPLOAD=$NORDIX_ARM_HTTPS_URL/$NORDIX_ARM_REPO/installer/oss/$ARTIFACT_ARM_FOLDER/latest
+  URL_TO_UPLOAD=$NORDIX_ARM_HTTPS_URL/$NORDIX_ARM_REPO/installer/oss/release/latest
   for ARTIFACT_TO_UPLOAD in $ARTIFACTS_TO_UPLOAD; do
     echo "Info  : Generating checksums for $ARTIFACT_TO_UPLOAD"
     ARTIFACT_MD5SUM=$(md5sum $ARTIFACT_TO_UPLOAD | cut -d' ' -f1)
index 3121a3d6f58e95ca5656bb9156e0f246236bbc4d..37fc4747ccba055012f3ab725b92c0c7e4002bd1 100644 (file)
               disable-strict-forbidden-file-verification: 'true'
               forbidden-file-paths:
                 - compare-type: ANT
-                  pattern: 'docs/**'
+                  pattern: 'docs/**|releasenotes/**'
           skip-vote:
             successful: '{obj:successful}'
             failed: '{obj:failed}'