Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pipeline-scripts
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OCF
pipeline-scripts
Commits
c47e3aa1
Commit
c47e3aa1
authored
11 months ago
by
Andres Anaya Amariels
Browse files
Options
Downloads
Patches
Plain Diff
testing deploy_ocf_oficial_staging
parent
be8be81d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
capif/templates/cd-deploy-ocf.gitlab-ci.yml
+4
-3
4 additions, 3 deletions
capif/templates/cd-deploy-ocf.gitlab-ci.yml
capif/templates/ci_staging.gitlab-ci.yml
+5
-4
5 additions, 4 deletions
capif/templates/ci_staging.gitlab-ci.yml
with
9 additions
and
7 deletions
capif/templates/cd-deploy-ocf.gitlab-ci.yml
+
4
−
3
View file @
c47e3aa1
...
...
@@ -111,9 +111,10 @@ delete_ocf_staging:
### staging branch merged ###
deploy_ocf_oficial_staging
:
stage
:
deploy_ocf_oficial_staging
rules
:
-
if
:
'
$CI_COMMIT_REF_NAME
==
"staging"'
when
:
always
<<
:
*staging_common
# rules:
# - if: '$CI_COMMIT_REF_NAME == "staging"'
# when: always
needs
:
-
staging_build_and_push_mr
environment
:
...
...
This diff is collapsed.
Click to expand it.
capif/templates/ci_staging.gitlab-ci.yml
+
5
−
4
View file @
c47e3aa1
...
...
@@ -323,9 +323,9 @@ staging_build_and_push:
### staging branch merged ###
staging_build_and_push_mr
:
stage
:
staging_build_and_push_mr
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"push"
&&
$CI_COMMIT_REF_NAME
==
"staging"'
when
:
always
#
rules:
#
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_REF_NAME == "staging"'
#
when: always
script
:
-
export TMP_PWD=$PWD
-
echo "TMP_PWD=$TMP_PWD"
...
...
@@ -402,4 +402,5 @@ staging_build_and_push_mr:
-
docker build -t $CI_REGISTRY/ocf/capif/staging/helper:staging .
-
docker push $CI_REGISTRY/ocf/capif/staging/helper:staging
-
echo "----------------------------------------------------"
-
docker logout $CI_REGISTRY
\ No newline at end of file
-
docker logout $CI_REGISTRY
<<
:
*staging_common
\ No newline at end of file
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