Kubernetes Prow Robot
8fef99fa35
Merge pull request #5542 from ephesused/issue5540
...
fix: improve accumulation failure message
2024-03-27 10:32:54 -07:00
Karl Isenberg
43868688d5
Use require for Error and NoError
...
Assert keeps going after failure, but require immediately fails
the tests, making it easier to find the output related to the test
failure, rather than having to comb through a bunch of subsequent
assertion failures. For equality tests, we may or may not want to
continue, but for error checks we almost always want to immediately
fail the test. Exceptions can be changed as-needed.
2024-03-20 13:19:18 -07:00
Ed Overton
14a9a9849f
test: correct lint issues
2024-03-11 15:16:11 -04:00
Ed Overton
4da880d6cb
Merge remote-tracking branch 'origin/master' into issue5540
2024-03-08 14:48:51 -05:00
Ed Overton
62eca858f3
test: add test for issue 5440
2024-03-08 14:33:09 -05:00
koba1t
37715863f0
use Strict unmarshal when read TransformerConfig
2024-02-22 05:39:55 +09:00
Varsha Prasad Narsing
7911b2c001
[refactor]: Internalize loader api
...
This PR intends to move the loader api to
internal. Only the necessary methods which
are needed for the api have been put into
`pkg/loader.go`.
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com >
2023-09-28 10:49:45 -04:00
koba1t
2c2b2ab825
add check that kustomization is empty
2023-04-06 05:32:08 +09:00
yugo kobayashi
5fed0f76c8
refactor Unmarshal Kustomization struct code
2022-12-13 21:04:50 +00:00
Anna Song
4cccb838ce
Load legacy kustomization fields for localize ( #4918 )
...
* Load legacy kustomization
* Expose loadKustFile in kusttarget
2022-12-13 08:19:34 -08:00
Christopher Fry
8a6602db94
Allow name suffix transformer configuration to be overridden
2022-12-08 20:10:05 +00:00
Natasha Sarkar
2db573b6a0
drop support for legacy patches ( #4911 )
...
* drop support for legacy patches
* fix CI
2022-12-07 18:06:24 -08:00
Christopher Fry
570865baae
Address peer review
2022-12-05 23:06:50 +00:00
Christopher Fry
0c4f863bc5
Add test ensuring user configuration overrides default configuration
2022-11-21 23:39:45 +00:00
Jennifer Cwagenberg
7888aef305
Raise error for external generators or transformers ( #4565 )
...
* Raise error if duplicate orgids for external transformers or external generators are configured
* Remove output of resources in error message
* Remove trailing newline
2022-04-06 15:46:25 -07:00
Natasha Sarkar
91f74e8d16
replace Resource.options with annotations ( #4061 )
2021-07-23 18:19:05 -07:00
monopole
2cb972de3b
Rename id annotations to build annotations.
2021-01-15 06:43:13 -08:00
monopole
bb41d018b5
Add more tests and explain some strange quotes.
2021-01-13 15:49:12 -08:00
Natasha Sarkar
bd4580d73a
Manage name changes (prefix/suffix) via YAML annotations rather than via in-memory-only fields.
2021-01-11 13:08:45 -08:00
jregan
5248fd0cd9
In some tests, replace reflection with yaml compare.
2020-11-22 18:48:32 -08:00
jregan
a5f3d5c823
Use DepProvider in tests to access kyaml impls.
2020-11-21 14:49:44 -08:00
Donny Xia
083dccfe91
Update hash result in tests
2020-08-05 11:59:13 -07:00
ageekymonk
c660fd33ae
Avoiding Prefix Transformer for Namespace resource
2020-07-21 18:33:42 +10:00
jregan
cf6fd30c73
Fix nondeterminstic failure
2020-05-20 08:30:30 -07:00
jregan
07b679955e
Beef up test.
2020-05-19 18:26:37 -07:00
jregan
e28af71b6f
Add coverage for kusttarget.Load
2020-05-19 17:26:18 -07:00
jregan
1653a70693
Plugin loader improvements.
2020-04-18 18:29:10 -07:00
Jeffrey Regan
382c330f5b
Consolidate test harness to one package.
2019-12-02 12:29:10 -08:00
jregan
1f85ce454d
More tests/examples.
2019-11-30 11:32:08 -08:00
jregan
f3e735153f
More tests, better errors.
2019-11-26 19:29:06 -08:00
Jeffrey Regan
d36e3f015d
Remove target package from exposed API.
2019-11-06 15:10:11 -08:00