[MacPorts] Meetings/MacPortsMeeting2018/BuildbotRestructuring modified

MacPorts noreply at macports.org
Thu Mar 15 17:43:38 UTC 2018


Page "Meetings/MacPortsMeeting2018/BuildbotRestructuring" was changed by raimue
Diff URL: <https://trac.macports.org/wiki/Meetings/MacPortsMeeting2018/BuildbotRestructuring?action=diff&version=4>
Revision 4
Comment: Add some notes from informal discussion on the last evening of the meeting
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: Meetings/MacPortsMeeting2018/BuildbotRestructuring
=========================================================================
--- Meetings/MacPortsMeeting2018/BuildbotRestructuring (version: 3)
+++ Meetings/MacPortsMeeting2018/BuildbotRestructuring (version: 4)
@@ -204,3 +204,25 @@
                           | port1 deploy   |  | port1 deploy   |
                           +----------------+  +----------------+
 }}}
+
+== Caveats
+
+Special attention needs to be put into cases where unrelated ports are being updated in the same commit. Here is an example for such a case, all the ports A B C D where updated in the same commit. One possible topological build order could be: `D A B C`.
+
+{{{
+A -> D
+B ---ยด
+C
+}}}
+
+
+Imaging that the build for D failed, we would still want to attempt to build C. Only the builds for A and B may be cancelled/skipped.
+
+If using builds, A and B would try to run, but then fail as D is not available. If using dynamic steps, the build would fail on the first failing step (by default).
+
+=== Possible solutions
+
+For this to work correctly with buildbot, this dependency hierarchy has to be available in Python data structures to be able to:
+  * cancel pending builds on build failure, or
+  * add dependencies to builds, or
+  * execute as steps with doStepIf (checking for execution status of dependencies)
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/Meetings/MacPortsMeeting2018/BuildbotRestructuring>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'Meetings/MacPortsMeeting2018/BuildbotRestructuring' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list