Skip to content
Snippets Groups Projects
Commit c47e3aa1 authored by Andres Anaya Amariels's avatar Andres Anaya Amariels :rocket:
Browse files

testing deploy_ocf_oficial_staging

parent be8be81d
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment