Skip to content
Snippets Groups Projects
Commit 07f2cf96 authored by František Řezníček's avatar František Řezníček
Browse files

refactor: simplify ostack-einfra_cz-prj-automigration job rules

parent 013b025e
No related branches found
No related tags found
No related merge requests found
Pipeline #562363 passed with stage
in 2 minutes and 13 seconds
......@@ -73,10 +73,10 @@ ostack-einfra_cz-prj-flavor-check:
script:
- ci/project-flavor-migration-check.py --source-openrc="${SRC_CLOUD_OSTACK_RC_FILE}_${PROJECT_DOMAIN_NAME}" --destination-openrc="${DST_CLOUD_OSTACK_RC_FILE}_${PROJECT_DOMAIN_NAME}" --project-name="${PROJECT_NAME}"
ostack-einfra_cz-prj-migration-automated:
ostack-einfra_cz-prj-automigration:
<<: *migration-job
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $PROJECT_NAME =~ /^[a-z][a-z0-9_-]+$/ && $VALIDATION_SERVER_ID =~ /^[a-f0-9-]+$/ && $MIGRATION_PIPELINE_TRIGGERER == "cloud-migrations"'
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $PROJECT_NAME =~ /.+/ && $VALIDATION_SERVER_ID =~ /.+/ && $MIGRATION_PIPELINE_TRIGGERER == "cloud-migrations"'
when: on_success
......
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