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
95c55499
Commit
95c55499
authored
1 year ago
by
Andriy Halka [EPAM / GCP]
Browse files
Options
Downloads
Patches
Plain Diff
GONGR-7357: Refactor names in pipelines
parent
303c280d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!408
GONGR-7357: Refactor names in pipelines
Pipeline
#193742
failed
1 year ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
devops/gc/pipeline/override-stages.yml
+19
-19
19 additions, 19 deletions
devops/gc/pipeline/override-stages.yml
with
19 additions
and
19 deletions
devops/gc/pipeline/override-stages.yml
+
19
−
19
View file @
95c55499
...
...
@@ -5,7 +5,7 @@ variables:
GC_HELM_ENV_DIR
:
"
devops/gc/tests/env"
ENV_BUILD_PATH
:
"
devops/gc/tests/build/Dockerfile"
.common_cleanup
:
.
gc_
common_cleanup
:
script
:
-
git clone https://community.opengroup.org/osdu/platform/deployment-and-operations/infra-gcp-provisioning.git
-
cp infra-gcp-provisioning/tools/datastore-cleanup/* devops/gc/tests/clean_up/
...
...
@@ -45,7 +45,7 @@ gc-baremetal-deploy-test-env: #infra deploy for on-prem install
GC_HELM_NAMESPACE
:
partition-int-test
script
:
-
gcloud auth activate-service-account --key-file $GC_BAREMETAL_DEPLOY_FILE
-
!reference
[
.common_config
,
script
]
-
!reference
[
.
gc_
common_config
,
script
]
-
export PASSWORD=$(</dev/urandom tr -dc _A-Z-a-z-0-9 | head -c10)
-
cd $GC_HELM_ENV_DIR
-
helm dependency update
...
...
@@ -94,9 +94,9 @@ gc-baremetal-cleanup-env: # clean-up env after tests
GC_HELM_NAMESPACE
:
partition-int-test
script
:
-
gcloud auth activate-service-account --key-file $GC_BAREMETAL_DEPLOY_FILE
-
!reference
[
.common_config
,
script
]
-
!reference
[
.
gc_
common_config
,
script
]
-
export GOOGLE_APPLICATION_CREDENTIALS="$GC_BAREMETAL_DEPLOY_FILE"
-
!reference
[
.common_cleanup
,
script
]
-
!reference
[
.
gc_
common_cleanup
,
script
]
-
chmod +x devops/gc/tests/clean_up/clean_up.sh && devops/gc/tests/clean_up/clean_up.sh --cluster
rules
:
-
if
:
"
$CI_COMMIT_BRANCH
=~
/^release/"
...
...
@@ -117,7 +117,7 @@ gc-baremetal-verified-deploy: # verified deploy after tests
retry
:
1
script
:
-
gcloud auth activate-service-account --key-file $GC_BAREMETAL_DEPLOY_FILE
-
!reference
[
.common_config
,
script
]
-
!reference
[
.
gc_
common_config
,
script
]
-
>
helm upgrade $GC_SERVICE-deploy $GC_HELM_DEPLOYMENT_DIR
--install
...
...
@@ -137,8 +137,8 @@ gc-baremetal-verified-deploy: # verified deploy after tests
--set global.onPremEnabled=true
--set global.domain=$GC_DOMAIN
$GC_HELM_TIMEOUT
-
!reference
[
.verify_deploy
,
script
]
-
!reference
[
.verify_bootstrap
,
script
]
-
!reference
[
.
gc_
verify_deploy
,
script
]
-
!reference
[
.
gc_
verify_bootstrap
,
script
]
rules
:
-
if
:
"
$CI_COMMIT_BRANCH
=~
/^release/"
when
:
never
...
...
@@ -173,9 +173,9 @@ gc-cleanup-env: # clean-up env after tests
GC_HELM_NAMESPACE
:
partition-int-test
script
:
-
gcloud auth activate-service-account --key-file $GC_DEPLOY_FILE
-
!reference
[
.common_config
,
script
]
-
!reference
[
.
gc_
common_config
,
script
]
-
export GOOGLE_APPLICATION_CREDENTIALS="$GC_DEPLOY_FILE"
-
!reference
[
.common_cleanup
,
script
]
-
!reference
[
.
gc_
common_cleanup
,
script
]
-
chmod +x devops/gc/tests/clean_up/clean_up.sh && devops/gc/tests/clean_up/clean_up.sh --all
rules
:
-
if
:
"
$CI_COMMIT_BRANCH
=~
/^release/"
...
...
@@ -196,7 +196,7 @@ gc-verified-deploy: # verified deploy after tests
retry
:
1
script
:
-
gcloud auth activate-service-account --key-file $GC_DEPLOY_FILE
-
!reference
[
.common_config
,
script
]
-
!reference
[
.
gc_
common_config
,
script
]
-
>
helm upgrade $GC_SERVICE-deploy $GC_HELM_DEPLOYMENT_DIR
--install
...
...
@@ -213,8 +213,8 @@ gc-verified-deploy: # verified deploy after tests
--set data.indexerAugmenterEnabled=true
--set conf.domain=$GC_DOMAIN
$GC_HELM_TIMEOUT
-
!reference
[
.verify_deploy
,
script
]
-
!reference
[
.verify_bootstrap
,
script
]
-
!reference
[
.
gc_
verify_deploy
,
script
]
-
!reference
[
.
gc_
verify_bootstrap
,
script
]
rules
:
-
if
:
"
$CI_COMMIT_BRANCH
=~
/^release/"
when
:
never
...
...
@@ -249,9 +249,9 @@ gc-dev2-cleanup-env: # clean-up env after tests
GC_HELM_NAMESPACE
:
partition-int-test
script
:
-
gcloud auth activate-service-account --key-file $GC_DEPLOY_FILE
-
!reference
[
.common_config
,
script
]
-
!reference
[
.
gc_
common_config
,
script
]
-
export GOOGLE_APPLICATION_CREDENTIALS="$GC_DEPLOY_FILE"
-
!reference
[
.common_cleanup
,
script
]
-
!reference
[
.
gc_
common_cleanup
,
script
]
-
chmod +x devops/gc/tests/clean_up/clean_up.sh && devops/gc/tests/clean_up/clean_up.sh --all
rules
:
-
if
:
'
$GC
==
"1"
&&
$CI_COMMIT_BRANCH
=~
/^release/'
...
...
@@ -268,9 +268,9 @@ gc-dev2-verified-deploy: # verified deploy after tests
retry
:
1
script
:
-
gcloud auth activate-service-account --key-file $GC_DEV2_DEPLOY_FILE
-
!reference
[
.common_config
,
script
]
-
!reference
[
.define_version
,
script
]
-
!reference
[
.set_image_name
,
script
]
-
!reference
[
.
gc_
common_config
,
script
]
-
!reference
[
.
gc_
define_version
,
script
]
-
!reference
[
.
gc_
set_image_name
,
script
]
-
>
helm upgrade $GC_SERVICE-deploy oci://$CI_REGISTRY_IMAGE/gc-helm/$GC_HELM_PACKAGE_NAME
--version $VERSION
...
...
@@ -288,8 +288,8 @@ gc-dev2-verified-deploy: # verified deploy after tests
--set data.logLevel=INFO
--set conf.domain=$GC_DOMAIN
$GC_HELM_TIMEOUT
-
!reference
[
.verify_deploy
,
script
]
-
!reference
[
.verify_bootstrap
,
script
]
-
!reference
[
.
gc_
verify_deploy
,
script
]
-
!reference
[
.
gc_
verify_bootstrap
,
script
]
rules
:
-
if
:
'
$GC
==
"1"
&&
$CI_COMMIT_BRANCH
=~
/^release/'
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