Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sacha Brants
infra-azure-provisioning
Commits
bc7bb634
Commit
bc7bb634
authored
Feb 11, 2021
by
Vincent Rondot
Committed by
Daniel Scholl
Feb 11, 2021
Browse files
Add Wellbore DMS automation sections
parent
182d7096
Changes
2
Hide whitespace changes
Inline
Side-by-side
docs/code-mirroring.md
View file @
bc7bb634
...
...
@@ -26,6 +26,7 @@ Empty repositories need to be created that will be used by a pipeline to mirror
| schema-service | https://community.opengroup.org/osdu/platform/system/schema-service.git|
| ingestion-workflow | https://community.opengroup.org/osdu/platform/data-flow/ingestion/ingestion-workflow.git |
| seismic-store-service | https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/seismic/seismic-dms-suite/seismic-store-service.git |
| wellbore-domain-services | https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/wellbore/wellbore-domain-services.git |
```
bash
export
ADO_ORGANIZATION
=
<organization_name>
...
...
@@ -53,7 +54,9 @@ SERVICE_LIST="infra-azure-provisioning \
notification
\
schema-service
\
ingestion-workflow
\
seismic-store-service"
seismic-store-service
\
wellbore-domain-services"
for
SERVICE
in
$SERVICE_LIST
;
do
...
...
@@ -91,6 +94,7 @@ Variable Group Name: `Mirror Variables`
| SCHEMA_REPO | https://dev.azure.com/osdu-demo/osdu/_git/schema-service |
| INGESTION_WORKFLOW_REPO | https://dev.azure.com/osdu-demo/osdu/_git/ingestion-workflow |
| SEISMIC_STORE_SERVICE_REPO | https://dev.azure.com/osdu-demo/osdu/_git/seismic-store-service |
| WELLBORE_DOMAIN_SERVICSE_REPO | https://dev.azure.com/osdu-demo/osdu/_git/wellbore-domain-services |
| ACCESS_TOKEN |
<your_personal_access_token>
|
...
...
@@ -122,8 +126,9 @@ az pipelines variable-group create \
REGISTER_REPO
=
https://dev.azure.com/
${
ADO_ORGANIZATION
}
/
$ADO_PROJECT
/_git/register
\
NOTIFICATION_REPO
=
https://dev.azure.com/
${
ADO_ORGANIZATION
}
/
$ADO_PROJECT
/_git/notification
\
SCHEMA_REPO
=
https://dev.azure.com/
${
ADO_ORGANIZATION
}
/
$ADO_PROJECT
/_git/schema-service
\
INGESTION_WORKFLOW_REPO
=
https://dev.azure.com/
${
ADO_ORGANIZATION
}
/
$ADO_PROJECT
/_git/ingestion-workflow
\
SEISMIC_STORE_SERVICE_REPO
=
https://dev.azure.com/
${
ADO_ORGANIZATION
}
/
$ADO_PROJECT
/_git/seismic-store-service
INGESTION_WORKFLOW_REPO
=
https://dev.azure.com/
${
ADO_ORGANIZATION
}
/
$ADO_PROJECT
/_git/ingestion-workflow
\
SEISMIC_STORE_SERVICE_REPO
=
https://dev.azure.com/
${
ADO_ORGANIZATION
}
/
$ADO_PROJECT
/_git/seismic-store-service
\
WELLBORE_DOMAIN_SERVICSE_REPO
=
https://dev.azure.com/
${
ADO_ORGANIZATION
}
/
$ADO_PROJECT
/_git/wellbore-domain-services
\
ACCESS_TOKEN
=
$ACCESS_TOKEN
\
-ojson
```
...
...
@@ -312,6 +317,13 @@ jobs:
destinationGitRepositoryUri: '
$(
SEISMIC_STORE_SERVICE_REPO
)
'
destinationGitRepositoryPersonalAccessToken:
$(
ACCESS_TOKEN
)
- task: swellaby.mirror-git-repository.mirror-git-repository-vsts-task.mirror-git-repository-vsts-task@1
displayName: 'wellbore-domain-services'
inputs:
sourceGitRepositoryUri: 'https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/wellbore/wellbore-domain-services.git'
destinationGitRepositoryUri: '
$(
WELLBORE_DOMAIN_SERVICSE_REPO
)
'
destinationGitRepositoryPersonalAccessToken:
$(
ACCESS_TOKEN
)
EOF
...
...
docs/service-automation.md
View file @
bc7bb634
...
...
@@ -1044,3 +1044,18 @@ az pipelines create \
--yaml-path
/devops/azure/pipeline.yml
\
-ojson
```
20.
Add a Pipeline for __wellbore-domain-services__ to deploy the Wellbore Domain Services.
_Repo:_ `wellbore-domain-services`
_Path:_ `/devops/azure/pipeline.yml`
_Validate:_ https://<your_dns_name>/api/os-wellbore-ddms/docs is alive.
```
bash
az pipelines create
\
--name
'wellbore-domain-services'
\
--repository
wellbore-domain-services
\
--branch
master
\
--repository-type
tfsgit
\
--yaml-path
/devops/azure/pipeline.yml
\
-ojson
```
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment