Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Indexer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
System
Indexer
Commits
2de2d345
Commit
2de2d345
authored
5 years ago
by
Dexter Williams
Browse files
Options
Downloads
Patches
Plain Diff
syncing with shared pipeline
parent
35289e48
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!6
Trusted ibm
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
devops/service-pipeline-release.yml
+0
-55
0 additions, 55 deletions
devops/service-pipeline-release.yml
devops/service-pipeline.yml
+22
-11
22 additions, 11 deletions
devops/service-pipeline.yml
with
22 additions
and
66 deletions
devops/service-pipeline-release.yml
deleted
100644 → 0
+
0
−
55
View file @
35289e48
#####################
# README: Defines a template that's triggered when a PR is merged into master. The intent for this
# template is to release the latest service artifact to all provider environments.
#####################
trigger
:
none
pr
:
autoCancel
:
false
branches
:
include
:
-
'
*'
exclude
:
-
master
paths
:
exclude
:
-
/**/*.md
-
.gitignore
-
images/
variables
:
-
group
:
'
Azure
Common
Secrets
Prod'
-
group
:
'
Azure
-
Common
Prod'
-
name
:
serviceName
value
:
'
indexer'
-
name
:
AGENT_POOL
value
:
'
dps-build'
resources
:
repositories
:
-
repository
:
infrastructure-templates
type
:
git
name
:
open-data-ecosystem/infrastructure-templates
stages
:
-
template
:
devops/service-pipelines/build-stage.yml@infrastructure-templates
parameters
:
copyFileContents
:
|
pom.xml
provider/${{ variables.serviceName }}-azure/maven/settings.xml
provider/${{ variables.serviceName }}-azure/pom.xml
provider/${{ variables.serviceName }}-azure/target/*-spring-boot.jar
copyFileContentsToFlatten
:
'
'
serviceCoreMavenOptions
:
'
--settings
./indexer-core/maven/settings.xml
-DVSTS_FEED_TOKEN=$(VSTS_FEED_TOKEN)
-U'
mavenOptions
:
'
--settings
./provider/${{
variables.serviceName
}}-azure/maven/settings.xml
-DVSTS_FEED_TOKEN=$(VSTS_FEED_TOKEN)
-U
-P
indexer-azure'
mavenGoal
:
'
package'
serviceBase
:
${{ variables.serviceName }}
testingRootFolder
:
'
testing'
-
template
:
devops/service-pipelines/deploy-stages.yml@infrastructure-templates
parameters
:
serviceName
:
${{ variables.serviceName }}
providers
:
-
name
:
Azure
environments
:
[
'
prod'
]
This diff is collapsed.
Click to expand it.
devops/service-pipeline.yml
+
22
−
11
View file @
2de2d345
#####################
# README: Defines a template that's triggered when either a PR is created or updated. The intent for this
# template is to release the latest service artifact to only the dev integration environment to
# validate the integration tests have passed. You'd typically add this pipeline to your master branch policy.
# README: Defines a template to be used as a starting point for defining a service pipeline
#####################
trigger
:
none
trigger
:
batch
:
true
branches
:
include
:
-
master
paths
:
exclude
:
-
/**/*.md
-
.gitignore
-
images/
pr
:
autoCancel
:
false
autoCancel
:
true
#new
branches
:
include
:
-
'
*'
exclude
:
-
master
paths
:
exclude
:
-
/**/*.md
...
...
@@ -36,15 +41,16 @@ resources:
stages
:
-
template
:
devops/service-pipelines/build-stage.yml@infrastructure-templates
parameters
:
mavenGoal
:
'
package'
mavenPublishJUnitResults
:
true
serviceCoreMavenOptions
:
'
--settings
./indexer-core/maven/settings.xml
-DVSTS_FEED_TOKEN=$(VSTS_FEED_TOKEN)
-U'
mavenOptions
:
'
--settings
./provider/${{
variables.serviceName
}}-azure/maven/settings.xml
-DVSTS_FEED_TOKEN=$(VSTS_FEED_TOKEN)
-U
-P
indexer-azure'
copyFileContents
:
|
pom.xml
provider/${{ variables.serviceName }}-azure/maven/settings.xml
provider/${{ variables.serviceName }}-azure/pom.xml
provider/${{ variables.serviceName }}-azure/target/*-spring-boot.jar
copyFileContentsToFlatten
:
'
'
serviceCoreMavenOptions
:
'
--settings
./indexer-core/maven/settings.xml
-DVSTS_FEED_TOKEN=$(VSTS_FEED_TOKEN)
-U'
mavenOptions
:
'
--settings
./provider/${{
variables.serviceName
}}-azure/maven/settings.xml
-DVSTS_FEED_TOKEN=$(VSTS_FEED_TOKEN)
-U
-P
indexer-azure'
mavenGoal
:
'
package'
serviceBase
:
${{ variables.serviceName }}
testingRootFolder
:
'
testing'
-
template
:
devops/service-pipelines/deploy-stages.yml@infrastructure-templates
...
...
@@ -54,4 +60,9 @@ stages:
testCoreMavenOptions
:
'
--settings
$(System.DefaultWorkingDirectory)/drop/deploy/testing/maven/settings.xml
-DVSTS_FEED_TOKEN=$(VSTS_FEED_TOKEN)
-U'
providers
:
-
name
:
Azure
environments
:
[
'
devint'
]
# Merges into Master
${{ if eq(variables['Build.SourceBranchName'], 'master') }}
:
environments
:
[
'
devint'
,
'
qa'
,
'
prod'
]
# PR updates / creations
${{ if ne(variables['Build.SourceBranchName'], 'master') }}
:
environments
:
[
'
devint'
]
This diff is collapsed.
Click to expand it.
Gokul Nagare
@gokul_nagare
mentioned in commit
d5255c23
·
4 years ago
mentioned in commit
d5255c23
mentioned in commit d5255c238ba67a6989a5a7dbc26c03b56b0b4f9e
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment