Sync Page
We noticed that sometimes tickets would be lost and not sync. This would require taking down the entire service in order to re-sync that one ticket. To fix this we created a flask micro-service that provides a UI for users to sync individual repos.
The following environmental variables will have to be set:
- Related to OpenShift:
CA_URL:: CA URL used for sync2jiraDEFAULT_SERVER:: Default server to use for mailingDEFAULT_FROM:: Default from to use for mailingUSER:: JIRA usernameINITIALIZE:: True/False Initialize our repos on startup (Should be set to “0”)IMAGE_URL:: Image URL:TAG to pull fromJIRA_PNT_PASS:: PNT password in base64JIRA_OMEGAPRIME_PASS:: Omegaprime password in base64GITHUB_TOKEN:: GitHub token in base64PAAS_DOMAIN:: Domain to use for the service
You can also use the OpenShift template to quickly deploy this service (it can be found in the repo under openshift/sync2jira-sync-page-template.yaml)
Once deployed, you can go to the url sync2jira-page-sync.PAAS_DOMAIN to select and sync individual repos!