- builder:
name: autorelease-generate-release-patches
builders:
- - shell: !include-raw: include-raw-autorelease-release-versions.sh
+ - shell: !include-raw:
+ - ../global-jjb/shell/lftools-install.sh
+ - include-raw-autorelease-release-versions.sh
- builder:
name: autorelease-get-integration-test-variables
# RELEASE_TAG=Beryllium-SR1 # Example
# RELEASE_BRANCH=stable/beryllium # Example
-LFTOOLS_DIR="$WORKSPACE/.venv-lftools"
-if [ ! -d "$LFTOOLS_DIR" ]
-then
- virtualenv "$LFTOOLS_DIR"
- # shellcheck disable=SC1090
- source "$LFTOOLS_DIR/bin/activate"
- pip install --upgrade pip
- pip freeze
- pip install lftools
-fi
-# shellcheck disable=SC1090
-source "$LFTOOLS_DIR/bin/activate"
-
# Directory to put git format-patches
PATCH_DIR="$WORKSPACE/patches"
#!/bin/bash
-LFTOOLS_DIR="$WORKSPACE/.venv-lftools"
-if [ ! -d "$LFTOOLS_DIR" ]
-then
- virtualenv "$LFTOOLS_DIR"
- # shellcheck disable=SC1090
- source "$LFTOOLS_DIR/bin/activate"
- pip install --upgrade pip
- pip install "lftools>=0.0.10"
- pip freeze
-fi
-# shellcheck disable=SC1090
-source "$LFTOOLS_DIR/bin/activate"
lftools openstack --os-cloud odlpriv-sandbox \
image cleanup --hide-public=True \
- timed: '@weekly'
builders:
- - shell: !include-raw-escape: opendaylight-infra-cleanup-old-images.sh
+ - shell: !include-raw-escape:
+ - global-jjb/shell/lftools-install.sh
+ - opendaylight-infra-cleanup-old-images.sh
publishers:
- email-notification: