From ea41680215f382b1ad70e4dc564529d728665378 Mon Sep 17 00:00:00 2001
From: Tim Rozet <trozet@redhat.com>
Date: Wed, 28 Nov 2018 09:40:27 -0500
Subject: Apex: Fix CSIT snapshot files path

With the refactor of snapshot pipeline to include other snapshots, the
path had changed to be generic for where temporary snapshot files are
stored (from /tmp/csit to /tmp/snap). See this commit:

https://gerrit.opnfv.org/gerrit/#/c/65157/4/jjb/apex/apex-fetch-snap-info.sh

This patch fixes the path for triggering CSIT job.

Change-Id: I63308d73c13e8c714078a38bc6cf9bb75cbeec5c
Signed-off-by: Tim Rozet <trozet@redhat.com>
---
 jjb/apex/apex.yaml    | 6 +++---
 jjb/apex/apex.yaml.j2 | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

(limited to 'jjb')

diff --git a/jjb/apex/apex.yaml b/jjb/apex/apex.yaml
index 80a4d82f5..a5af63cb5 100644
--- a/jjb/apex/apex.yaml
+++ b/jjb/apex/apex.yaml
@@ -946,9 +946,9 @@
             - name: cperf-apex-csit-master
               predefined-parameters: |
                 ODL_BRANCH=$ODL_BRANCH
-                RC_FILE_PATH=/tmp/csit/overcloudrc
-                NODE_FILE_PATH=/tmp/csit/node.yaml
-                SSH_KEY_PATH=/tmp/csit/id_rsa
+                RC_FILE_PATH=/tmp/snap/overcloudrc
+                NODE_FILE_PATH=/tmp/snap/node.yaml
+                SSH_KEY_PATH=/tmp/snap/id_rsa
                 ODL_CONTAINERIZED=true
                 OS_VERSION=$OS_VERSION
                 SKIP_CSIT=$FORCE_PROMOTE
diff --git a/jjb/apex/apex.yaml.j2 b/jjb/apex/apex.yaml.j2
index 7203cb4b9..2e507fb09 100644
--- a/jjb/apex/apex.yaml.j2
+++ b/jjb/apex/apex.yaml.j2
@@ -792,9 +792,9 @@
             - name: cperf-apex-csit-master
               predefined-parameters: |
                 ODL_BRANCH=$ODL_BRANCH
-                RC_FILE_PATH=/tmp/csit/overcloudrc
-                NODE_FILE_PATH=/tmp/csit/node.yaml
-                SSH_KEY_PATH=/tmp/csit/id_rsa
+                RC_FILE_PATH=/tmp/snap/overcloudrc
+                NODE_FILE_PATH=/tmp/snap/node.yaml
+                SSH_KEY_PATH=/tmp/snap/id_rsa
                 ODL_CONTAINERIZED=true
                 OS_VERSION=$OS_VERSION
                 SKIP_CSIT=$FORCE_PROMOTE
-- 
cgit