DIRAC icon indicating copy to clipboard operation
DIRAC copied to clipboard

Use GitHub actions to automatically update master branch

Open chrisburr opened this issue 5 years ago • 5 comments

Rather than manually pushing rel-v7r0 to master we could easily use GitHub actions to do it automatically and ensure they're always kept in sync.

Are they any issues with this idea that I'm not aware of or should I implement it?

chrisburr avatar Apr 07 '20 08:04 chrisburr

That's OK of course, but how do you plan to tell GitHub Actions to know which branch should be the master branch?

fstagni avatar Apr 07 '20 09:04 fstagni

I assume I shouldn't take the rel branch corresponding to the latest non-pre-release in releases.cfg?

If so I think that probably has to be hard coded any referenced in the docs (as is the case for the README): https://dirac.readthedocs.io/en/integration/DeveloperGuide/ReleaseProcedure/index.html#propagating-patches

chrisburr avatar Apr 07 '20 09:04 chrisburr

Yes it's the last non-pre-release of course. The doc is already built on the content of the master branch (it becomes latest : https://dirac.readthedocs.io/en/latest/). But I am not sure I fully understand your last sentence...

fstagni avatar Apr 07 '20 10:04 fstagni

In that case the second sentence doesn't matter. One more question to make sure I'm understanding correctly. Assuming v7r0pX is the latest release:

  1. It should always be in sync with rel-v7r0?
  2. It should always be in sync with the latest tagged commit from rel-v7r0?

chrisburr avatar Apr 07 '20 10:04 chrisburr

  1. not necessarily
  2. yes

fstagni avatar Apr 07 '20 11:04 fstagni