Add new devfile versions support

pull/637/head
ivinokur 2024-01-09 12:23:28 +02:00
parent 4e067e94d7
commit e0fe282f8f
4 changed files with 4262 additions and 7 deletions

View File

@ -17,7 +17,7 @@ USER 0
# Install yq, kubectl, chectl cli used by olm/olm.sh script.
# hadolint ignore=DL3041
RUN dnf install -y -q --allowerasing --nobest nodejs-devel nodejs-libs psmisc python3-pip jq yq golang httpd-tools \
RUN dnf install -y -q --allowerasing --nobest nodejs-devel nodejs-libs psmisc python3-pip jq golang httpd-tools \
# already installed or installed as deps:
openssl openssl-devel ca-certificates make cmake cpp gcc gcc-c++ zlib zlib-devel brotli brotli-devel python3 nodejs-packaging && \
dnf update -y && dnf clean all && \

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2021 Red Hat, Inc.
* Copyright (c) 2012-2024 Red Hat, Inc.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
@ -24,11 +24,7 @@ public class Constants {
public static final String CURRENT_API_VERSION = "1.0.0";
public static final List<String> SUPPORTED_VERSIONS =
List.of(
CURRENT_API_VERSION,
"2.0.0",
"2.1.0",
"2.2.0"); // note 2.2.0 is not released and is just a snapshot
List.of(CURRENT_API_VERSION, "2.0.0", "2.1.0", "2.2.0", "2.2.1", "2.2.2");
public static final String EDITOR_COMPONENT_TYPE = "cheEditor";

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff