Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix cleanup of ODHApplications (Fix cleanup of ODHApplications #914)
chore: moves config map creation logic from Feature pkg (chore: moves config map creation logic from Feature pkg #909)
Refactors cluster resource creation funcs
Cleans up the structure of the resource creation logic by:
meta.go
)WithOwnerReference
decoratorSplits service mesh-related config map creation
In addition, it reuses the generic purpose
CreateConfigMap
func introduced as part of this PR.Adds config map creation test
and moves the suite to the package.
feat(tmpl): fails when key does not exist (feat(tmpl): fails when key does not exist #916)
The templates used in Feature SDK are not intended (at least right now) to provide conditional rendering like in Helm. Thus we should fail fast if the Feature's underlying map does not provide the key referred to in a template.
This is achieved by passing the parsing option (missingkey=error) to built-in Golang templating.
chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 #918)
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.
updated-dependencies:
dependency-type: indirect
...
Signed-off-by: dependabot[bot] support@github.com
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
feat(gh-action): ensures generated files are up-to-date in PR (feat(gh-action): ensures generated files are up-to-date in PR #917)
RHOAIENG-4433 Update readme/config files
rework gh action based on comments
feat(gh-action): ensures generated files are up-to-date in PR
fix review comments
reuse cmd
fix(gen): upgrades to crd-ref-doc generator to latest version (fix(gen): upgrades to crd-ref-doc generator to latest version #920)
fix(gen): upgrades to crd-ref-doc to latest version
Signed-off-by: Wen Zhou wenzhou@redhat.com
fix: Enable annotations using golangci-lint(gh action) (fix: Enable annotations using golangci-lint(gh action) #919)
fix: Enable annotations using golangci-lint(gh action)
update versions
chore: move testing fixtures to fixtures directory (chore: move testing fixtures to fixtures directory #906)
This change aims to enhance the readability of our test suite.
It brings
/crds
and/templates
into/fixtures
and moves more helper functions out into dedicated files.fix(make): cleans linter cache on clean (fix(make): cleans linter cache on clean #922)
When juggling between branches golangci linter cache can have leftovers from the code that does not exist in the other branch.
This can lead to errors while running
make lint
as the linter tries to check cached sources first.This change cleans the linter cache as part of the clean target to ensure consistency.
Here's an example of an invalid cache state leading to error:
feat(build): adds gci to go fmt target (feat(build): adds gci to go fmt target #925)
This update incorporates the
gci
tool into themake fmt
command, aiming to improve the formatting of Go files and ensure that imports adhere to our established conventions.Unfortunately, due to how
.golangci.yml
is defined, we are not able to just use--disable-all --enable=gci
flags. This yields an error as we useenable-all
anddisable
in the config file for linter.To address this, the
golangci-lint
configuration is dynamically adjusted using theyq
tool, which is now included in our toolchain.This process creates a temporary configuration file specifically for
golangci-lint
execution, ensuringgci
's integration without altering the primary linting setup.Furthermore, the generated temporary file is added to the
CLEANFILES
list, ensuring its removal when callingmake clean
, maintaining a clean build environment.To prevent this temporary file from being tracked by Git, a
*.mktmp.*
pattern has been added to our.gitignore
, safeguarding against accidental inclusion of temporary files in the repository.:Tidies
blank
import section ingci
config, otherwise it can add_
imports twicechore(Github): update issue template re-direct user for jira (chore(Github): update issue template re-direct user for jira #838)
Signed-off-by: Wen Zhou wenzhou@redhat.com
Co-authored-by: Ajay Jaganathan 36824134+AjayJagan@users.noreply.github.com
Co-authored-by: Ajay Jaganathan 36824134+AjayJagan@users.noreply.github.com
Signed-off-by: Wen Zhou wenzhou@redhat.com
Co-authored-by: Ajay Jaganathan 36824134+AjayJagan@users.noreply.github.com
chore: splits feature tests to separate files (chore: splits feature tests to separate files #924)
As the number of test cases (grouped as
Describe
) started to grow, we can split a single file into several groups per functionality.Follow-up for chore: move testing fixtures to fixtures directory #906.
fix(dashboard): do not set owner on CR (fix(dashboard): do not set owner on CR #923)
Signed-off-by: Wen Zhou wenzhou@redhat.com
(fix): Description patch during make bundle ((fix): Description patch during make bundle #926)
chore: Small Makefile fixes (chore: Small Makefile fixes #928)
IMG ?=
rather than forcing the value withIMG =
. This makes it easier to override the value ofIMG
for development, and it also aligns it to howBUNDLE_IMG
is assigned.prepare
as dependency of theundeploy
target. This is just for convenience, although when looking at the other targets,prepare
may simply be a missing dependency inundeploy
.Signed-off-by: Edgar Hernández 23639005+israel-hdez@users.noreply.github.com
feat(DW): prepare CF,ray,kueue for GA (feat(DW): prepare CF,ray,kueue for GA #929)
Signed-off-by: Wen Zhou wenzhou@redhat.com
fix(test): pin version not latest which just introduced to use go 1.22 (fix(test): pin version not latest which just introduced to use go 1.22 #934)
Signed-off-by: Wen Zhou wenzhou@redhat.com
Signed-off-by: Wen Zhou wenzhou@redhat.com
Signed-off-by: Wen Zhou wenzhou@redhat.com
fix(dashboard): wrong path for consolelink in downstream (fix(dashboard): wrong path for consolelink in downstream #933)
Signed-off-by: Wen Zhou wenzhou@redhat.com
chore: removes unused statuses
after introducing validating webhook these are not needed anymore.