... | ... | @@ -13,4 +13,14 @@ Best way to proceed initially is to clone and adapt one the existing libraries: |
|
|
- [GCP](https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/wellbore/lib/wellbore-cloud/wellbore-gcp-lib)
|
|
|
- [IBM](https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/wellbore/lib/wellbore-cloud/wellbore-ibm-lib)
|
|
|
|
|
|
## Test and deployment |
|
|
\ No newline at end of file |
|
|
|
|
|
## Test and deployment
|
|
|
|
|
|
|
|
|
|
|
|
1. Create a merge request on your cloud library repo (one of [these](https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/wellbore/lib/wellbore-cloud))
|
|
|
2. For every push to the merge request in the lib repo, a development package library with `-<version>.dev<id>` suffix is pushed to the [wdms libraries package feed](https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/wellbore/lib/lib-registry/-/packages)
|
|
|
3. To test your package, create a merge request in the [wdms service repo](https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/wellbore/wellbore-domain-services/-/merge_requests) with the development version of your lib in the [requirements.txt](https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/wellbore/wellbore-domain-services/-/blob/master/requirements.txt) file
|
|
|
4. For every push to the merge request in the service repo, the [CICD](https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/wellbore/wellbore-domain-services/-/pipelines) runs the integration tests with your development library
|
|
|
5. Once your library implementation is ready (lib repo), manually bump the lib version and merge
|
|
|
6. In the service repo, set the new version of your library in the [requirements.in](https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/wellbore/wellbore-domain-services/-/blob/master/requirements.in) file, run `pip-compile`, commit the requirements files and merge |
|
|
\ No newline at end of file |