Fix gerrit-packer-merge choosing strategy 54/15354/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 19 Apr 2019 21:48:01 +0000 (14:48 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 19 Apr 2019 21:48:01 +0000 (14:48 -0700)
Our definition of a merge job is that it always takes the HEAD of the
branch. Gerrit Trigger choosing strategy does not do this and breaks
expected outcomes when retriggering an old merge.

Change-Id: I2e3c12f1c9b59e624e742943a5dbef5123129e6c
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
jjb/lf-ci-jobs.yaml
releasenotes/notes/fix-packer-merge-b35289c55408f671.yaml [new file with mode: 0644]

index bdebb0f..881f7ce 100644 (file)
           branch: '$GERRIT_BRANCH'
           submodule-recursive: '{submodule-recursive}'
           submodule-timeout: '{submodule-timeout}'
-          choosing-strategy: gerrit
+          choosing-strategy: default
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
 
     triggers:
diff --git a/releasenotes/notes/fix-packer-merge-b35289c55408f671.yaml b/releasenotes/notes/fix-packer-merge-b35289c55408f671.yaml
new file mode 100644 (file)
index 0000000..efd2ebf
--- /dev/null
@@ -0,0 +1,7 @@
+---
+fixes:
+  - |
+    The packer-merge job for Gerrit systems was improperly configured to use the
+    Gerrit Trigger choosing strategy and not default. This caused issues
+    unexpected issues with retriggering merged changes when the expectation was
+    that it would pick up the lastest change as per normal.