Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toifixes #304

Merged
merged 11 commits into from
Apr 4, 2023
Merged

Toifixes #304

merged 11 commits into from
Apr 4, 2023

Conversation

jensh007
Copy link
Contributor

What this PR does / why we need it:

  • Better documentation for examples in components/
  • fix packagespec in helmdemo

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release Notes:

@@ -8,9 +8,10 @@ OCMREPO ?= ghcr.io/$(GITHUBORG)/ocm
HELMINSTCOMP = $(PROVIDER)/toi/installers/helminstaller

REPO_ROOT := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))/../..
VERSION = $(shell git describe --tags --exact-match 2>/dev/null|| echo "$$(cat $(REPO_ROOT)/VERSION)")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure the exact-match can be omitted. The the closet tag will be used. This might be wrong. The closest tag can 1.0.0, but the dev version 1.1.0-dev coming from the VERSION file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not have VERSION file anymore. Therefore change.
currently we get:

git describe --tags
v0.3.0-rc.1-3-g3aa83cb8

This is inconvenient.

git describe --tags --exact-match 
fatal: no tag exactly matches '3aa83cb8b456d1c6eb3bfd25d6645219bc6c1aca'

does not work.

Any better suggestion is welcome.

configScheme:
type: object
additionalProperties: false
additionalProperties: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you should adjust the scheme to directly reflect the possible structure to get validation errors in case of using unsupported fields or typos.

@@ -8,7 +8,7 @@ MULTI ?= true
PLATFORMS = linux/amd64 linux/arm64

REPO_ROOT := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))/../..
VERSION := $(shell git describe --tags --exact-match 2>/dev/null|| echo "$$(cat $(REPO_ROOT)/VERSION)")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see above

* `make describe`: displays the component and it dependencies in a tree structure


# Usage
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we shoud a ink to the cmds/hemlinstaller README. Here the config is explaines. (some docu added with the toi branch in mandelsoft). Should be merge it? (#305)

mandelsoft
mandelsoft previously approved these changes Mar 31, 2023
@jensh007 jensh007 merged commit 48b1ee8 into main Apr 4, 2023
@jensh007 jensh007 deleted the toifixes branch April 4, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants