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
Wiki
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
cc5d0e84
Commit
cc5d0e84
authored
1 year ago
by
Deepa Kumari
Browse files
Options
Downloads
Patches
Plain Diff
rename service alias
parent
457beabc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!452
Introduce Partition-Core-Plus
Pipeline
#214304
failed
1 year ago
Stage: build
Stage: coverage
Stage: containerize
Stage: scan
Stage: deploy
Stage: integration
Stage: cleanup
Stage: verified-deploy
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
devops/core-plus/pipeline.yml
+3
-6
3 additions, 6 deletions
devops/core-plus/pipeline.yml
with
3 additions
and
6 deletions
devops/core-plus/pipeline.yml
+
3
−
6
View file @
cc5d0e84
...
...
@@ -44,9 +44,9 @@ core-plus-tests:
-
name
:
postgres
command
:
[
"
postgres"
,
"
-c"
,
"
shared_buffers=256MB"
,
"
-c"
,
"
max_connections=200"
]
-
name
:
docker:dind
#necessary for docker-run
-
name
:
${CI_REGISTRY_IMAGE}/${CUSTOM_PROJECT_NAME}-${CI_COMMIT_REF_SLUG}:${CI_COMMIT_SHA}
alias
:
partition-service-image
variables
:
FF_NETWORK_PER_BUILD
:
"
true"
# activate container-to-container networking
PARTITION_POSTGRESQL_DB_NAME
:
partition_db
PARTITION_POSTGRESQL_USERNAME
:
usr_partition_pg
PARTITION_POSTGRESQL_PASSWORD
:
partition_pg
...
...
@@ -66,17 +66,14 @@ core-plus-tests:
#required for integration tests
CLIENT_TENANT
:
osdu
ENVIRONMENT
:
dev
#if this is not specified, it just assumes that the service is running locally
PARTITION_BASE_URL
:
http://
P
artition
S
ervice:8080/
PARTITION_BASE_URL
:
http://
p
artition
-s
ervice
-image
:8080/
CI_DEBUG_SERVICES
:
"
true"
script
:
-
docker run -d --name PartitionService -p 8080:8080 ${CI_REGISTRY_IMAGE}/${CUSTOM_PROJECT_NAME}-${CI_COMMIT_REF_SLUG}:${CI_COMMIT_SHA}
-
sleep
30
#wait for the service to come up, TODO, add another way here
-
echo "--- Install psql ---"
-
apt-get update && apt-get install -y postgresql-client libpq-dev jq
-
echo "--- Bootstrap tables ---"
-
chmod +x devops/core-plus/test/bootstrap.sh
-
devops/core-plus/test/bootstrap.sh
-
curl "http://PartitionService:8080"
#check service is reachable
-
echo "--- Run integration tests ---"
-
>
$MAVEN_BUILD . test-results.log
...
...
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