-
Couldn't load subscription status.
- Fork 1
chore: Use shared Task definitions #26
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
Conversation
Taskfile.yaml
Outdated
| common: # imported a second time so that overwriting task definitions can call the overwritten task with a 'c:' prefix | ||
| taskfile: hack/common/Taskfile_controller.yaml | ||
| internal: true | ||
| aliases: | ||
| - c | ||
| vars: | ||
| NESTED_MODULES: api | ||
| API_DIRS: '{{.ROOT_DIR}}/api/v1alpha1/...' | ||
| MANIFEST_OUT: '{{.ROOT_DIR}}/api/crds/manifests' | ||
| CODE_DIRS: '{{.ROOT_DIR}}/cmd/... {{.ROOT_DIR}}/api/v1alpha1/... {{.ROOT_DIR}}/api/install/... {{.ROOT_DIR}}/api/crds/...' | ||
| COMPONENTS: 'quota-operator' | ||
| REPO_URL: 'https://github.com/openmcp-project/quota-operator' | ||
| GENERATE_DOCS_INDEX: "true" | ||
| ENVTEST_REQUIRED: "true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| common: # imported a second time so that overwriting task definitions can call the overwritten task with a 'c:' prefix | |
| taskfile: hack/common/Taskfile_controller.yaml | |
| internal: true | |
| aliases: | |
| - c | |
| vars: | |
| NESTED_MODULES: api | |
| API_DIRS: '{{.ROOT_DIR}}/api/v1alpha1/...' | |
| MANIFEST_OUT: '{{.ROOT_DIR}}/api/crds/manifests' | |
| CODE_DIRS: '{{.ROOT_DIR}}/cmd/... {{.ROOT_DIR}}/api/v1alpha1/... {{.ROOT_DIR}}/api/install/... {{.ROOT_DIR}}/api/crds/...' | |
| COMPONENTS: 'quota-operator' | |
| REPO_URL: 'https://github.com/openmcp-project/quota-operator' | |
| GENERATE_DOCS_INDEX: "true" | |
| ENVTEST_REQUIRED: "true" |
This part should only be needed if we overwrite tasks in this file and need to refer to the original implementation, which is not the case.
Taskfile.yaml
Outdated
| CODE_DIRS: '{{.ROOT_DIR}}/cmd/... {{.ROOT_DIR}}/api/v1alpha1/... {{.ROOT_DIR}}/api/install/... {{.ROOT_DIR}}/api/crds/...' | ||
| COMPONENTS: 'quota-operator' | ||
| REPO_URL: 'https://github.com/openmcp-project/quota-operator' | ||
| GENERATE_DOCS_INDEX: "true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should either configure this so that it doesn't create an empty documentation index or disable it for now, see my comment here openmcp-project/project-workspace-operator#36 (comment) for further information.
Taskfile.yaml
Outdated
| COMPONENTS: 'quota-operator' | ||
| REPO_URL: 'https://github.com/openmcp-project/quota-operator' | ||
| GENERATE_DOCS_INDEX: "true" | ||
| ENVTEST_REQUIRED: "true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ENVTEST_REQUIRED: "true" |
The quota operator doesn't use tests which require envtest, so this can be removed.
docs/README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we decide to disable documentation index generation for now, this file has to be removed. Otherwise, the generation should fill it with at least some content.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
This PR changes the artifact paths from
ghcr.io/openmcp-project/github.com/openmcp-project/...toghcr.io/openmcp-project/....Release note: