-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
Undefined
-
For the che-operator (and crw too) we have to limit the dockerfile base image to golang 1.13, because... reasons .
Until we can move to 1.14, this means that checking the base images in the dockerfile (and then automatically updating it) will currently work for the golang base, but FAIL for the ubi8-minimal image.
14:01:22 + echo '[INFO] util.groovy :: updateBaseImages :: SOURCES_BRANCH = crw-2.6-rhel-8' 14:01:22 [INFO] util.groovy :: updateBaseImages :: SOURCES_BRANCH = crw-2.6-rhel-8 14:01:22 + echo '[INFO] util.groovy :: updateBaseImages :: SCRIPTS_BRANCH = crw-2.6-rhel-8' 14:01:22 [INFO] util.groovy :: updateBaseImages :: SCRIPTS_BRANCH = crw-2.6-rhel-8 14:01:22 + cd /mnt/hudson_workspace/workspace/CRW_CI/get-sources-rhpkg-container-build/sources 14:01:22 + /mnt/hudson_workspace/workspace/CRW_CI/get-sources-rhpkg-container-build/updateBaseImages.sh --sources-branch crw-2.6-rhel-8 --scripts-branch crw-2.6-rhel-8 --tag 1.13 14:01:22 14:01:22 # Checking /mnt/hudson_workspace/workspace/CRW_CI/get-sources-rhpkg-container-build/sources/Dockerfile ... 14:01:28 + devtools/go-toolset-rhel7:1.13.15-4 14:01:32 + ubi8-minimal:??? 14:01:32 - ubi8-minimal:8.3-230 14:01:32 /mnt/hudson_workspace/workspace/CRW_CI/get-sources-rhpkg-container-build/updateBaseImages.sh: line 128: ((: 10#cmd: value too great for base (error token is "10#cmd") 14:01:32 /mnt/hudson_workspace/workspace/CRW_CI/get-sources-rhpkg-container-build/updateBaseImages.sh: line 132: ((: 10#cmd: value too great for base (error token is "10#cmd") 14:01:32 /mnt/hudson_workspace/workspace/CRW_CI/get-sources-rhpkg-container-build/updateBaseImages.sh: line 226: [[: ???: syntax error: operand expected (error token is "???") 14:01:32 /mnt/hudson_workspace/workspace/CRW_CI/get-sources-rhpkg-container-build/updateBaseImages.sh: line 226: [[: ???: syntax error: operand expected (error token is "???") 14:01:32 # No change applied for ubi8-minimal:8.3-230 -> ???
Not only is that an ugly failure, it's invalid... the check SHOULD be finding an 8.3 version.
Possible quick workaround is to pass in two patterns to match:
--tag "1\\.13|8\\.[0-9]-"
But there might be a smarter way?