fix: Clean up removing plugin brokers images (#1350)

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
pull/1351/head
Anatolii Bazko 2022-03-18 18:22:25 +02:00 committed by GitHub
parent fd1389099d
commit c9f2dde7a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 19 deletions

View File

@ -122,24 +122,6 @@ if ! grep -q "value: quay.io/eclipse/che-dashboard:$RELEASE" $filename; then
if ! grep -q "value: $RELATED_IMAGE_pvc_jobs" $filename; then
echo "[ERROR] Unable to find ubi8_minimal image in the $filename"; exit 1
fi
# use ${RELEASE} instead of master
wget https://raw.githubusercontent.com/eclipse-che/che-server/${RELEASE}/assembly/assembly-wsmaster-war/src/main/webapp/WEB-INF/classes/che/che.properties -q -O /tmp/che.properties
plugin_broker_meta_image=$(cat /tmp/che.properties | grep che.workspace.plugin_broker.metadata.image | cut -d '=' -f2)
if ! grep -q "value: $plugin_broker_meta_image" $filename; then
echo "[ERROR] Unable to find plugin broker meta image '$plugin_broker_meta_image' in the $filename"; exit 1
fi
plugin_broker_artifacts_image=$(cat /tmp/che.properties | grep che.workspace.plugin_broker.artifacts.image | cut -d '=' -f2)
if ! grep -q "value: $plugin_broker_artifacts_image" $filename; then
echo "[ERROR] Unable to find plugin broker artifacts image '$plugin_broker_artifacts_image' in the $filename"; exit 1
fi
jwt_proxy_image=$(cat /tmp/che.properties | grep che.server.secure_exposer.jwtproxy.image | cut -d '=' -f2)
if ! grep -q "value: $jwt_proxy_image" $filename; then
echo "[ERROR] Unable to find jwt proxy image $jwt_proxy_image in the $filename"; exit 1
fi
}
releaseOperatorCode() {

View File

@ -471,7 +471,6 @@ func StringToImageSlice(imagesString string) []ImageAndName {
func GetDefaultImages() []ImageAndName {
images := []ImageAndName{}
imagePatterns := [...]string{
"^RELATED_IMAGE_.*_plugin_broker.*",
"^RELATED_IMAGE_.*_theia.*",
"^RELATED_IMAGE_.*_machine(_)?exec(_.*)?_plugin_registry_image.*",
"^RELATED_IMAGE_.*_kubernetes(_.*)?_plugin_registry_image.*",