Skip to content

Commit 84ebc64

Browse files
committed
remove info about plugin-generation tool
Signed-off-by: Valeriy Svydenko <[email protected]>
1 parent 6dc7192 commit 84ebc64

File tree

2 files changed

+0
-42
lines changed

2 files changed

+0
-42
lines changed

dependencies/job-config.json

-6
Original file line numberDiff line numberDiff line change
@@ -610,12 +610,6 @@
610610
"3.17": "che-openvsx-v0.15.8",
611611
"3.x": "che-openvsx-v0.15.8"
612612
},
613-
"@eclipse-che/plugin-registry-generator": {
614-
"3.15": "7.87.0",
615-
"3.16": "7.89.0",
616-
"3.17": "next",
617-
"3.x": "next"
618-
},
619613
"OPENSHIFT_VERSIONS_SUPPORTED": {
620614
"3.15": [
621615
"v4.16",

product/updateVersionAndRegistryTags.sh

-36
Original file line numberDiff line numberDiff line change
@@ -96,36 +96,6 @@ replaceField() {
9696
fi
9797
}
9898

99-
# for a given DEVSPACES version, compute the equivalent Che versions that could be compatible
100-
computeLatestPackageVersion() {
101-
found=0
102-
BASE_VERSION="$1" # Dev Spaces 3.y version to use for computations
103-
packageName="$2"
104-
THIS_Y_VALUE="${BASE_VERSION#*.}";
105-
# note that these values are used for versions where main doesn't make sense, such as @eclipse-che/plugin-registry-generator
106-
THIS_CHE_Y=$(( (${THIS_Y_VALUE} * 2) + ${CHE_OFFSET} ));
107-
THIS_CHE_Y_LOWER=$(( ${THIS_CHE_Y} - 1 ));
108-
if [[ $VERBOSE ]]; then echo "For THIS_Y_VALUE = $THIS_Y_VALUE, got THIS_CHE_Y = $THIS_CHE_Y and THIS_CHE_Y_LOWER = $THIS_CHE_Y_LOWER"; fi
109-
110-
# check if .2, .1, .0 version exists in npmjs.com
111-
for y in $THIS_CHE_Y $THIS_CHE_Y_LOWER; do
112-
for z in 2 1 0; do
113-
# echo "curl -sSI https://www.npmjs.com/package/${packageName}/v/7.${y}.${z}"
114-
if [[ $(curl -sSI "https://www.npmjs.com/package/${packageName}/v/7.${y}.${z}" | grep 404) != *"404"* ]]; then
115-
change="plugin-registry-generator[$BASE_VERSION] = 7.${y}.${z}"
116-
COMMIT_MSG="${COMMIT_MSG}; update $change"
117-
echo "Update $change"
118-
replaceField "${JOB_CONFIG}" ".Other[\"${packageName}\"][\"${BASE_VERSION}\"]" "\"7.${y}.${z}\""
119-
found=1
120-
break 2
121-
fi
122-
done
123-
done
124-
if [[ $found -eq 0 ]]; then
125-
replaceField "${JOB_CONFIG}" ".Other[\"${packageName}\"][\"${BASE_VERSION}\"]" "\"latest\""
126-
fi
127-
}
128-
12999
computeLatestCSV() {
130100
image=$1 # operator-bundle
131101
SOURCE_CONTAINER=registry.redhat.io/devspaces/devspaces-${image}
@@ -282,12 +252,6 @@ updateJobConfig() {
282252

283253
done
284254

285-
# set .2 version of @eclipse-che/plugin-registry-generator if currently set to latest
286-
if [[ $(jq -r ".Other[\"@eclipse-che/plugin-registry-generator\"][\"${OLDEST}\"]" "${JOB_CONFIG}") == "latest" ]]; then
287-
computeLatestPackageVersion $OLDEST "@eclipse-che/plugin-registry-generator"
288-
fi
289-
computeLatestPackageVersion $LATEST "@eclipse-che/plugin-registry-generator"
290-
291255
# Update Tags
292256
if [[ $VERBOSE ]]; then
293257
echo "[DEBUG] Updating latest/next tags"

0 commit comments

Comments
 (0)