Commit 366fe10
committed
test(fn-eval): update fn eval E2E tests to use set-namespace:latest
- Update exec.sh files to use set-namespace:latest instead of v0.2.0
- Fix diff.patch files: remove custom.io/v1 namespace (latest skips CRs)
- Fix wasm-function test: use correct ghcr.io wasm image with allowWasm
- Fix jsglue.go: add gojs alias for node.js WASM compatibility
- Fix wasmtime.go: add gojs module aliases for wasmtime WASM compatibility
- Remove stale diff.patch files (no-op, preserve-comments, fn-success-with-stderr)
- Fix missing-fn-config: latest returns 0 exit code when no config
- Fix short-image-path results.yaml: include structured results from latest
- Fix save-fn tests: strip [Results] line from stderr comparison
- Update save-fn Kptfile and diff.patch to reference latest image
- Register set-namespace:latest in kptops function registry
- Add .gitattributes for LF line endings in shell scripts
Signed-off-by: SurbhiAgarwal1 <agarwalsurbhi1807@gmail.com>1 parent 46c29a9 commit 366fe10
74 files changed
Lines changed: 266 additions & 235 deletions
File tree
- e2e/testdata/fn-eval
- fn-config-file-in-pkg/.expected
- fn-config-file/pkg/.expected
- fnconfig-missing-name/pkg/.expected
- include-meta-resources-v1alpha1/.expected
- include-meta-resources-v1alpha2/.expected
- include-meta-resources/.expected
- invalid-fn-config-file/pkg/.expected
- missing-fn-config/.expected
- multiple-fn-config-one-file/pkg/.expected
- non-krm-resource/.expected
- out-of-place-dir/.expected
- out-of-place-fnchain-stdout/.expected
- out-of-place-fnchain-unwrap/.expected
- output-to-stdout/.expected
- preserve-order-include-meta-resources/.expected
- preserve-order-null-values/.expected
- save-fn
- custom-pkg-path/.expected
- image/.expected
- match-selector/.expected
- no-save-when-fail/.expected
- override-fn
- .expected
- preserve-kptfile-comments/.expected
- validator-type/.expected
- selectors
- basicpipeline/.expected
- exclude/.expected
- out-of-place-fnchain-unwrap/.expected
- selectors-with-exclude/.expected
- short-image-path/.expected
- simple-function-symlink/.expected
- simple-function-with-tag/.expected
- simple-function/.expected
- subpkg-exclude-fn-config-by-default/.expected
- subpkg-has-samename-subdir/.expected
- subpkg-include-meta-resources/.expected
- subpkgs-with-krmignore/.expected
- subpkgs/.expected
- internal/kptops
- pkg
- fn/runtime
- lib/kptops
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
Lines changed: 1 addition & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
Lines changed: 1 addition & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
0 commit comments