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

Commit

Permalink
update component descriptor generaration script for the external lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Schrodi committed Jul 1, 2021
1 parent df80c34 commit b0847a5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .ci/component_descriptor
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ done

# add component references
image_vector_component_name="github.com/gardener/image-vector"
image_vector_component_version="v0.0.0"
if go list -m -mod=mod all | grep "$image_vector_component_name"; then
image_vector_component_version=$(go list -m -mod=mod all | grep "$image_vector_component_name" | awk '{ print $2 }')
fi
image_vector_component_version=$(go list -m -mod=mod all | grep "$image_vector_component_name" | awk '{ print $2 }')

cat <<EOF | $COMPONENT_CLI ca component-references add "$COMPONENT_ARCHIVE_PATH" -
name: image-vector
Expand Down
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,3 @@ require (
k8s.io/apimachinery v0.19.4
sigs.k8s.io/yaml v1.2.0
)

replace github.com/gardener/component-spec/bindings-go => /Users/d064999/SAPDevelop/go/src/github.com/gardener/component-spec/bindings-go
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5Kwzbycv
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
github.com/gardener/component-spec/bindings-go v0.0.52 h1:yNLVIfcnudJWf9mCjaZQZnxJ4XwK/5xsDVSvbN3RTYU=
github.com/gardener/component-spec/bindings-go v0.0.52/go.mod h1:kQFMTWowNAp9tOp6aImQa/NoLzfvX29jN5Qgud9rpQU=
github.com/gardener/image-vector v0.2.0 h1:yMFy268GXe0PyimvLotXmCrRmdi3NHdLLtArjzobkrc=
github.com/gardener/image-vector v0.2.0/go.mod h1:32SHGcbmmueeK9VkawsFcEbsoENXQPIuuYiFBUP+vMQ=
github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
Expand Down
3 changes: 1 addition & 2 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ github.com/drone/envsubst/parse
github.com/drone/envsubst/path
# github.com/fsnotify/fsnotify v1.4.9
github.com/fsnotify/fsnotify
# github.com/gardener/component-spec/bindings-go v0.0.52 => /Users/d064999/SAPDevelop/go/src/github.com/gardener/component-spec/bindings-go
# github.com/gardener/component-spec/bindings-go v0.0.52
## explicit
github.com/gardener/component-spec/bindings-go/apis
github.com/gardener/component-spec/bindings-go/apis/v2
Expand Down Expand Up @@ -372,4 +372,3 @@ sigs.k8s.io/structured-merge-diff/v4/value
# sigs.k8s.io/yaml v1.2.0
## explicit
sigs.k8s.io/yaml
# github.com/gardener/component-spec/bindings-go => /Users/d064999/SAPDevelop/go/src/github.com/gardener/component-spec/bindings-go

0 comments on commit b0847a5

Please sign in to comment.