Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Commit

Permalink
remove (broken) local-oci-blobs from component-descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
ccwienk committed Feb 9, 2023
1 parent aa8eb7c commit 61b250f
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .ci/component_descriptor
Original file line number Diff line number Diff line change
Expand Up @@ -39,26 +39,6 @@ COMPONENT_DESCRIPTOR_FILE_PATH="$COMPONENT_ARCHIVE_PATH/component-descriptor.yam
mkdir -p "$COMPONENT_ARCHIVE_PATH"
cp "$BASE_DEFINITION_PATH" "$COMPONENT_DESCRIPTOR_FILE_PATH"

build_matrix=("linux,amd64" "darwin,amd64" "darwin,arm64" "windows,amd64")

for i in "${build_matrix[@]}"; do
IFS=',' read os arch <<< "${i}"

echo "> Add $os/$arch"
ARTIFACT_PATH="$(pwd)/dist/componentcli-${os}-${arch}.gz"
cat <<EOF | $COMPONENT_CLI ca resources add "$COMPONENT_ARCHIVE_PATH" -
name: cli-binary-${os}-${arch}
type: executable
extraIdentity:
os: ${os}
arch: ${arch}
relation: local
input:
type: file
path: ${ARTIFACT_PATH}
EOF

done

# add component references
image_vector_component_name="github.com/gardener/image-vector"
Expand Down

0 comments on commit 61b250f

Please sign in to comment.