Add job for updating venvs on SRE CI
PROD-36273
Change-Id: Ib5a53a2e2e72f0cdd5d14d4842a604a0c801a0b6
diff --git a/jobs/project.yaml b/jobs/project.yaml
index fec4708..3e0f38c 100644
--- a/jobs/project.yaml
+++ b/jobs/project.yaml
@@ -53,6 +53,7 @@
# - diff_params_reclass_system - can't moved to JJB, unsupported parameters
- environment-template-ci
- self-deploy-jobs
+ - self-deploy-virtualenvs
- tcp-qa-ci
- test_cleanup
# - testrail-reporter-ci - can't moved to JJB, unsupported parameters
diff --git a/jobs/templates/self-deploy-virtulenvs.yaml b/jobs/templates/self-deploy-virtulenvs.yaml
new file mode 100644
index 0000000..eb2c89b
--- /dev/null
+++ b/jobs/templates/self-deploy-virtulenvs.yaml
@@ -0,0 +1,24 @@
+---
+- job-template:
+ concurrent: false
+ disabled: false
+ description: '{job-description}'
+ name: self-deploy-virtualenvs
+ display-name: Update virtualenvs on SRE CI
+ parameters:
+ - string:
+ default: 'master'
+ description: 'tcp-qa review refspec'
+ name: TCP_QA_REFS
+ trim: 'true'
+ scm:
+ - git:
+ branches:
+ - FETCH_HEAD
+ refspec: '${{TCP_QA_REFS}}'
+ url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
+ builders:
+ - shell: "chmod +x tcp_tests/templates/_packer/scripts/jenkins_virtualenvs.sh"
+ - shell: "export CHANGE_RIGHTS=false ; ./tcp_tests/templates/_packer/scripts/jenkins_virtualenvs.sh"
+
+
diff --git a/jobs/view.yaml b/jobs/view.yaml
index fc30261..fdf9f3c 100644
--- a/jobs/view.yaml
+++ b/jobs/view.yaml
@@ -23,12 +23,8 @@
view-type: list
description: |
Managed by JJB <br>
- <b>!!! Jobs run on manual trigger, deploy 2019.2.4 release with enabled Q4 updates repos from http://mirror.mirantis.com/update/2019.2.0/ !!!</b><br>
+ <b>!!! Jobs run on manual trigger, deploy 2019.2.4 release with enabled Q4 updates repos from http://mirror.mirantis.com/update/2019.2.4/ !!!</b><br>
see deploy details To enable deploy from tags 2019.2.4<br>
- SALT_MODELS_SYSTEM_COMMIT: fe72c46d604dcf1d44e4478d60204846b899a77a<br>
- COOKIECUTTER_TEMPLATE_COMMIT:1deaf78727cb3bad748fbd73bcfb6af451a046c1<br>
- MK_PIPELINES_REF: refs/tags/2019.2.4<br>
- PIPELINE_LIBRARY_REF: refs/tags/2019.2.4<br>
filter-executors: true
filter-queue: true
job-name:
@@ -71,11 +67,12 @@
name: self-deploy
view-type: list
description: |
- MCP-2019.2.x-proposed-updates, managed by JJB
+ Jobs to update SRE CI configuration
filter-executors: true
filter-queue: true
job-name:
- self-deploy-jobs
+ - self-deploy-virtualenvs
columns:
- status
- weather