-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from release-engineering/add-sync-page-docume…
…ntation Adding sync-page documentation
- Loading branch information
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ Sync2Jira documentation | |
quickstart | ||
config-file | ||
continuous_deployment | ||
sync_page | ||
|
||
|
||
.. toctree:: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
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: | ||
1. :code:`CA_URL` :: CA URL used for sync2jira | ||
2. :code:`DEFAULT_SERVER` :: Default server to use for mailing | ||
3. :code:`DEFAULT_FROM` :: Default from to use for mailing | ||
4. :code:`USER` :: JIRA username | ||
5. :code:`CONFLUENCE_SPACE` :: Confluence space (should be set to "mock_confluence_space" as we don't want any confluence syncing) | ||
6. :code:`INITIALIZE` :: True/False Initialize our repos on startup (Should be set to "0") | ||
7. :code:`IMAGE_URL` :: Image URL:TAG to pull from | ||
8. :code:`JIRA_PNT_PASS` :: PNT password in base64 | ||
9. :code:`JIRA_OMEGAPRIME_PASS` :: Omegaprime password in base64 | ||
10. :code:`GITHUB_TOKEN` :: GitHub token in base64 | ||
11. :code:`PAAS_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 :code:`openshift/sync2jira-sync-page-template.yaml`) | ||
|
||
Once deployed, you can go to the url :code:`sync2jira-page-sync.PAAS_DOMAIN` to select and sync individual repos! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters