File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ import (
27
27
"github.com/GoogleContainerTools/kpt/porch/pkg/kpt"
28
28
)
29
29
30
+ // When updating the version for the builtin functions, please also update the image version
31
+ // in test TestBuiltinFunctionEvaluator in porch/test/e2e/e2e_test.go, if the versions mismatch
32
+ // the e2e test will fail in local deployment mode.
30
33
var (
31
34
applyReplacementsImageAliases = []string {
32
35
"gcr.io/kpt-fn/apply-replacements:v0.1.1" ,
Original file line number Diff line number Diff line change @@ -834,7 +834,8 @@ func (t *PorchSuite) TestBuiltinFunctionEvaluator(ctx context.Context) {
834
834
{
835
835
Type : "eval" ,
836
836
Eval : & porchapi.FunctionEvalTaskSpec {
837
- Image : "gcr.io/kpt-fn/starlark:v0.4.2" ,
837
+ //
838
+ Image : "gcr.io/kpt-fn/starlark:v0.4.3" ,
838
839
ConfigMap : map [string ]string {
839
840
"source" : `for resource in ctx.resource_list["items"]:
840
841
resource["metadata"]["annotations"]["foo"] = "bar"` ,
@@ -959,6 +960,10 @@ for resource in ctx.resource_list["items"]:
959
960
}
960
961
961
962
func (t * PorchSuite ) TestPodFunctionEvaluatorWithDistrolessImage (ctx context.Context ) {
963
+ if t .local {
964
+ t .Skipf ("Skipping due to not having pod evalutor in local mode" )
965
+ }
966
+
962
967
t .registerMainGitRepositoryF (ctx , "git-fn-distroless" )
963
968
964
969
// Create Package Revision
You can’t perform that action at this time.
0 commit comments