From e73555fea19208b317daa81f0a45a1bdccf1869d Mon Sep 17 00:00:00 2001 From: morri-son Date: Wed, 2 Oct 2024 15:20:22 +0000 Subject: [PATCH] deploy: f1e6c16c613fa13b703bc4c78513d91e79e104dc --- docs/overview/specification/schema-v2.html | 2 +- docs/overview/specification/schema-v3alpha1.html | 2 +- install.sh | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/overview/specification/schema-v2.html b/docs/overview/specification/schema-v2.html index fb1f55ff..fcb23844 100644 --- a/docs/overview/specification/schema-v2.html +++ b/docs/overview/specification/schema-v2.html @@ -1 +1 @@ - Schema Docs
Type: object

Open Component Model v2 schema

Type: object

component descriptor metadata

Type: string

Type: object

a component

Type: string
Must match regular expression: ^[a-z][-a-z0-9]*([.][a-z][-a-z0-9]*)*[.][a-z]{2,}(/[a-z][-a-z0-9_]*([.][a-z][-a-z0-9_]*)*)+$

Must be at most 255 characters long

Type: string
Must match regular expression: ^[v]?(0|[1-9]\d*)(?:\.(0|[1-9]\d*))?(?:\.(0|[1-9]\d*))?(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$

Type: string or nullFormat: date-time

Type: string

Type: array
No Additional Items

Each item of this array must be:

Type: object

Type: string

Type: object

Type: object
Must match regular expression: ^v[0-9]+$

Type: boolean

Type: object
No Additional Properties

Type: object
Must match regular expression: ^[a-z][a-z0-9/_-]+$

Type: array
No Additional Items

Each item of this array must be:

Type: object

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: string

Type: array
No Additional Items

Each item of this array must be:


Type: object

base type for accesses (for extensions)

The following properties are required:

  • type
Type: object

Type: enum (of string)

Must be one of:

  • "github"

Type: object

Type: enum (of string)

Must be one of:

  • "http"

Type: array
No Additional Items

Each item of this array must be:

Type: object

a reference to a component

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: array
No Additional Items

Each item of this array must be:


Type: object

base type for resources

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: array
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "local"
  • "external"

Type: array
No Additional Items

Each item of this array must be:


Type: object

The following properties are required:

  • layer

Type: enum (of string)

Must be one of:

  • "ociBlob"

Type: string

A oci reference to the manifest

Type: string

The media type of the object this access refers to

Type: string

The digest of the targeted content

Type: number

The size in bytes of the blob

Type: object

Type: enum (of string)

Must be one of:

  • "localFilesystemBlob"

Type: string

filename of the blob that is located in the "blobs" directory

Type: object

The following properties are required:

  • filename

Type: enum (of string)

Must be one of:

  • "localOciBlob"

Type: string

digest of the layer within the current component descriptor

Type: object

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: enum (of string)

Must be one of:

  • "ociImage"

Type: array
No Additional Items

Each item of this array must be:

Type: object

Type: enum (of string)

Must be one of:

  • "ociRegistry"

Type: object

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: enum (of string)

Must be one of:

  • "generic"

Type: array
No Additional Items

Each item of this array must be:

Type: object

Type: enum (of string)

Must be one of:

  • "generic"

Type: array
No Additional Items

Each item of this array must be:

Type: object

Type: string

Type: object

Type: string

The media type of the signature value

\ No newline at end of file + Schema Docs
Type: object

Open Component Model v2 schema

Type: object

component descriptor metadata

Type: string

Type: object

a component

Type: string
Must match regular expression: ^[a-z][-a-z0-9]*([.][a-z][-a-z0-9]*)*[.][a-z]{2,}(/[a-z][-a-z0-9_]*([.][a-z][-a-z0-9_]*)*)+$

Must be at most 255 characters long

Type: string
Must match regular expression: ^[v]?(0|[1-9]\d*)(?:\.(0|[1-9]\d*))?(?:\.(0|[1-9]\d*))?(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$

Type: string or nullFormat: date-time

Type: string

Type: array
No Additional Items

Each item of this array must be:

Type: object

Type: string

Type: object

Type: object
Must match regular expression: ^v[0-9]+$

Type: boolean

Type: object
No Additional Properties

Type: object
Must match regular expression: ^[a-z][a-z0-9/_-]+$

Type: array
No Additional Items

Each item of this array must be:

Type: object

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: string

Type: array
No Additional Items

Each item of this array must be:


Type: object

base type for accesses (for extensions)

The following properties are required:

  • type
Type: object

Type: enum (of string)

Must be one of:

  • "github"

Type: object

Type: enum (of string)

Must be one of:

  • "http"

Type: array
No Additional Items

Each item of this array must be:

Type: object

a reference to a component

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: array
No Additional Items

Each item of this array must be:


Type: object

base type for resources

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: array
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "local"
  • "external"

Type: array
No Additional Items

Each item of this array must be:


Type: object

The following properties are required:

  • layer

Type: enum (of string)

Must be one of:

  • "ociBlob"

Type: string

A oci reference to the manifest

Type: string

The media type of the object this access refers to

Type: string

The digest of the targeted content

Type: number

The size in bytes of the blob

Type: object

Type: enum (of string)

Must be one of:

  • "localFilesystemBlob"

Type: string

filename of the blob that is located in the "blobs" directory

Type: object

The following properties are required:

  • filename

Type: enum (of string)

Must be one of:

  • "localOciBlob"

Type: string

digest of the layer within the current component descriptor

Type: object

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: enum (of string)

Must be one of:

  • "ociImage"

Type: array
No Additional Items

Each item of this array must be:

Type: object

Type: enum (of string)

Must be one of:

  • "ociRegistry"

Type: object

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: enum (of string)

Must be one of:

  • "generic"

Type: array
No Additional Items

Each item of this array must be:

Type: object

Type: enum (of string)

Must be one of:

  • "generic"

Type: array
No Additional Items

Each item of this array must be:

Type: object

Type: string

Type: object

Type: string

The media type of the signature value

\ No newline at end of file diff --git a/docs/overview/specification/schema-v3alpha1.html b/docs/overview/specification/schema-v3alpha1.html index d1045ed2..1f3e5da9 100644 --- a/docs/overview/specification/schema-v3alpha1.html +++ b/docs/overview/specification/schema-v3alpha1.html @@ -1 +1 @@ - Schema Docs
Type: object

OCM Component Descriptor v3 schema

Type: enum (of string)

Must be one of:

  • "ocm.gardener.cloud/v3alpha1"
  • "ocm.software/v3alpha1"

Type: const
Specific value: "ComponentVersion"

Type: object

component version metadata

No Additional Properties

Type: string
Must match regular expression: ^[a-z][-a-z0-9]*([.][a-z][-a-z0-9]*)*[.][a-z]{2,}(/[a-z][-a-z0-9_]*([.][a-z][-a-z0-9_]*)*)+$

Must be at most 255 characters long

Type: string
Must match regular expression: ^[v]?(0|[1-9]\d*)(?:\.(0|[1-9]\d*))?(?:\.(0|[1-9]\d*))?(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$

Type: array
No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: string

Type: object

Type: object
Must match regular expression: ^v[0-9]+$

Type: object
No Additional Properties

Type: string

Type: array
No Additional Items

Each item of this array must be:

Type: object

specification of the content of a component versiont

No Additional Properties

Type: array
No Additional Items

Each item of this array must be:

Type: object

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: string


Type: object

base type for accesses (for extensions)

The following properties are required:

  • type
Type: object

Type: enum (of string)

Must be one of:

  • "github"

Type: object

Type: enum (of string)

Must be one of:

  • "http"

Type: array
No Additional Items

Each item of this array must be:

Type: object

a reference to a component

No Additional Properties

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long


Type: object
No Additional Properties

Type: array
No Additional Items

Each item of this array must be:


Type: object

base type for resources

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: array
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "local"
  • "external"


Type: object

The following properties are required:

  • layer

Type: enum (of string)

Must be one of:

  • "ociBlob"

Type: string

A oci reference to the manifest

Type: string

The media type of the object this access refers to

Type: string

The digest of the targeted content

Type: number

The size in bytes of the blob

Type: object

Type: enum (of string)

Must be one of:

  • "localFilesystemBlob"

Type: string

filename of the blob that is located in the "blobs" directory

Type: object

The following properties are required:

  • filename

Type: enum (of string)

Must be one of:

  • "localOciBlob"

Type: string

digest of the layer within the current component descriptor

Type: object

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: enum (of string)

Must be one of:

  • "ociImage"

Type: object

Type: enum (of string)

Must be one of:

  • "ociRegistry"

Type: object
No Additional Properties

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: enum (of string)

Must be one of:

  • "generic"

Type: object

Type: enum (of string)

Must be one of:

  • "generic"

Type: array
No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: string

Type: object
No Additional Properties

Type: string

The media type of the signature value

\ No newline at end of file + Schema Docs
Type: object

OCM Component Descriptor v3 schema

Type: enum (of string)

Must be one of:

  • "ocm.gardener.cloud/v3alpha1"
  • "ocm.software/v3alpha1"

Type: const
Specific value: "ComponentVersion"

Type: object

component version metadata

No Additional Properties

Type: string
Must match regular expression: ^[a-z][-a-z0-9]*([.][a-z][-a-z0-9]*)*[.][a-z]{2,}(/[a-z][-a-z0-9_]*([.][a-z][-a-z0-9_]*)*)+$

Must be at most 255 characters long

Type: string
Must match regular expression: ^[v]?(0|[1-9]\d*)(?:\.(0|[1-9]\d*))?(?:\.(0|[1-9]\d*))?(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$

Type: array
No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: string

Type: object

Type: object
Must match regular expression: ^v[0-9]+$

Type: object
No Additional Properties

Type: string

Type: array
No Additional Items

Each item of this array must be:

Type: object

specification of the content of a component versiont

No Additional Properties

Type: array
No Additional Items

Each item of this array must be:

Type: object

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: string


Type: object

base type for accesses (for extensions)

The following properties are required:

  • type
Type: object

Type: enum (of string)

Must be one of:

  • "github"

Type: object

Type: enum (of string)

Must be one of:

  • "http"

Type: array
No Additional Items

Each item of this array must be:

Type: object

a reference to a component

No Additional Properties

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long


Type: object
No Additional Properties

Type: array
No Additional Items

Each item of this array must be:


Type: object

base type for resources

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: array
No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "local"
  • "external"


Type: object

The following properties are required:

  • layer

Type: enum (of string)

Must be one of:

  • "ociBlob"

Type: string

A oci reference to the manifest

Type: string

The media type of the object this access refers to

Type: string

The digest of the targeted content

Type: number

The size in bytes of the blob

Type: object

Type: enum (of string)

Must be one of:

  • "localFilesystemBlob"

Type: string

filename of the blob that is located in the "blobs" directory

Type: object

The following properties are required:

  • filename

Type: enum (of string)

Must be one of:

  • "localOciBlob"

Type: string

digest of the layer within the current component descriptor

Type: object

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: enum (of string)

Must be one of:

  • "ociImage"

Type: object

Type: enum (of string)

Must be one of:

  • "ociRegistry"

Type: object
No Additional Properties

Type: string
Must match regular expression: ^[a-z0-9]([-_+a-z0-9]*[a-z0-9])?$

Must be at least 2 characters long

Type: enum (of string)

Must be one of:

  • "generic"

Type: object

Type: enum (of string)

Must be one of:

  • "generic"

Type: array
No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Type: string

Type: object
No Additional Properties

Type: string

The media type of the signature value

\ No newline at end of file diff --git a/install.sh b/install.sh index b177fcfd..cf99369c 100755 --- a/install.sh +++ b/install.sh @@ -163,7 +163,8 @@ vercomp () { # Download hash from Github URL download_hash() { # check for versions < 0.15.0 - if [ "$(printf '%s\n' "0.15.0" "$VERSION_OCM" | sort -V | head -n1)" = "$VERSION_OCM" ] && [ "$VERSION_OCM" != "0.15.0" ]; then + vercomp "$VERSION_OCM" "0.15.0" + if [[ $? -eq 2 ]]; then HASH_URL="https://github.com/${GITHUB_REPO}/releases/download/v${VERSION_OCM}/ocm_${VERSION_OCM}_checksums.txt" info "Downloading hash ${HASH_URL}" download "${TMP_HASH}" "${HASH_URL}"