Skip to content

Commit

Permalink
chore: remove che-code:insiders from devfile and plugin registries
Browse files Browse the repository at this point in the history
Signed-off-by: Valeriy Svydenko <[email protected]>
  • Loading branch information
svor committed Apr 15, 2024
1 parent 634ac2d commit 2dc6560
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 99 deletions.
4 changes: 0 additions & 4 deletions dependencies/che-devfile-registry/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ function clear_generated_data() {
rm -rf ./resources
for dir in ./devfiles/*/
do
CHE_CODE_DW="${dir}/devworkspace-che-code-insiders.yaml"
if [[ -f "$CHE_CODE_DW" ]]; then
rm "${CHE_CODE_DW}"
fi
CHE_CODE_DW="${dir}/devworkspace-che-code-latest.yaml"
if [[ -f "$CHE_CODE_DW" ]]; then
rm "${CHE_CODE_DW}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ do
name=$(basename "${devfile_repo}")
project="${name}={{_INTERNAL_URL_}}/resources/v2/${name}.zip"

# Generate devworkspace-che-code-insiders.yaml
npm_config_yes=true npx @eclipse-che/${che_devworkspace_generator} \
--devfile-url:"${devfile_url}" \
--editor-entry:che-incubator/che-code/insiders \
--plugin-registry-url:https://redhat-developer.github.io/devspaces/che-plugin-registry/"${VERSION}"/"${arch}"/v3 \
--output-file:"${dir}"devworkspace-che-code-insiders.yaml \
--project."${project}"

# Generate devworkspace-che-code-latest.yaml
npm_config_yes=true npx @eclipse-che/${che_devworkspace_generator} \
--devfile-url:"${devfile_url}" \
Expand Down
1 change: 0 additions & 1 deletion dependencies/che-devfile-registry/build/scripts/index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ for meta in "${metas[@]}"; do
# shellcheck disable=SC2016,SC2094
cat <<< "$(yq -y --arg metadir "${META_DIR}" '.links.devWorkspaces |= . +
{"che-incubator/che-idea/latest": "/\($metadir)/devworkspace-che-idea-latest.yaml",
"che-incubator/che-code/insiders": "/\($metadir)/devworkspace-che-code-insiders.yaml",
"che-incubator/che-code/latest": "/\($metadir)/devworkspace-che-code-latest.yaml"}' "${meta}")" > "${meta}"
fi
done
Expand Down
86 changes: 0 additions & 86 deletions dependencies/che-plugin-registry/che-editors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,92 +107,6 @@ editors:
memoryRequest: 32Mi
cpuLimit: 500m
cpuRequest: 30m
- schemaVersion: 2.2.2
metadata:
name: che-incubator/che-code/insiders
displayName: VS Code - Open Source
description: Red Hat OpenShift Dev Spaces with Microsoft Visual Studio Code - Open Source IDE
icon: /images/vscode.svg
attributes:
publisher: che-incubator
version: insiders
title: Red Hat OpenShift Dev Spaces with Microsoft Visual Studio Code - Open Source IDE
repository: https://github.com/che-incubator/che-code
firstPublicationDate: '2022-07-19'
skipMetaYaml: true
commands:
- id: init-container-command
apply:
component: che-code-injector
- id: init-che-code-command
exec:
component: che-code-runtime-description
commandLine: 'nohup /checode/entrypoint-volume.sh > /checode/entrypoint-logs.txt 2>&1 &'
events:
preStart:
- init-container-command
postStart:
- init-che-code-command
components:
- name: che-code-injector
container:
image: 'registry.redhat.io/devspaces/code-rhel8:3.14'
command: ["/entrypoint-init-container.sh"]
volumeMounts:
- name: checode
path: /checode
memoryLimit: 256Mi
memoryRequest: 32Mi
cpuLimit: 500m
cpuRequest: 30m
- name: che-code-runtime-description
container:
image: 'registry.redhat.io/devspaces/udi-rhel8:3.14'
memoryLimit: 1024Mi
memoryRequest: 256Mi
cpuLimit: 500m
cpuRequest: 30m
volumeMounts:
- name: checode
path: /checode
endpoints:
- name: che-code
attributes:
type: main
cookiesAuthEnabled: true
discoverable: false
urlRewriteSupported: true
targetPort: 3100
exposure: public
secure: true
protocol: https
- name: code-redirect-1
targetPort: 13131
exposure: public
protocol: https
attributes:
discoverable: false
urlRewriteSupported: false
- name: code-redirect-2
targetPort: 13132
exposure: public
protocol: https
attributes:
discoverable: false
urlRewriteSupported: false
- name: code-redirect-3
targetPort: 13133
exposure: public
protocol: https
attributes:
discoverable: false
urlRewriteSupported: false
attributes:
app.kubernetes.io/component: che-code-runtime
app.kubernetes.io/part-of: che-code.eclipse.org
controller.devfile.io/container-contribution: true
- name: checode
volume: {}
- schemaVersion: 2.2.2
metadata:
name: che-incubator/che-code/latest
Expand Down

0 comments on commit 2dc6560

Please sign in to comment.