-
Notifications
You must be signed in to change notification settings - Fork 208
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
feat(build): add mutate image spec config feature #6578
Merged
alexey-igrychev
merged 28 commits into
main
from
feat/build/add-mutate-image-spec-config-feature
Feb 1, 2025
Merged
feat(build): add mutate image spec config feature #6578
alexey-igrychev
merged 28 commits into
main
from
feat/build/add-mutate-image-spec-config-feature
Feb 1, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d8c2144
to
7ab571b
Compare
c8bd86d
to
31f22ad
Compare
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x20 pc=0x10468caa0] goroutine 1 [running]: gopkg.in/yaml%2ev2.handleErr(0x14000b071f8) /Users/aigrychev/go/pkg/mod/gopkg.in/yaml.v2@v2.4.0/yaml.go:249 +0x80 panic({0x105746060?, 0x107bc53e0?}) /opt/homebrew/Cellar/go/1.23.2/libexec/src/runtime/panic.go:785 +0x124 gopkg.in/yaml%2ev2.handleErr(0x14000b06f20) /Users/aigrychev/go/pkg/mod/gopkg.in/yaml.v2@v2.4.0/yaml.go:249 +0x80 panic({0x105746060?, 0x107bc53e0?}) /opt/homebrew/Cellar/go/1.23.2/libexec/src/runtime/panic.go:785 +0x124 gopkg.in/yaml%2ev2.handleErr(0x14000b06910) /Users/aigrychev/go/pkg/mod/gopkg.in/yaml.v2@v2.4.0/yaml.go:249 +0x80 panic({0x105746060?, 0x107bc53e0?}) /opt/homebrew/Cellar/go/1.23.2/libexec/src/runtime/panic.go:785 +0x124 github.com/werf/werf/v2/pkg/config.dumpConfigDoc(0x0) /Users/aigrychev/workspace/werf/pkg/config/errors.go:59 +0x20 github.com/werf/werf/v2/pkg/config.newDetailedConfigError({0x14000e3dd00, 0x1f}, {0x0?, 0x0?}, 0x1?) /Users/aigrychev/workspace/werf/pkg/config/errors.go:29 +0xe0 github.com/werf/werf/v2/pkg/config.checkOverflow(0x1054cc300?, {0x0, 0x0}, 0x0) /Users/aigrychev/workspace/werf/pkg/config/common.go:33 +0x1c4 github.com/werf/werf/v2/pkg/config.(*rawImageSpecGlobal).UnmarshalYAML(0x14000fe64e0, 0x10efecd80?) Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x10700460c] goroutine 1 [running]: github.com/werf/werf/v2/pkg/config.(*rawImageSpec).toDirective(0x14000a21b80) /Users/aigrychev/workspace/werf/pkg/config/raw_image_spec.go:82 +0x7c github.com/werf/werf/v2/pkg/config.(*rawStapelImage).toStapelImageBaseDirective(0x14000458b40, {0x1086af760, 0x14000f20e10}, {0x14000487530, 0x6}, 0x0) /Users/aigrychev/workspace/werf/pkg/config/raw_stapel_image.go:308 +0x75c github.com/werf/werf/v2/pkg/config.(*rawStapelImage).toStapelImageDirective(0x14000458b40, {0x1086af760, 0x14000f20e10}, {0x14000487530, 0x6}) /Users/aigrychev/workspace/werf/pkg/config/raw_stapel_image.go:141 +0x58 github.com/werf/werf/v2/pkg/config.(*rawStapelImage).toStapelImageDirectives(0x14000458b40, {0x1086af760, 0x14000f20e10}) /Users/aigrychev/workspace/werf/pkg/config/raw_stapel_image.go:108 +0x94 Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x20 pc=0x104cb0aa0] goroutine 1 [running]: gopkg.in/yaml%2ev2.handleErr(0x14000f8f1f8) /Users/aigrychev/go/pkg/mod/gopkg.in/yaml.v2@v2.4.0/yaml.go:249 +0x80 panic({0x105d6a080?, 0x1081e93e0?}) /opt/homebrew/Cellar/go/1.23.2/libexec/src/runtime/panic.go:785 +0x124 gopkg.in/yaml%2ev2.handleErr(0x14000f8ef50) /Users/aigrychev/go/pkg/mod/gopkg.in/yaml.v2@v2.4.0/yaml.go:249 +0x80 panic({0x105d6a080?, 0x1081e93e0?}) /opt/homebrew/Cellar/go/1.23.2/libexec/src/runtime/panic.go:785 +0x124 github.com/werf/werf/v2/pkg/config.dumpConfigDoc(0x0) /Users/aigrychev/workspace/werf/pkg/config/errors.go:59 +0x20 github.com/werf/werf/v2/pkg/config.newDetailedConfigError({0x14000c29d00, 0x20}, {0x0?, 0x0?}, 0x1?) /Users/aigrychev/workspace/werf/pkg/config/errors.go:29 +0xe0 github.com/werf/werf/v2/pkg/config.checkOverflow(0x105af02e0?, {0x0, 0x0}, 0x0) /Users/aigrychev/workspace/werf/pkg/config/common.go:33 +0x1c4 github.com/werf/werf/v2/pkg/config.(*rawImageSpec).UnmarshalYAML(0x140011375c0, 0x14f30ab20?) /Users/aigrychev/workspace/werf/pkg/config/raw_image_spec.go:51 +0x50 gopkg.in/yaml%2ev2.(*decoder).callUnmarshaler(0x1400112f380, 0x1400033c1c0, {0x14f30ab20, 0x140011375c0}) /Users/aigrychev/go/pkg/mod/gopkg.in/yaml.v2@v2.4.0/decode.go:270 +0x98 gopkg.in/yaml%2ev2.(*decoder).prepare(0x1400112f380, 0x1400033c1c0, {0x105d9fec0?, 0x140007b9b68?, 0xa000140011271a0?}) Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
87cd775
to
58ce0b5
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.