Continuing the discussion from CI within OpenMRS - Bamboo vs Travis vs GitHub Actions vs Azure Pipelines:
Over the past day, I’ve taken on the task of moving from Travis and Bintray to a new approach that evolves Github Actions and our Maven Repository. This aims to solve the two issues that have recently been raised:
- Moving off of Travis
- Moving off of Bintray
The new jobs do the following:
- Build and test PRs
- Build and test new commits to the main branch
- If new commits to the main branch are for SNAPSHOT versions, deploy these to the owa-snapshots repository in our Maven Repo / Artifactory
- Deploy releases to Maven Repo / Artifactory when new releases are published in Github
You can see the jobs here:
and
Testing is still active on this. Feedback and contributions welcome.
I’d like to scale this out to other OWA repos in the next week, so if anything seems wrong about this process, please reach out.
@ibacher / @mogoodrich / @burke FYI