Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ocm-engine
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
svdh
ocm-engine
Commits
b29e7a9a
Commit
b29e7a9a
authored
1 year ago
by
Veselin
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
4de6eef2
No related branches found
No related tags found
2 merge requests
!22
ci: add-ci-cd-for-all-services
,
!21
CI: new services pipeline integration
Pipeline
#63541
passed with stage
in 1 minute and 22 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+16
-30
16 additions, 30 deletions
.gitlab-ci.yml
with
16 additions
and
30 deletions
.gitlab-ci.yml
+
16
−
30
View file @
b29e7a9a
...
@@ -589,56 +589,56 @@ agent-test ocm-two:
...
@@ -589,56 +589,56 @@ agent-test ocm-two:
attestation-manager-test ocm
:
attestation-manager-test ocm
:
stage
:
deploy-test
stage
:
deploy-test
extends
:
.test-a
gent
-ocm-one
extends
:
.test-a
ttestation-manager
-ocm-one
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"attestation-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"attestation-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
when
:
manual
when
:
manual
attestation-manager-test ocm-two
:
attestation-manager-test ocm-two
:
stage
:
deploy-test
stage
:
deploy-test
extends
:
.test-a
gent
-ocm-two
extends
:
.test-a
ttestation-manager
-ocm-two
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"attestation-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"attestation-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
when
:
manual
when
:
manual
connection-manager-test ocm
:
connection-manager-test ocm
:
stage
:
deploy-test
stage
:
deploy-test
extends
:
.test-age
nt
-ocm-one
extends
:
.test-
connection-man
age
r
-ocm-one
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"connection-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"connection-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
when
:
manual
when
:
manual
connection-manager-test ocm-two
:
connection-manager-test ocm-two
:
stage
:
deploy-test
stage
:
deploy-test
extends
:
.test-age
nt
-ocm-two
extends
:
.test-
connection-man
age
r
-ocm-two
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"connection-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"connection-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
when
:
manual
when
:
manual
gateway-test ocm
:
gateway-test ocm
:
stage
:
deploy-test
stage
:
deploy-test
extends
:
.test-
agent
-ocm-one
extends
:
.test-
gateway
-ocm-one
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"gateway"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"gateway"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
when
:
manual
when
:
manual
gateway-test ocm-two
:
gateway-test ocm-two
:
stage
:
deploy-test
stage
:
deploy-test
extends
:
.test-
agent
-ocm-two
extends
:
.test-
gateway
-ocm-two
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"gateway"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"gateway"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
when
:
manual
when
:
manual
proof-manager-test ocm
:
proof-manager-test ocm
:
stage
:
deploy-test
stage
:
deploy-test
extends
:
.test-age
nt
-ocm-one
extends
:
.test-
proof-man
age
r
-ocm-one
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"proof-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"proof-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
when
:
manual
when
:
manual
proof-manager-test ocm-two
:
proof-manager-test ocm-two
:
stage
:
deploy-test
stage
:
deploy-test
extends
:
.test-age
nt
-ocm-two
extends
:
.test-
proof-man
age
r
-ocm-two
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"proof-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"proof-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"'
when
:
manual
when
:
manual
...
@@ -663,74 +663,60 @@ agent-prod ocm-two:
...
@@ -663,74 +663,60 @@ agent-prod ocm-two:
attestation-manager-prod ocm
:
attestation-manager-prod ocm
:
stage
:
deploy-prod
stage
:
deploy-prod
extends
:
.prod-a
gent
-ocm-one
extends
:
.prod-a
ttestation-manager
-ocm-one
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"attestation-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"attestation-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
when
:
manual
when
:
manual
attestation-manager-prod ocm-two
:
attestation-manager-prod ocm-two
:
stage
:
deploy-prod
stage
:
deploy-prod
extends
:
.prod-a
gent
-ocm-two
extends
:
.prod-a
ttestation-manager
-ocm-two
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"attestation-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"attestation-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
when
:
manual
when
:
manual
connection-manager-prod ocm
:
connection-manager-prod ocm
:
stage
:
deploy-prod
stage
:
deploy-prod
extends
:
.prod-age
nt
-ocm-one
extends
:
.prod-
connection-man
age
r
-ocm-one
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"connection-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"connection-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
when
:
manual
when
:
manual
connection-manager-prod ocm-two
:
connection-manager-prod ocm-two
:
stage
:
deploy-prod
stage
:
deploy-prod
extends
:
.prod-age
nt
-ocm-two
extends
:
.prod-
connection-man
age
r
-ocm-two
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"connection-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"connection-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
when
:
manual
when
:
manual
gateway-prod ocm
:
gateway-prod ocm
:
stage
:
deploy-prod
stage
:
deploy-prod
extends
:
.prod-
agent
-ocm-one
extends
:
.prod-
gateway
-ocm-one
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"gateway"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"gateway"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
when
:
manual
when
:
manual
gateway-prod ocm-two
:
gateway-prod ocm-two
:
stage
:
deploy-prod
stage
:
deploy-prod
extends
:
.prod-
agent
-ocm-two
extends
:
.prod-
gateway
-ocm-two
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"gateway"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"gateway"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
when
:
manual
when
:
manual
proof-manager-prod ocm
:
proof-manager-prod ocm
:
stage
:
deploy-prod
stage
:
deploy-prod
extends
:
.prod-age
nt
-ocm-one
extends
:
.prod-
proof-man
age
r
-ocm-one
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"proof-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"proof-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
when
:
manual
when
:
manual
proof-manager-prod ocm-two
:
proof-manager-prod ocm-two
:
stage
:
deploy-prod
stage
:
deploy-prod
extends
:
.prod-age
nt
-ocm-two
extends
:
.prod-
proof-man
age
r
-ocm-two
rules
:
rules
:
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"proof-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
-
if
:
'
$PIPELINE_TRIGGERED
==
"yes"
&&
$APP
==
"proof-manager"
&&
$CI_PIPELINE_SOURCE
!=
"merge_request_event"
&&
$MAIN_PROD
==
"yes"
&&
$GITLAB_USER_LOGIN
=~
$AUTORIZED_USERS'
when
:
manual
when
:
manual
# engine-prod ocm:
# stage: deploy-prod
# extends: .prod-engine-ocm-one
# rules:
# - if: '$PIPELINE_TRIGGERED == "yes" && $APP == "engine"'
# when: manual
# engine-prod ocm-two:
# stage: deploy-prod
# extends: .prod-engine-ocm-two
# rules:
# - if: '$PIPELINE_TRIGGERED == "yes" && $APP == "engine"'
# when: manual
##
##
### Deploy manual on Stage Environment
### Deploy manual on Stage Environment
##
##
...
...
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