Add job for updating venvs on SRE CI
PROD-36273
Change-Id: Ib5a53a2e2e72f0cdd5d14d4842a604a0c801a0b6
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"
+
+