Remove salt-models jobs. It was moved into infra model
Change-Id: I338345a12893fe0124ba02f484c81c1d48c78e4b
diff --git a/jenkins/client/job/salt-models/generate.yml b/jenkins/client/job/salt-models/generate.yml
index 18483e3..2500254 100644
--- a/jenkins/client/job/salt-models/generate.yml
+++ b/jenkins/client/job/salt-models/generate.yml
@@ -1,40 +1,2 @@
-parameters:
- jenkins:
- client:
- job_template:
- generate-salt-model:
- name: generate-salt-model-{{cookiecutter_template}}
- param:
- cookiecutter_template:
- - separated-products
- template:
- type: workflow-scm
- concurrent: true
- discard:
- build:
- keep_days: 1
- artifact:
- keep_days: 1
- display_name: "Generate reclass cluster {{cookiecutter_template}}"
- scm:
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- branch: "${_param:jenkins_pipelines_branch}"
- credentials: "gerrit"
- script: generate-cookiecutter-products.groovy
- param:
- # Cookiecutter
- COOKIECUTTER_TEMPLATE_CONTEXT:
- type: text
- # Other
- EMAIL_ADDRESS:
- type: string
- TEST_MODEL:
- type: boolean
- default: true
- DISTRIB_REVISION:
- type: string
- default: 'proposed'
- description: |-
- "Those variable will be ignored, in case gerritTrigger=>GERRIT_BRANCH. Version of bin-artifacts,passed to test-env.Includes formula/reclass/ubuntu"
-
+# This file will be removed in Q3
+# jobs was moved into salt-models/infra repo
diff --git a/jenkins/client/job/salt-models/git-mirrors.yml b/jenkins/client/job/salt-models/git-mirrors.yml
index f567ba8..2500254 100644
--- a/jenkins/client/job/salt-models/git-mirrors.yml
+++ b/jenkins/client/job/salt-models/git-mirrors.yml
@@ -1,53 +1,2 @@
-parameters:
- _param:
- jenkins_pollscm_spec: "H/60 * * * *"
- jenkins:
- client:
- job_template:
- git_mirror_2way_salt_model:
- name: git-mirror-2way-salt-model-{{name}}
- template:
- type: workflow-scm
- concurrent: false
- discard:
- build:
- keep_num: 10
- artifact:
- keep_num: 10
- scm:
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- branch: "${_param:jenkins_pipelines_branch}"
- credentials: "gerrit"
- script: git-mirror-2way-pipeline.groovy
- github:
- url: "https://github.com/Mirantis/{{upstream_name}}-salt-model"
- trigger:
- github:
- pollscm:
- spec: ${_param:jenkins_pollscm_spec}
- gerrit:
- project:
- salt-models/{{name}}:
- branches:
- - master
- message:
- build_successful: "Build successful"
- build_unstable: "Build unstable"
- build_failure: "Build failed"
- event:
- ref:
- - updated
- param:
- SOURCE_URL:
- type: string
- default: "${_param:jenkins_gerrit_url}/salt-models/{{name}}.git"
- TARGET_URL:
- type: string
- default: "git@github.com:Mirantis/{{upstream_name}}-salt-model.git"
- CREDENTIALS_ID:
- type: string
- default: "gerrit"
- BRANCHES:
- type: string
- default: "{{branches}}"
+# This file will be removed in Q3
+# jobs was moved into salt-models/infra repo
diff --git a/jenkins/client/job/salt-models/init.yml b/jenkins/client/job/salt-models/init.yml
index 7e5039a..2500254 100644
--- a/jenkins/client/job/salt-models/init.yml
+++ b/jenkins/client/job/salt-models/init.yml
@@ -1,14 +1,2 @@
-classes:
- - system.jenkins.client.job.salt-models.git-mirrors
- - system.jenkins.client.job.salt-models.tests
- - system.jenkins.client.job.salt-models.generate
-parameters:
- _param:
- salt_formulas_branches: master
- jenkins:
- client:
- view:
- "Salt models":
- enabled: true
- type: ListView
- include_regex: ".*-salt-model-.*"
+# This file will be removed in Q3
+# jobs was moved into salt-models/infra repo
diff --git a/jenkins/client/job/salt-models/tests.yml b/jenkins/client/job/salt-models/tests.yml
index e9ba541..2500254 100644
--- a/jenkins/client/job/salt-models/tests.yml
+++ b/jenkins/client/job/salt-models/tests.yml
@@ -1,388 +1,2 @@
-parameters:
- _param:
- jenkins_pollscm_spec: "0 1 * * *"
- jenkins:
- client:
- job_template:
- test_salt_model:
- name: test-salt-model-{{name}}
- template:
- type: workflow-scm
- discard:
- build:
- keep_num: 50
- artifact:
- keep_num: 50
- scm:
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- branch: "${_param:jenkins_pipelines_branch}"
- credentials: "gerrit"
- script: test-salt-models-pipeline.groovy
- concurrent: true
- trigger:
- gerrit:
- project:
- salt-models/{{name}}:
- branches:
- - compare_type: "REG_EXP"
- name: "{{branch}}"
- event:
- comment:
- - addedContains:
- commentAddedCommentContains: '^(?s:Patch Set \d+:.*(test|recheck|reverify)\s*)$'
- param:
- SALT_OPTS:
- type: string
- default: "--force-color"
- DEFAULT_GIT_URL:
- type: string
- description: "Salt model repo URL"
- default: "${_param:jenkins_gerrit_url}/salt-models/{{name}}"
- DEFAULT_GIT_REF:
- type: string
- default: master
- CREDENTIALS_ID:
- type: string
- default: "gerrit"
- PARALLEL_NODE_GROUP_SIZE:
- type: string
- default: "20"
- FORMULAS_SOURCE:
- type: string
- default: "{{formulas_src}}"
- SYSTEM_GIT_URL:
- type: string
- default: ""
- SYSTEM_GIT_REF:
- type: string
- default: ""
- CONFIG_NODE_NAME_PATTERN:
- type: string
- default: "{{config_node_name}}"
- DISTRIB_REVISION:
- type: string
- default: "{{distrib_revision}}"
- MAX_CPU_PER_JOB:
- type: string
- default: "2"
- RECLASS_IGNORE_CLASS_NOTFOUND:
- type: boolean
- default: "{{reclass_ignore_class_notfound}}"
- LEGACY_TEST_MODE:
- type: boolean
- default: "{{legacy_test_mode}}"
- APT_REPOSITORY:
- type: string
- default: ""
- APT_REPOSITORY_GPG:
- type: string
- default: ""
- test_customers_salt_models:
- name: test-customers-salt-models
- template:
- type: workflow-scm
- discard:
- build:
- keep_num: 50
- artifact:
- keep_num: 50
- scm:
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- branch: "${_param:jenkins_pipelines_branch}"
- credentials: "gerrit"
- script: test-customers-salt-models.groovy
- concurrent: false
- trigger:
- timer:
- spec: "{{job_timer}}"
- param:
- CUSTOMERS:
- type: string
- description: "Comma separated list of customer model names"
- default: "{{customers}}"
-
- test_salt_model_customer:
- name: test-salt-model-customer-{{name}}
- template:
- type: workflow-scm
- discard:
- build:
- keep_num: 50
- artifact:
- keep_num: 50
- scm:
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- branch: "${_param:jenkins_pipelines_branch}"
- credentials: "gerrit"
- script: test-salt-models-pipeline.groovy
- concurrent: true
- trigger:
- gerrit:
- project:
- salt-models/{{name}}:
- branches:
- - compare_type: "REG_EXP"
- name: "{{branch}}"
- event:
- comment:
- - addedContains:
- commentAddedCommentContains: '^(?s:Patch Set \d+:.*(test|recheck|reverify)\s*)$'
- param:
- TEST_CLUSTER_NAMES:
- type: string
- description: "Comma separated list of cluster names, empty string means all valid clusters"
- default: "{{test_cluster_names}}"
- SALT_OPTS:
- type: string
- default: "--force-color"
- DEFAULT_GIT_URL:
- type: string
- description: "Salt model repo URL"
- default: "{{source}}"
- DEFAULT_GIT_REF:
- type: string
- default: master
- CREDENTIALS_ID:
- type: string
- default: "gerrit"
- PARALLEL_NODE_GROUP_SIZE:
- type: string
- default: "20"
- FORMULAS_SOURCE:
- type: string
- default: "{{formulas_src}}"
- DISTRIB_REVISION:
- type: string
- default: "{{distrib_revision}}"
- description: |-
- "Those variable will be ignored, in case gerritTrigger=>GERRIT_BRANCH. Version of bin-artifacts,passed to test-env.Includes formula/reclass/ubuntu"
- SYSTEM_GIT_URL:
- type: string
- default: ""
- SYSTEM_GIT_REF:
- type: string
- default: ""
- CONFIG_NODE_NAME_PATTERN:
- type: string
- default: "{{config_node_name}}"
- MAX_CPU_PER_JOB:
- type: string
- default: "2"
- RECLASS_IGNORE_CLASS_NOTFOUND:
- type: boolean
- default: "{{reclass_ignore_class_notfound}}"
- LEGACY_TEST_MODE:
- type: boolean
- default: "{{legacy_test_mode}}"
- APT_REPOSITORY:
- type: string
- default: ""
- APT_REPOSITORY_GPG:
- type: string
- default: ""
- test_system_reclass:
- name: test-salt-model-{{name}}
- template:
- type: workflow-scm
- discard:
- build:
- keep_num: 50
- artifact:
- keep_num: 50
- scm:
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- branch: "${_param:jenkins_pipelines_branch}"
- credentials: "gerrit"
- script: test-system-reclass-pipeline.groovy
- trigger:
- gerrit:
- project:
- salt-models/{{name}}:
- branches:
- - master
- - compare_type: ANT
- name: release/*
- event:
- comment:
- - addedContains:
- commentAddedCommentContains: '(recheck|reverify)'
- concurrent: true
- param:
- TEST_MODELS:
- type: string
- default: "{{clusters}}"
- DEFAULT_GIT_URL:
- type: string
- description: "Run against alternate system reclass"
- default: "${_param:jenkins_gerrit_url}/salt-models/reclass-system"
- DEFAULT_GIT_REF:
- type: string
- default: master
- EXTRA_VARIABLES_YAML:
- type: text
- default: ""
- description: "Extra vars passed as YAML"
- PARALLEL_NODE_GROUP_SIZE:
- type: string
- default: "20"
- test_mk_cookiecutter_templates:
- name: test-mk-{{cookiecutter_template}}
- jobs:
- - cookiecutter_template: cookiecutter-templates
- template:
- discard:
- build:
- keep_days: 4
- artifact:
- keep_days: 4
- type: workflow-scm
- concurrent: true
- scm:
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- branch: "${_param:jenkins_pipelines_branch}"
- credentials: "gerrit"
- script: test-cookiecutter-reclass.groovy
- trigger:
- gerrit:
- project:
- mk/{{cookiecutter_template}}:
- branches:
- - master
- - compare_type: ANT
- name: release/*
- event:
- comment:
- - addedContains:
- commentAddedCommentContains: '^(?s:Patch Set \d+:.*(test|recheck|reverify)\s*)$'
- param:
- COOKIECUTTER_TEMPLATE_URL:
- type: string
- default: "${_param:jenkins_gerrit_url}/mk/{{cookiecutter_template}}"
- COOKIECUTTER_TEMPLATE_BRANCH:
- type: string
- default: master
- description: "Those variable will be ignored, in case gerritTrigger=>GERRIT_BRANCH"
- COOKIECUTTER_TEMPLATE_REF:
- type: string
- default: ""
- description: "Example: refs/changes/49/25549/1"
- RECLASS_SYSTEM_URL:
- type: string
- default: "${_param:jenkins_gerrit_url}/salt-models/reclass-system"
- RECLASS_SYSTEM_BRANCH:
- type: string
- default: master
- description: "Those variable will be ignored, in case gerritTrigger=>GERRIT_BRANCH"
- RECLASS_SYSTEM_GIT_REF:
- type: string
- default: ""
- description: "Example: refs/changes/49/25549/1"
- DISTRIB_REVISION:
- type: string
- default: 'nightly'
- description: |-
- "Those variable will be ignored, in case gerritTrigger=>GERRIT_BRANCH. Version of bin-artifacts,passed to test-env.Includes formula/reclass/ubuntu"
- CREDENTIALS_ID:
- type: string
- default: gerrit
- EXTRA_VARIABLES_YAML:
- type: text
- default: ""
- description: "Extra vars passed as YAML"
- job:
- test-salt-model-node:
- name: test-salt-model-node
- discard:
- build:
- keep_num: 1000
- artifact:
- keep_num: 10
- type: workflow-scm
- concurrent: true
- plugin_properties:
- throttleconcurrents:
- enabled: true
- throttle_option: category
- categories:
- - test-model
- scm:
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- branch: "${_param:jenkins_pipelines_branch}"
- credentials: "gerrit"
- script: test-salt-model-node.groovy
- param:
- NODE_TARGET:
- type: string
- default: ""
- CLUSTER_NAME:
- type: string
- default: ""
- DEFAULT_GIT_URL:
- type: string
- default: "${_param:jenkins_gerrit_url}/salt-models/{{name}}"
- DEFAULT_GIT_REF:
- type: string
- default: master
- CREDENTIALS_ID:
- type: string
- default: "gerrit"
- FORMULAS_SOURCE:
- type: string
- default: "pkg"
- SYSTEM_GIT_URL:
- type: string
- default: ""
- SYSTEM_GIT_REF:
- type: string
- default: ""
- DISTRIB_REVISION:
- type: string
- default: 'stable'
- description: |-
- "Those variable will be ignored, in case gerritTrigger=>GERRIT_BRANCH. Version of bin-artifacts,passed to test-env.Includes formula/reclass/ubuntu"
- MAX_CPU_PER_JOB:
- type: string
- default: "2"
- RECLASS_IGNORE_CLASS_NOTFOUND:
- type: boolean
- default: "false"
- LEGACY_TEST_MODE:
- type: boolean
- default: "false"
- APT_REPOSITORY:
- type: string
- default: ""
- APT_REPOSITORY_GPG:
- type: string
- default: ""
- test-mk-cookiecutter-templates-chunk:
- name: test-mk-cookiecutter-templates-chunk
- discard:
- build:
- keep_days: 3
- artifact:
- keep_days: 3
- type: workflow-scm
- concurrent: true
- plugin_properties:
- throttleconcurrents:
- enabled: true
- throttle_option: category
- categories:
- - test-model
- scm:
- type: git
- url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
- branch: "${_param:jenkins_pipelines_branch}"
- credentials: "gerrit"
- script: test-cookiecutter-reclass-chunk.groovy
- param:
- EXTRA_VARIABLES_YAML:
- type: text
- default: ""
+# This file will be removed in Q3
+# jobs was moved into salt-models/infra repo