Cht-core: Automatically tag medic-api and medic-sentinel when publishing medic-webapp

Created on 26 Jun 2017  路  1Comment  路  Source: medic/cht-core

Currently, we often forget to tag medic-api and medic-sentinel, because they are in a different repo. This is problematic because it becomes a pain to work out what code is in which revision (NB: you still know which version of api or sentinel were deployed with webapp due to submodules, but you cannot, for example, see which tag some code was introduced in easily).

We should change our after_success.sh publish script so that when it publishes a build due to a tagged build successfully running, it also tags api and sentinel with the same tag.

We knocked up quick changes to the script before, but the user travis pulls from git with does not have the credentials to tag with. So, we need to find out how to pick a user for travis to use, and how to make sure that user has the right permissions.

Technical issue Ancient

Most helpful comment

Now that the submodules are merged into the webapp repo this is no longer necessary - 1 tag to rule them all!

>All comments

Now that the submodules are merged into the webapp repo this is no longer necessary - 1 tag to rule them all!

Was this page helpful?
0 / 5 - 0 ratings