Hi!

I have proof-of-concept ready and I have managed to build and publish
fineract-cn-identity artifacts with Travis.
All the fineract-cn-* projects that idenity depends on I made forks and set
Travis to build and publish those artifacts.
Before I go over rest of the projects and create pull requests please have
a look and comment if you have time
(I think most important is to agree on artifact naming for non-develop
brannches and review changes to *.gradle files)

The idea is that Travis builds snapshot artifacts and uploads them to
https://mifos.jfrog.io/mifos/libs-snapshot/org/apache/fineract/cn/
(I created user "travis-ci" to artifactory with upload permissions and
encrypted its password for each repository)
Travis detects branch automatically and if branch=develop (in my code
currently i have set branch=travis) then it uses version set in build.gradle
For any other branch it sets artifact version to branchname-SNAPSHOT
If one creates a release in github then it uses tag as version and uploads
it under different repoKey,
so that it will be available here:
https://mifos.jfrog.io/mifos/libs-release/org/apache/fineract/cn/
Travis will also build all pull requests but those artifacts are not
uploaded anywhere.

I have documented the usage and setup here:
https://cwiki.apache.org/confluence/display/FINERACT/Fineract-CN+Artifactory

Here is travis build log for Idenity project:
https://travis-ci.com/aasaru/fineract-cn-identity

And the code changes of fineract-cn-idenity:
https://github.com/apache/fineract-cn-identity/compare/develop...aasaru:travis
All the other repos github.com/aasaru/fineract-cn-* will have similar
changes
(travis.sh will be identical everywhere and .travis.yml as well (except the
encrypted password)

Please let me know if you have any comments or if you have none then I will
create pull requests next week.

Kind regards
Juhan


Kontakt Isaac Kamga (<isaac.ka...@mifos.org>) kirjutas kuupäeval P, 31.
märts 2019 kell 18:59:

> Hello Juhan,
>
> Yes, get started with the proof of concept. You'll also need to create
> issues for the CI/CD work you're doing and probably name branches after the
> issue number.
>
> Vishwas mentioned that a Jfrog open source license is available for Apache
> Fineract. I think he's best placed to get those details though to you.
>
> More grease to your elbows.
>
> Cheers,
> Isaac Kamga.
>

Reply via email to