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
Open Subsurface Data Universe Software
Platform
System
Register
Commits
a28d59a7
Commit
a28d59a7
authored
Dec 15, 2020
by
Hema Vishnu Pola [Microsoft]
Browse files
Merge branch 'haaggarw/adding-dev-pipeline' into 'master'
Azure: Adding development pipeline yaml See merge request
!51
parents
a2d1127c
78fa20ae
Pipeline
#19196
passed with stages
in 29 minutes and 52 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
devops/azure/chart/helm-config.yaml
0 → 100644
View file @
a28d59a7
# Copyright © Microsoft Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file contains the essential configs for the osdu on azure helm chart
global
:
# Service(s) Replica Count
replicaCount
:
1
################################################################################
# Specify the Gitlab branch being used for image creation
# ie: community.opengroup.org:5555/osdu/platform/system/storage/{{ .Values.global.branch }}/storage:latest
#
image
:
repository
:
#{container-registry}#.azurecr.io
branch
:
#{ENVIRONMENT_NAME}#
tag
:
#{Build.SourceVersion}#
devops/development-pipeline.yml
0 → 100644
View file @
a28d59a7
# Copyright © Microsoft Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
trigger
:
batch
:
true
branches
:
include
:
-
master
paths
:
exclude
:
-
/**/*.md
-
.gitignore
-
/docs
-
/provider/register-aws
-
/provider/register-gcp
-
/provider/register-ibm
resources
:
repositories
:
-
repository
:
FluxRepo
type
:
git
name
:
k8-gitops-manifests
-
repository
:
TemplateRepo
type
:
git
name
:
infra-azure-provisioning
variables
:
-
group
:
'
Azure
-
OSDU'
-
group
:
'
Azure
-
OSDU
Secrets'
-
name
:
serviceName
value
:
"
register"
-
name
:
chartPath
value
:
"
devops/azure/chart"
-
name
:
valuesFile
value
:
"
devops/azure/chart/helm-config.yaml"
-
name
:
'
MANIFEST_REPO'
value
:
$[ resources.repositories['FluxRepo'].name ]
-
name
:
'
MAVEN_CACHE_FOLDER'
value
:
$(Pipeline.Workspace)/.m2/repository
-
name
:
SKIP_TESTS
value
:
'
false'
stages
:
-
template
:
/devops/build-stage.yml@TemplateRepo
parameters
:
mavenGoal
:
'
package'
mavenPublishJUnitResults
:
true
serviceCoreMavenOptions
:
'
-P
register-core
--settings
.mvn/community-maven.settings.xml'
mavenOptions
:
'
-P
register-azure
--settings
.mvn/community-maven.settings.xml
-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
copyFileContents
:
|
pom.xml
provider/register-azure/maven/settings.xml
provider/register-azure/pom.xml
provider/register-azure/target/*-spring-boot.jar
.mvn/community-maven.settings.xml
copyFileContentsToFlatten
:
'
'
mavenSettingsFile
:
'
.mvn/community-maven.settings.xml'
serviceBase
:
${{ variables.serviceName }}
testingRootFolder
:
'
testing'
chartPath
:
${{ variables.chartPath }}
-
template
:
/devops/deploy-stages.yml@TemplateRepo
parameters
:
serviceName
:
${{ variables.serviceName }}
chartPath
:
${{ variables.chartPath }}
valuesFile
:
${{ variables.valuesFile }}
testCoreMavenPomFile
:
'
testing/register-test-core/pom.xml'
testCoreMavenOptions
:
'
--settings
$(System.DefaultWorkingDirectory)/drop/.mvn/community-maven.settings.xml'
skipDeploy
:
${{ variables.SKIP_DEPLOY }}
skipTest
:
${{ variables.SKIP_TESTS }}
providers
:
-
name
:
Azure
environments
:
[
'
dev'
]
provider/register-azure/maven/settings.xml
0 → 100644
View file @
a28d59a7
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © Microsoft Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<settings
xmlns=
"http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"
>
<servers>
<server>
<id>
azure-auth
</id>
<configuration>
<tenant>
${AZURE_DEPLOY_TENANT}
</tenant>
<client>
${AZURE_DEPLOY_CLIENT_ID}
</client>
<key>
${AZURE_DEPLOY_CLIENT_SECRET}
</key>
<environment>
AZURE
</environment>
</configuration>
</server>
</servers>
</settings>
provider/register-azure/pom.xml
View file @
a28d59a7
...
...
@@ -27,6 +27,7 @@
<artifactId>
register-azure
</artifactId>
<description>
Register service on Azure
</description>
<packaging>
jar
</packaging>
<version>
1.0.0-SNAPSHOT
</version>
<properties>
<azure.version>
2.1.7
</azure.version>
<azure.appservice.resourcegroup></azure.appservice.resourcegroup>
...
...
Morris Estepa
@estepamo
mentioned in commit
9b6eaa9c
·
Jun 11, 2022
mentioned in commit
9b6eaa9c
mentioned in commit 9b6eaa9cabc1af6538b17b6f76382473f6467c69
Toggle commit list
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