Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Partition
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
Partition
Commits
17b83b27
Commit
17b83b27
authored
1 year ago
by
Mikhail Piatliou (EPAM)
Browse files
Options
Downloads
Patches
Plain Diff
GONRG-8946: fix rules for pipeline
parent
4fc5859e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!496
GONRG-8946: fix rules for pipeline
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+7
-2
7 additions, 2 deletions
.gitlab-ci.yml
devops/core-plus/pipeline.yml
+7
-3
7 additions, 3 deletions
devops/core-plus/pipeline.yml
with
14 additions
and
5 deletions
.gitlab-ci.yml
+
7
−
2
View file @
17b83b27
...
...
@@ -173,15 +173,20 @@ download_plugins:
variables
:
OSM_PACKAGE_REGISTRY_URL
:
"
https://community.opengroup.org/api/v4/projects/1448/packages/maven"
OSM_VERSION
:
"
0.25.0-rc2"
artifacts
:
paths
:
-
./tmp/*.jar
when
:
always
expire_in
:
1 days
script
:
-
mvn dependency:copy -DrepoUrl=$OSM_PACKAGE_REGISTRY_URL -Dartifact="org.opengroup.osdu:os-osm-postgres:$OSM_VERSION:jar:plugin" -Dtransitive=false -DoutputDirectory="./tmp"
rules
:
-
if
:
"
$CI_COMMIT_BRANCH
=~
/^release/"
when
:
never
-
if
:
"
$CI_COMMIT_TAG"
when
:
never
-
if
:
"
$PROTECTED
==
'1'"
when
:
on_success
gemnasium-maven-dependency_scanning
:
variables
:
...
...
This diff is collapsed.
Click to expand it.
devops/core-plus/pipeline.yml
+
7
−
3
View file @
17b83b27
...
...
@@ -22,11 +22,11 @@ gc-containerize-gitlab:core-plus:
when
:
on_success
gc-baremetal-test
:
tags
:
[
"
osdu-medium"
]
tags
:
[
"
osdu-medium"
]
extends
:
-
.maven
stage
:
integration
needs
:
[
"
compile-and-unit-test"
,
"
gc-containerize-gitlab:core-plus"
]
needs
:
[
"
compile-and-unit-test"
,
"
gc-containerize-gitlab:core-plus"
]
retry
:
1
services
:
-
name
:
postgres
...
...
@@ -35,7 +35,7 @@ gc-baremetal-test:
-
name
:
$CI_REGISTRY_IMAGE/partition-core-plus:$CI_COMMIT_SHORT_SHA
alias
:
partition-service-image
variables
:
PARTITION_POSTGRESQL_DB_NAME
:
partition_db
#Used from bootstrapping script
PARTITION_POSTGRESQL_DB_NAME
:
partition_db
#Used from bootstrapping script
PARTITION_POSTGRESQL_USERNAME
:
usr_partition_pg
#Used from bootstrapping script
PARTITION_POSTGRESQL_PASSWORD
:
partition_pg
#Used from bootstrapping script
POSTGRESQL_PORT
:
5432
#used from the docker script
...
...
@@ -76,6 +76,10 @@ gc-baremetal-test:
-
test-results.log
expire_in
:
1 days
rules
:
-
if
:
"
$CI_COMMIT_BRANCH
=~
/^release/"
when
:
never
-
if
:
"
$CI_COMMIT_TAG"
when
:
never
-
if
:
"
$PROTECTED
==
'1'"
when
:
on_success
...
...
This diff is collapsed.
Click to expand it.
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