Closed bartlettroscoe closed 7 years ago
Relating to the debate mentioned in the [above comment](), here is a question in an email just today that would have been answered automatically if we changed to do '--no-ff' merges from 'develop' to 'master'.
> -----Original Message-----
> From: Trilinos-developers [mailto:trilinos-developers-bounces@trilinos.org] On
> Behalf Of Domino, Stefan Paul
> Sent: Monday, August 22, 2016 9:04 AM
> To: Perschbacher, Brent M; Trilinos Developers List
> Subject: Re: [Trilinos-developers] [EXTERNAL] FW: NaluBuildTest Linux:
> 08/16/2016
>
> Greetings,
>
> I have another set of widespread diffs showing up in my nightly tests.
>
> Have we updated the head again?
>
> Best,
>
> Stefan
If we did explicit merge commits, then Stefan would know automatically if an update had been done or not.
I have an idea for how to automated the update from 'develop' to 'master' using the existing Jenkins CI build without requiring a CDash upgrade. I will document that shortly (I have a few other Stories from other projects I have to move forward first).
Now that a new post-push CI build is up and running, it would be pretty simple to automate the updating from the 'develop' to the 'master' branch based on the post-push CI build. Basically, all you do is update the script sems_ci/single_ci_iter.sh to check the return value of the ctest -S
command and if it is 0, then you do a --no-ff
merge from the 'develop' branch to the 'master' branch. Recently TribitsCTestDriverCore.cmake was updated to return non-zero if there is any pull, configure, build or test failures that makes this possible (see https://github.com/TriBITSPub/TriBITS/commit/50d8cdfc591cc723f26e0f99b7e8679e1e0f913d). (That change was made to allow TriBITS use CTest/CDash with Travis CI.)
If someone thinks this is a bad idea, please let me know. Otherwise, I will try to get to this soon.
Given that #982 for automating the update from 'develop' to 'master' has been created by @jwillenbring, we can remove that scope from this Story. Therefore, this story is now complete. No need to review since the addition of the 'develop' branch was done a long time ago.
Closing as complete.
Next Action Status:
Brent is manually updating 'master' from 'develop' about once a day using fast-forward merges. Next: Automate the update from 'develop' to 'master' based on new post-push CI build (see #482) ...
CC: @jwillenbring, @bmpersc, @maherou, @rppawlo
Blocked By: #158, #410
Blocking: #380
Description:
This story is to transition Trilinos to the 'develop'/'master' branch workflow which is described in great detail here.
In summary, developers will commit directly to the ‘develop’ branch and then a
--no-ff
merge will be performed to merge fromdevelop
tomaster
when selected builds and package tests all pass (hopefully once every day). Initially, we will just have a single CI build that is run using the checkin-test.py script (based on the SEMS Dev Env, see #158) and if that build passes, the merge to 'master' will occur. Longer term, we will use the new CDash API to query to decide if to update 'master' or not.Definition of Done:
Tasks: