diff mbox series

[2/3] automation: add Fedora image to containerize script

Message ID 20190404112302.4796-3-wei.liu2@citrix.com (mailing list archive)
State New, archived
Headers show
Series automation: add Fedora image and build jobs | expand

Commit Message

Wei Liu April 4, 2019, 11:23 a.m. UTC
At the same time sort the list alphabetically.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 automation/scripts/containerize | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/automation/scripts/containerize b/automation/scripts/containerize
index 01c44da93c..a7809b3010 100755
--- a/automation/scripts/containerize
+++ b/automation/scripts/containerize
@@ -19,10 +19,11 @@  case "_${CONTAINER}" in
     _centos6) CONTAINER="${BASE}/centos:6" ;;
     _centos7) CONTAINER="${BASE}/centos:7" ;;
     _centos72) CONTAINER="${BASE}/centos:7.2" ;;
-    _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;;
-    _xenial) CONTAINER="${BASE}/ubuntu:xenial" ;;
+    _fedora) CONTAINER="${BASE}/fedora:latest";;
     _jessie) CONTAINER="${BASE}/debian:jessie" ;;
     _stretch|_) CONTAINER="${BASE}/debian:stretch" ;;
+    _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;;
+    _xenial) CONTAINER="${BASE}/ubuntu:xenial" ;;
 esac
 
 # Use this variable to control whehter root should be used