Apex: Fix verify blocking with csit 99/61199/1
authorTim Rozet <trozet@redhat.com>
Tue, 21 Aug 2018 18:13:20 +0000 (14:13 -0400)
committerTim Rozet <trozet@redhat.com>
Tue, 21 Aug 2018 18:17:00 +0000 (14:17 -0400)
Make apex verify virtual deployment occur on the same node where
apex-verify job is running. Block apex-verify from starting if csit
promote is running.

Change-Id: I86e76232003b509db516e8d78703d43d36456d14
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex-verify-jobs.yaml

index f808793..f0f99fc 100644 (file)
           max-per-node: 3
           max-total: 10
           option: 'project'
-
+      - build-blocker:
+          use-build-blocker: true
+          block-level: 'NODE'
+          blocking-jobs:
+            - 'apex-.*-promote.*'
     builders:
       - description-setter:
           description: "Built on $NODE_NAME"
                 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
                 FUNCTEST_SUITE_NAME=tempest_smoke
                 FUNCTEST_MODE=testcase
-              node-parameters: false
+              node-parameters: true
               kill-phase-on: FAILURE
               abort-all-job: true
               git-revision: true