Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix: Remove stale opensdk version pinning
[releng/global-jjb.git]
/
shell
/
openstack-cleanup-old-images.sh
diff --git
a/shell/openstack-cleanup-old-images.sh
b/shell/openstack-cleanup-old-images.sh
index
cbb2ef8
..
2ca3917
100644
(file)
--- a/
shell/openstack-cleanup-old-images.sh
+++ b/
shell/openstack-cleanup-old-images.sh
@@
-11,6
+11,17
@@
# Removes openstack images older than X days in the cloud
echo "---> Cleanup old images"
# Removes openstack images older than X days in the cloud
echo "---> Cleanup old images"
+# shellcheck disable=SC1090
+source ~/lf-env.sh
+
+lf-activate-venv --python python3 "lftools[openstack]" \
+ kubernetes \
+ niet \
+ python-heatclient \
+ python-openstackclient \
+ python-magnumclient \
+ yq
+
os_cloud="${OS_CLOUD:-vex}"
os_image_cleanup_age="${OS_IMAGE_CLEANUP_AGE:-30}"
os_cloud="${OS_CLOUD:-vex}"
os_image_cleanup_age="${OS_IMAGE_CLEANUP_AGE:-30}"