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

feat: allow migrations ome at the moment and only on default branch

parent df684ebc
No related branches found
No related tags found
No related merge requests found
Pipeline #403893 waiting for manual action with stage
......@@ -5,12 +5,14 @@ image: registry.gitlab.ics.muni.cz:443/cloud/g2/common-cloud-entities:1.0.2
ostack-project-migration:
stage: migration
resource_group: migration
before_script:
- python3 -m pip install -r ci/requirements.pip > pymodules-install.log
script:
- ci/project-migrator.py --source-openrc="${SRC_CLOUD_OSTACK_RC_FILE}" --destination-openrc="${DST_CLOUD_OSTACK_RC_FILE}" --project-name="${PROJECT_NAME}" --validation-a-source-server-id="${VALIDATION_SERVER_ID}" --ceph-migrator-sshkeyfile="${MIGRATOR_SSH_KEY_FILE}" --explicit-server-names="${MIGRATE_EXPLICIT_SERVER_NAMES}"
rules:
- when: manual
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: manual
artifacts:
expire_in: 1 mo
when: always
......
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