Skip to content

Conversation

@moelsayed
Copy link
Contributor

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/... to ghcr.io/openmcp-project/....

Release note:

Taskfile.yaml Outdated
Comment on lines 26 to 39
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"

Choose a reason for hiding this comment

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

Suggested change
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"

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"

Choose a reason for hiding this comment

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

Suggested change
ENVTEST_REQUIRED: "true"

The quota operator doesn't use tests which require envtest, so this can be removed.

docs/README.md Outdated

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.

Diaphteiros
Diaphteiros previously approved these changes May 6, 2025
Copy link

@Diaphteiros Diaphteiros left a comment

Choose a reason for hiding this comment

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

LGTM

@guewa guewa merged commit 1a3b7bb into openmcp-project:main May 6, 2025
3 checks passed
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.

3 participants