Remove use of user venv by build-jjb-verify job 01/62301/5
authorTim Johnson <tijohnson@linuxfoundation.org>
Sat, 16 Nov 2019 00:23:02 +0000 (16:23 -0800)
committerTim Johnson <tijohnson@linuxfoundation.org>
Tue, 19 Nov 2019 22:38:00 +0000 (14:38 -0800)
Call lf-activate-venv() to create required venv. Not longer need
jjb-cleanup.sh & jjb-install.sh. Some project repos still depend on
them, so they have to remain for now.

Issue: RELENG-2538
Change-Id: I22f122d81a7f4977cb0be1e52f5c0317390f23cd
Signed-off-by: Tim Johnson <tijohnson@linuxfoundation.org>
jjb/lf-ci-jobs.yaml
releasenotes/notes/stop-using-user-venvs-cb6ba37b76f5bc4a.yaml [new file with mode: 0644]
shell/jjb-verify-job.sh

index 9f12231..4a74615 100644 (file)
       - lf-infra-pre-build
       - lf-infra-jjbini
       - shell: !include-raw-escape:
-          - ../shell/git-validate-jira-urls.sh
-          - ../shell/jjb-install.sh
           - ../shell/jjb-verify-job.sh
-          - ../shell/jjb-check-unicode.sh
-          - ../shell/jjb-cleanup.sh
       - lf-infra-gpg-verify-git-signature
 
 - job-template:
           git cherry-pick FETCH_HEAD
       - lf-infra-jjbini
       - shell: !include-raw-escape:
-          - ../shell/git-validate-jira-urls.sh
-          - ../shell/jjb-install.sh
           - ../shell/jjb-verify-job.sh
-          - ../shell/jjb-check-unicode.sh
-          - ../shell/jjb-cleanup.sh
       - lf-infra-gpg-verify-git-signature
 
 - job-template:
diff --git a/releasenotes/notes/stop-using-user-venvs-cb6ba37b76f5bc4a.yaml b/releasenotes/notes/stop-using-user-venvs-cb6ba37b76f5bc4a.yaml
new file mode 100644 (file)
index 0000000..a78e1f3
--- /dev/null
@@ -0,0 +1,4 @@
+---
+fixes:
+  - Removed dependency on 'user' venv created by python-tools-install.sh from
+    the builder-jjb-verify job. It will call lf-acitivate-venv() instead.
index 8dd50f7..d7a9e31 100644 (file)
@@ -13,6 +13,14 @@ echo "---> jjb-verify-job.sh"
 # Ensure we fail the job if any steps fail.
 set -eu -o pipefail
 
+# shellcheck disable=SC1090
+source ~/lf-env.sh
+
+lf-git-validate-jira-urls
+lf-jjb-check-ascii
+
+lf-activate-venv jenkins-job-builder
+
 jenkins-jobs -l DEBUG test --recursive -o archives/job-configs --config-xml jjb/
 
 # Sort job output into sub-directories. On large Jenkins systems that have