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

feat: store migration-archive.zip

parent c85d821d
No related branches found
No related tags found
No related merge requests found
Pipeline #404137 passed with stage
in 23 seconds
......@@ -10,6 +10,9 @@ ostack-project-migration:
- 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}" --explicit-volume-names="${MIGRATE_EXPLICIT_VOLUME_NAMES}" ${PROJECT_MIGRATOR_EXTRA_ARGS}
after_script:
- zip -P ${MIGRATION_ARCHIVE_PASSWORD} migration-archive.zip *.dump *.log
- rm -f *.dump *.log
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: manual
......@@ -18,4 +21,4 @@ ostack-project-migration:
when: always
name: g1-g2-migration-${CI_BUILD_NAME}-${CI_BUILD_REF_NAME}-data
paths:
- "*.log"
- "migration-archive.zip"
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