From 91b745246e20f760efd74758022420d7302becf6 Mon Sep 17 00:00:00 2001 From: Stephanie Cao Date: Wed, 11 Oct 2023 19:53:34 +0000 Subject: [PATCH] Update devfile schema based on devfile/api@1ae41b52c5f2bea1031b16277666e1b6baa0358c Signed-off-by: Stephanie Cao --- libs/docs/src/config/stable-version.txt | 2 +- libs/docs/src/config/version.ts | 4 ++-- libs/docs/src/config/versions.txt | 2 +- .../docs/src/devfile-schemas/{2.2.1-alpha.json => 2.2.1.json} | 2 +- .../src/docs/{2.2.1-alpha => 2.2.1}/adding-a-command-group.md | 0 .../docs/{2.2.1-alpha => 2.2.1}/adding-a-composite-command.md | 0 .../{2.2.1-alpha => 2.2.1}/adding-a-container-component.md | 0 .../adding-a-kubernetes-or-openshift-component.md | 0 .../docs/{2.2.1-alpha => 2.2.1}/adding-a-volume-component.md | 0 .../docs/{2.2.1-alpha => 2.2.1}/adding-an-apply-command.md | 0 .../src/docs/{2.2.1-alpha => 2.2.1}/adding-an-exec-command.md | 0 .../docs/{2.2.1-alpha => 2.2.1}/adding-an-image-component.md | 0 libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-commands.md | 0 .../docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-components.md | 0 .../src/docs/{2.2.1-alpha => 2.2.1}/adding-event-bindings.md | 0 libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-projects.md | 0 .../src/docs/{2.2.1-alpha => 2.2.1}/authoring-overview.md | 0 libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/create-devfiles.md | 0 .../src/docs/{2.2.1-alpha => 2.2.1}/defining-attributes.md | 0 .../src/docs/{2.2.1-alpha => 2.2.1}/defining-endpoints.md | 0 .../{2.2.1-alpha => 2.2.1}/defining-environment-variables.md | 0 .../{2.2.1-alpha => 2.2.1}/defining-kubernetes-resources.md | 0 .../docs/{2.2.1-alpha => 2.2.1}/defining-starter-projects.md | 0 .../src/docs/{2.2.1-alpha => 2.2.1}/defining-variables.md | 0 libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/devfile-commands.md | 0 .../src/docs/{2.2.1-alpha => 2.2.1}/innerloop-vs-outerloop.md | 0 .../docs/{2.2.1-alpha => 2.2.1}/limiting-resources-usage.md | 0 .../overriding-pod-and-container-attributes.md | 0 .../docs/src/docs/{2.2.1-alpha => 2.2.1}/packaging-devfile.md | 0 .../{2.2.1-alpha => 2.2.1}/referring-to-a-parent-devfile.md | 0 libs/docs/src/navigation/{2.2.1-alpha.yaml => 2.2.1.yaml} | 0 31 files changed, 5 insertions(+), 5 deletions(-) rename libs/docs/src/devfile-schemas/{2.2.1-alpha.json => 2.2.1.json} (99%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-a-command-group.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-a-composite-command.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-a-container-component.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-a-kubernetes-or-openshift-component.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-a-volume-component.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-an-apply-command.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-an-exec-command.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-an-image-component.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-commands.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-components.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-event-bindings.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/adding-projects.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/authoring-overview.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/create-devfiles.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/defining-attributes.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/defining-endpoints.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/defining-environment-variables.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/defining-kubernetes-resources.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/defining-starter-projects.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/defining-variables.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/devfile-commands.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/innerloop-vs-outerloop.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/limiting-resources-usage.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/overriding-pod-and-container-attributes.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/packaging-devfile.md (100%) rename libs/docs/src/docs/{2.2.1-alpha => 2.2.1}/referring-to-a-parent-devfile.md (100%) rename libs/docs/src/navigation/{2.2.1-alpha.yaml => 2.2.1.yaml} (100%) diff --git a/libs/docs/src/config/stable-version.txt b/libs/docs/src/config/stable-version.txt index e3a4f193..fae692e4 100644 --- a/libs/docs/src/config/stable-version.txt +++ b/libs/docs/src/config/stable-version.txt @@ -1 +1 @@ -2.2.0 \ No newline at end of file +2.2.1 \ No newline at end of file diff --git a/libs/docs/src/config/version.ts b/libs/docs/src/config/version.ts index 26ce1a8c..e2ddfc2f 100644 --- a/libs/docs/src/config/version.ts +++ b/libs/docs/src/config/version.ts @@ -16,6 +16,6 @@ import { DocVersions } from '../types'; -export const docVersions = ['2.0.0', '2.1.0', '2.2.0', '2.2.1-alpha'] as const; +export const docVersions = ['2.0.0', '2.1.0', '2.2.0', '2.2.1'] as const; -export const defaultVersion: DocVersions = '2.2.0'; +export const defaultVersion: DocVersions = '2.2.1'; diff --git a/libs/docs/src/config/versions.txt b/libs/docs/src/config/versions.txt index 832c32ad..3eb660dd 100644 --- a/libs/docs/src/config/versions.txt +++ b/libs/docs/src/config/versions.txt @@ -1,4 +1,4 @@ 2.0.0 2.1.0 2.2.0 -2.2.1-alpha \ No newline at end of file +2.2.1 \ No newline at end of file diff --git a/libs/docs/src/devfile-schemas/2.2.1-alpha.json b/libs/docs/src/devfile-schemas/2.2.1.json similarity index 99% rename from libs/docs/src/devfile-schemas/2.2.1-alpha.json rename to libs/docs/src/devfile-schemas/2.2.1.json index 5808b189..8aff4e38 100644 --- a/libs/docs/src/devfile-schemas/2.2.1-alpha.json +++ b/libs/docs/src/devfile-schemas/2.2.1.json @@ -1,7 +1,7 @@ { "description": "Devfile describes the structure of a cloud-native devworkspace and development environment.", "type": "object", - "title": "Devfile schema - Version 2.2.1-alpha", + "title": "Devfile schema - Version 2.2.1", "required": [ "schemaVersion" ], diff --git a/libs/docs/src/docs/2.2.1-alpha/adding-a-command-group.md b/libs/docs/src/docs/2.2.1/adding-a-command-group.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/adding-a-command-group.md rename to libs/docs/src/docs/2.2.1/adding-a-command-group.md diff --git a/libs/docs/src/docs/2.2.1-alpha/adding-a-composite-command.md b/libs/docs/src/docs/2.2.1/adding-a-composite-command.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/adding-a-composite-command.md rename to libs/docs/src/docs/2.2.1/adding-a-composite-command.md diff --git a/libs/docs/src/docs/2.2.1-alpha/adding-a-container-component.md b/libs/docs/src/docs/2.2.1/adding-a-container-component.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/adding-a-container-component.md rename to libs/docs/src/docs/2.2.1/adding-a-container-component.md diff --git a/libs/docs/src/docs/2.2.1-alpha/adding-a-kubernetes-or-openshift-component.md b/libs/docs/src/docs/2.2.1/adding-a-kubernetes-or-openshift-component.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/adding-a-kubernetes-or-openshift-component.md rename to libs/docs/src/docs/2.2.1/adding-a-kubernetes-or-openshift-component.md diff --git a/libs/docs/src/docs/2.2.1-alpha/adding-a-volume-component.md b/libs/docs/src/docs/2.2.1/adding-a-volume-component.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/adding-a-volume-component.md rename to libs/docs/src/docs/2.2.1/adding-a-volume-component.md diff --git a/libs/docs/src/docs/2.2.1-alpha/adding-an-apply-command.md b/libs/docs/src/docs/2.2.1/adding-an-apply-command.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/adding-an-apply-command.md rename to libs/docs/src/docs/2.2.1/adding-an-apply-command.md diff --git a/libs/docs/src/docs/2.2.1-alpha/adding-an-exec-command.md b/libs/docs/src/docs/2.2.1/adding-an-exec-command.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/adding-an-exec-command.md rename to libs/docs/src/docs/2.2.1/adding-an-exec-command.md diff --git a/libs/docs/src/docs/2.2.1-alpha/adding-an-image-component.md b/libs/docs/src/docs/2.2.1/adding-an-image-component.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/adding-an-image-component.md rename to libs/docs/src/docs/2.2.1/adding-an-image-component.md diff --git a/libs/docs/src/docs/2.2.1-alpha/adding-commands.md b/libs/docs/src/docs/2.2.1/adding-commands.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/adding-commands.md rename to libs/docs/src/docs/2.2.1/adding-commands.md diff --git a/libs/docs/src/docs/2.2.1-alpha/adding-components.md b/libs/docs/src/docs/2.2.1/adding-components.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/adding-components.md rename to libs/docs/src/docs/2.2.1/adding-components.md diff --git a/libs/docs/src/docs/2.2.1-alpha/adding-event-bindings.md b/libs/docs/src/docs/2.2.1/adding-event-bindings.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/adding-event-bindings.md rename to libs/docs/src/docs/2.2.1/adding-event-bindings.md diff --git a/libs/docs/src/docs/2.2.1-alpha/adding-projects.md b/libs/docs/src/docs/2.2.1/adding-projects.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/adding-projects.md rename to libs/docs/src/docs/2.2.1/adding-projects.md diff --git a/libs/docs/src/docs/2.2.1-alpha/authoring-overview.md b/libs/docs/src/docs/2.2.1/authoring-overview.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/authoring-overview.md rename to libs/docs/src/docs/2.2.1/authoring-overview.md diff --git a/libs/docs/src/docs/2.2.1-alpha/create-devfiles.md b/libs/docs/src/docs/2.2.1/create-devfiles.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/create-devfiles.md rename to libs/docs/src/docs/2.2.1/create-devfiles.md diff --git a/libs/docs/src/docs/2.2.1-alpha/defining-attributes.md b/libs/docs/src/docs/2.2.1/defining-attributes.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/defining-attributes.md rename to libs/docs/src/docs/2.2.1/defining-attributes.md diff --git a/libs/docs/src/docs/2.2.1-alpha/defining-endpoints.md b/libs/docs/src/docs/2.2.1/defining-endpoints.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/defining-endpoints.md rename to libs/docs/src/docs/2.2.1/defining-endpoints.md diff --git a/libs/docs/src/docs/2.2.1-alpha/defining-environment-variables.md b/libs/docs/src/docs/2.2.1/defining-environment-variables.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/defining-environment-variables.md rename to libs/docs/src/docs/2.2.1/defining-environment-variables.md diff --git a/libs/docs/src/docs/2.2.1-alpha/defining-kubernetes-resources.md b/libs/docs/src/docs/2.2.1/defining-kubernetes-resources.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/defining-kubernetes-resources.md rename to libs/docs/src/docs/2.2.1/defining-kubernetes-resources.md diff --git a/libs/docs/src/docs/2.2.1-alpha/defining-starter-projects.md b/libs/docs/src/docs/2.2.1/defining-starter-projects.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/defining-starter-projects.md rename to libs/docs/src/docs/2.2.1/defining-starter-projects.md diff --git a/libs/docs/src/docs/2.2.1-alpha/defining-variables.md b/libs/docs/src/docs/2.2.1/defining-variables.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/defining-variables.md rename to libs/docs/src/docs/2.2.1/defining-variables.md diff --git a/libs/docs/src/docs/2.2.1-alpha/devfile-commands.md b/libs/docs/src/docs/2.2.1/devfile-commands.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/devfile-commands.md rename to libs/docs/src/docs/2.2.1/devfile-commands.md diff --git a/libs/docs/src/docs/2.2.1-alpha/innerloop-vs-outerloop.md b/libs/docs/src/docs/2.2.1/innerloop-vs-outerloop.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/innerloop-vs-outerloop.md rename to libs/docs/src/docs/2.2.1/innerloop-vs-outerloop.md diff --git a/libs/docs/src/docs/2.2.1-alpha/limiting-resources-usage.md b/libs/docs/src/docs/2.2.1/limiting-resources-usage.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/limiting-resources-usage.md rename to libs/docs/src/docs/2.2.1/limiting-resources-usage.md diff --git a/libs/docs/src/docs/2.2.1-alpha/overriding-pod-and-container-attributes.md b/libs/docs/src/docs/2.2.1/overriding-pod-and-container-attributes.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/overriding-pod-and-container-attributes.md rename to libs/docs/src/docs/2.2.1/overriding-pod-and-container-attributes.md diff --git a/libs/docs/src/docs/2.2.1-alpha/packaging-devfile.md b/libs/docs/src/docs/2.2.1/packaging-devfile.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/packaging-devfile.md rename to libs/docs/src/docs/2.2.1/packaging-devfile.md diff --git a/libs/docs/src/docs/2.2.1-alpha/referring-to-a-parent-devfile.md b/libs/docs/src/docs/2.2.1/referring-to-a-parent-devfile.md similarity index 100% rename from libs/docs/src/docs/2.2.1-alpha/referring-to-a-parent-devfile.md rename to libs/docs/src/docs/2.2.1/referring-to-a-parent-devfile.md diff --git a/libs/docs/src/navigation/2.2.1-alpha.yaml b/libs/docs/src/navigation/2.2.1.yaml similarity index 100% rename from libs/docs/src/navigation/2.2.1-alpha.yaml rename to libs/docs/src/navigation/2.2.1.yaml