ssmusoke
(Stephen Senkomago Musoke)
October 27, 2021, 6:39am
1
@ibacher Good morning, we have been using the Cohort module, however commits past
committed 05:52PM - 04 Oct 21 UTC
have changed the functionality that we were using, so I wanted to create a release at that particular commit. How can I do that?
Create a branch at the commit
Release the branch?
Thanks in advance
cc @dkayiwa @corneliouzbett @dbaluku
ssmusoke
(Stephen Senkomago Musoke)
October 27, 2021, 10:11am
3
@dkayiwa Does Bamboo allow releases on branches? or is it only master?
ibacher
(Ian Bacher)
October 27, 2021, 12:42pm
4
Yes; it’s just a matter of setting up a job to do so.
1 Like
@ssmusoke I’m interested to know which functionality changed?
ssmusoke
(Stephen Senkomago Musoke)
October 28, 2021, 5:30pm
6
@dbaluku can elaborate more with @slubwama
dbaluku
(derrick baluku)
November 10, 2021, 7:28am
7
@corneliouzbett The rest endpoints are currently broken, one is not able to create or get cohorts.
these are some of my endpoints I have been using
[GET] openmrs/ws/rest/v1/cohortm/cohort?v=custom:(name,uuid,description,voided,cohortType,startDate)&cohortType=e50fa0af-df36-4a26-853f-feb05244e5ca
[POST] /openmrs/ws/rest/v1/cohortm/cohort
In my postman I get a 400 error code on POST and 500 error on GET. These are were working fine as of the commit mentioned above
1 Like
tendomart
(tendo kiiza Martyn)
November 10, 2021, 10:16am
8
Something related to what @ssmusoke is addressing here
We’re currently spinning Platform 2.5.0-beta on Refapp 2.12.0 , (Reafpp 2.12.0-dev was the branch from which I deployed and consequently released)
@ibacher did a release but the Refapp artifacts were deployed to the release folder instead of pre-releases . I never saw the release-type variable for Refapp Jobs
ssmusoke
(Stephen Senkomago Musoke)
November 10, 2021, 10:52am
9
@dkayiwa @ibacher I have created and run this CI job to deploy a 3.0.1 version but it does not seem to work - any suggestions on how to fix and resolve it
https://ci.openmrs.org/browse/COH-COH1
dkayiwa
(Daniel Kayiwa)
November 10, 2021, 11:41am
10
Would it be easier if you just copied a plan configuration like this? HTML Form Entry UI - htmlformentryui module 3500: Build result summary - OpenMRS Bamboo
Ofcourse you would change the repository and branch.
ssmusoke
(Stephen Senkomago Musoke)
November 10, 2021, 12:18pm
11
@dkayiwa I cloned the plan, added a new repository and changed the branch
Is that different from copying you have mentioned?
dkayiwa
(Daniel Kayiwa)
November 10, 2021, 12:36pm
12
You probably cloned a plan whose structure or configuration is not what you wanted.
ssmusoke
(Stephen Senkomago Musoke)
November 10, 2021, 2:00pm
13
@dkayiwa I cloned the existing Cohort Module one, which I expected to work the same way, no?
Now that you mention it I saw things like building docker containers etc which I have no idea why they are in there
ssmusoke
(Stephen Senkomago Musoke)
November 12, 2021, 1:46pm
14
@dkayiwa Looks like I created a new plan instead of cloning the existing plan… Now 3.0.1 has been released
Just added this PR to bump up the versions in the pom.xml file to clear out any confusion later
openmrs:master
← ssmusoke:master
opened 01:55PM - 12 Nov 21 UTC
ssmusoke
(Stephen Senkomago Musoke)
November 12, 2021, 4:08pm
16
@ibacher @dkayiwa Thanks - I ended up releasing 2.2.0 as 2.1.0 existed
2 Likes
ibacher
(Ian Bacher)
November 12, 2021, 4:30pm
17
Nice! Thanks for doing this!
ssmusoke
(Stephen Senkomago Musoke)
November 18, 2021, 1:14pm
18
A heads up I ended up releasing 2.2.1 with an earlier commit that ended up working for us …
2 Likes