Remove jenkins/job/deploy/lab/{ironic,cleanup,cicd} jobs
It was moved into infra model
Change-Id: I6ae0295ca61aeaa03c1df241fd62c25f99190e1c
diff --git a/jenkins/client/job/deploy/lab/cicd.yml b/jenkins/client/job/deploy/lab/cicd.yml
index 8252cfd..a713427 100644
--- a/jenkins/client/job/deploy/lab/cicd.yml
+++ b/jenkins/client/job/deploy/lab/cicd.yml
@@ -1,93 +1,2 @@
-parameters:
- jenkins:
- client:
- job_template:
- deploy_heat_cicd:
- name: deploy-heat-{{name}}
- jobs:
- - name: cicd-lab-dev
- lab: cicd_lab_dev
- template:
- type: workflow-scm
- concurrent: true
- discard:
- build:
- keep_num: 10
- display_name: "Deploy {{name}} heat stack"
- scm:
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- branch: "${_param:jenkins_pipelines_branch}"
- credentials: "gerrit"
- script: cicd-lab-pipeline.groovy
- param:
- # heat
- HEAT_TEMPLATE_URL:
- type: string
- default: "${_param:jenkins_gerrit_url}/mk/heat-templates"
- HEAT_TEMPLATE_CREDENTIALS:
- type: string
- default: "gerrit"
- HEAT_TEMPLATE_BRANCH:
- type: string
- default: "master"
- HEAT_STACK_NAME:
- type: string
- description: Heat stack name. Will be generated if missing.
- HEAT_STACK_TEMPLATE:
- type: string
- default: "{{lab}}"
- HEAT_STACK_ENVIRONMENT:
- type: string
- default: "devcloud"
- HEAT_STACK_ZONE:
- type: string
- default: "mcp-mk"
- HEAT_STACK_PUBLIC_NET:
- type: string
- default: "public"
- HEAT_STACK_DELETE:
- type: boolean
- default: 'true'
- description: "Delete heat stack at the end of job"
- HEAT_STACK_REUSE:
- type: boolean
- default: 'false'
- description: "Reuse existing stack and only orchestrate deployment"
-
- # salt master
- SALT_MASTER_CREDENTIALS:
- type: string
- default: "salt-qa-credentials"
- SSH_PUBLIC_KEY:
- type: string
- description: "User's public SSH key to be able to login when stack is deployed"
-
- # openstack api
- OPENSTACK_API_URL:
- type: string
- default: "https://cloud-cz.bud.mirantis.net:5000"
- OPENSTACK_API_CREDENTIALS:
- type: string
- default: "openstack-devcloud-credentials"
- OPENSTACK_API_PROJECT:
- type: string
- default: "mcp-mk"
- OPENSTACK_API_CLIENT:
- type: string
- default: ""
- OPENSTACK_API_VERSION:
- type: string
- default: "3"
- OPENSTACK_API_PROJECT_DOMAIN:
- type: string
- default: "default"
- OPENSTACK_API_USER_DOMAIN_ID:
- type: string
- default: "default"
- OPENSTACK_API_PROJECT_ID:
- type: string
- default: ""
- OPENSTACK_API_USER_DOMAIN:
- type: string
- default: "default"
+# This file will be removed in Q3
+# jobs was moved into salt-models/infra repo
\ No newline at end of file
diff --git a/jenkins/client/job/deploy/lab/cleanup.yml b/jenkins/client/job/deploy/lab/cleanup.yml
index 6ecaeee..a713427 100644
--- a/jenkins/client/job/deploy/lab/cleanup.yml
+++ b/jenkins/client/job/deploy/lab/cleanup.yml
@@ -1,108 +1,2 @@
-parameters:
- jenkins:
- client:
- job:
- deploy-stack-cleanup:
- type: workflow-scm
- concurrent: true
- display_name: "Deploy - stack cleanup"
- discard:
- build:
- keep_num: 50
- scm:
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- branch: "${_param:jenkins_pipelines_branch}"
- credentials: "gerrit"
- script: cleanup-pipeline.groovy
- param:
- # general parameters
- STACK_NAME:
- type: string
- description: This stack will be deleted.
- STACK_TYPE:
- type: choice
- choices:
- - heat
- - aws
- default: 'heat'
-
- # heat parameters
- OPENSTACK_API_URL:
- type: string
- default: "https://cloud-cz.bud.mirantis.net:5000"
- OPENSTACK_API_CREDENTIALS:
- type: string
- default: "openstack-devcloud-credentials"
- OPENSTACK_API_PROJECT:
- type: string
- default: "mcp-mk"
- OPENSTACK_API_CLIENT:
- type: string
- default: ""
- OPENSTACK_API_VERSION:
- type: string
- default: "3"
- OPENSTACK_API_PROJECT_DOMAIN:
- type: string
- default: "default"
- OPENSTACK_API_PROJECT_ID:
- type: string
- default: ""
- OPENSTACK_API_USER_DOMAIN:
- type: string
- default: "default"
-
- # aws parameters
- AWS_API_CREDENTIALS:
- type: string
- default: "aws-credentials"
- AWS_DEFAULT_REGION:
- type: string
- default: "eu-central-1"
-
- delete-failed-stacks:
- type: workflow-scm
- concurrent: true
- display_name: "Deploy - delete failed stacks"
- discard:
- build:
- keep_num: 20
- scm:
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- branch: "${_param:jenkins_pipelines_branch}"
- credentials: "gerrit"
- script: delete-broken-stacks-pipeline.groovy
- trigger:
- timer:
- spec: "0 0 * * *"
- param:
- # openstack api
- OPENSTACK_API_URL:
- type: string
- default: "https://cloud-cz.bud.mirantis.net:5000"
- OPENSTACK_API_CREDENTIALS:
- type: string
- default: "openstack-devcloud-credentials"
- OPENSTACK_API_PROJECT:
- type: string
- default: "mcp-k8s, mcp-maintenance, mcp-mk, mcp-networking, mcp-opencontrail, mcp-oss, mcp-platform, mcp-scale, mcp-stacklight, mcp-support"
- OPENSTACK_API_CLIENT:
- type: string
- default: ""
- OPENSTACK_API_VERSION:
- type: string
- default: "3"
- OPENSTACK_API_PROJECT_DOMAIN:
- type: string
- default: "default"
- OPENSTACK_API_USER_DOMAIN_ID:
- type: string
- default: "default"
- OPENSTACK_API_PROJECT_ID:
- type: string
- default: ""
- OPENSTACK_API_USER_DOMAIN:
- type: string
- default: "default"
+# This file will be removed in Q3
+# jobs was moved into salt-models/infra repo
\ No newline at end of file
diff --git a/jenkins/client/job/deploy/lab/init.yml b/jenkins/client/job/deploy/lab/init.yml
index 2b0bd60..fae3ff0 100644
--- a/jenkins/client/job/deploy/lab/init.yml
+++ b/jenkins/client/job/deploy/lab/init.yml
@@ -1,6 +1,4 @@
classes:
- - system.jenkins.client.job.deploy.lab.cicd
- - system.jenkins.client.job.deploy.lab.cleanup
- system.jenkins.client.job.deploy.lab.release.mcp05
- system.jenkins.client.job.deploy.lab.release.mcp10
- system.jenkins.client.job.deploy.lab.release.mcp11
@@ -10,7 +8,6 @@
- system.jenkins.client.job.deploy.lab.component.kubernetes
- system.jenkins.client.job.deploy.lab.component.openstack
- system.jenkins.client.job.deploy.lab.component.stacklight
- - system.jenkins.client.job.deploy.lab.ironic
- system.jenkins.client.job.deploy.lab.mom_deploy
parameters:
diff --git a/jenkins/client/job/deploy/lab/ironic.yml b/jenkins/client/job/deploy/lab/ironic.yml
index f0b67e8..a713427 100644
--- a/jenkins/client/job/deploy/lab/ironic.yml
+++ b/jenkins/client/job/deploy/lab/ironic.yml
@@ -1,80 +1,2 @@
-parameters:
- jenkins:
- client:
- job:
- ironic_node_provision:
- concurrent: true
- discard:
- build:
- keep_num: 20
- display_name: Ironic - provision nodes
- name: ironic-provision-nodes
- param:
- ASK_ON_ERROR:
- default: 'false'
- type: boolean
- HEAT_STACK_ZONE:
- default: mcp-mk
- type: string
- OPENSTACK_API_CLIENT:
- default: ''
- type: string
- OPENSTACK_API_CREDENTIALS:
- default: openstack-devcloud-credentials
- type: string
- OPENSTACK_API_PROJECT:
- default: mcp-mk
- type: string
- OPENSTACK_API_PROJECT_DOMAIN:
- default: default
- type: string
- OPENSTACK_API_PROJECT_ID:
- default: ''
- type: string
- OPENSTACK_API_URL:
- default: https://cloud-cz.bud.mirantis.net:5000
- type: string
- OPENSTACK_API_USER_DOMAIN:
- default: default
- type: string
- OPENSTACK_API_USER_DOMAIN_ID:
- default: default
- type: string
- OPENSTACK_API_VERSION:
- default: '3'
- type: string
- ENV_NAME:
- type: string
- SALT_MASTER_CREDENTIALS:
- default: salt-qa-credentials
- type: string
- SALT_MASTER_URL:
- default: ''
- type: string
- STACK_TYPE:
- default: heat
- type: string
- IRONIC_AUTHORIZATION_PROFILE:
- default: admin_identity
- type: string
- IRONIC_DEPLOY_NODES:
- default: ''
- type: string
- IRONIC_DEPLOY_PROFILE:
- default: ''
- type: string
- IRONIC_DEPLOY_TIMEOUT:
- default: '60'
- type: string
- IRONIC_DEPLOY_PARTITION_PROFILE:
- default: ''
- type: string
- RUN_TARGET:
- default: 'I@ironic:client and *01*'
- type: string
- scm:
- script: ironic-node-provision-pipeline.groovy
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- branch: "${_param:jenkins_pipelines_branch}"
- type: workflow-scm
+# This file will be removed in Q3
+# jobs was moved into salt-models/infra repo
\ No newline at end of file