ceph jenkins pipelines
Change-Id: I4ab21a019d03233ff377af0a7c32bb6f55adae1d
diff --git a/jenkins/client/job/ceph/backend-migration.yml b/jenkins/client/job/ceph/backend-migration.yml
new file mode 100644
index 0000000..e0dc091
--- /dev/null
+++ b/jenkins/client/job/ceph/backend-migration.yml
@@ -0,0 +1,49 @@
+parameters:
+ jenkins:
+ client:
+ job:
+ ceph-backend-migration:
+ type: workflow-scm
+ concurrent: true
+ display_name: "Ceph - backend migration"
+ discard:
+ build:
+ keep_num: 50
+ scm:
+ type: git
+ url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
+ credentials: "gerrit"
+ script: ceph-backend-migration.groovy
+ param:
+ # general parameters
+ SALT_MASTER_URL:
+ type: string
+ description: URL of Salt master
+ default: "http://${_param:salt_master_host}:6969"
+ SALT_MASTER_CREDENTIALS:
+ type: string
+ description: Credentials for login to Salt API
+ default: salt
+ TARGET:
+ type: string
+ description: OSD hosts (minion ids) to be targeted
+ default: 'osd*'
+ OSD:
+ type: string
+ description: OSD ids to be migrated (comma-separated list - 1,2,3)
+ default: '*'
+ ADMIN_HOST:
+ type: string
+ description: Host with admin keyring and access to cluster management
+ default: 'cmn01*'
+ CLUSTER_FLAGS:
+ type: string
+ description: Flags to be aplied before pipeline and after pipeline (comma-separated list)
+ WAIT_FOR_HEALTHY:
+ type: boolean
+ default: 'true'
+ description: Wait for healthy during pipeline
+ ORIGIN_BACKEND:
+ type: string
+ description: Ceph backend before migration
+ default: 'filestore'