diff --git a/core/server/api_container/server/startosis_engine/kurtosis_starlark_framework/test_engine/image_build_spec_framework_test.go b/core/server/api_container/server/startosis_engine/kurtosis_starlark_framework/test_engine/image_build_spec_framework_test.go index f2f5ab548a..18ce3d5478 100644 --- a/core/server/api_container/server/startosis_engine/kurtosis_starlark_framework/test_engine/image_build_spec_framework_test.go +++ b/core/server/api_container/server/startosis_engine/kurtosis_starlark_framework/test_engine/image_build_spec_framework_test.go @@ -2,11 +2,12 @@ package test_engine import ( "fmt" + "testing" + "github.com/kurtosis-tech/kurtosis/core/server/api_container/server/startosis_engine/kurtosis_starlark_framework/builtin_argument" "github.com/kurtosis-tech/kurtosis/core/server/api_container/server/startosis_engine/kurtosis_types/service_config" "github.com/kurtosis-tech/kurtosis/core/server/api_container/server/startosis_engine/startosis_packages" "github.com/stretchr/testify/require" - "testing" ) type imageBuildSpecTest struct { @@ -33,12 +34,14 @@ func (suite *KurtosisTypeConstructorTestSuite) TestImageBuildSpecTest() { } func (t *imageBuildSpecTest) GetStarlarkCode() string { - return fmt.Sprintf("%s(%s=%q, %s=%q, %s=%q)", + return fmt.Sprintf("%s(%s=%q, %s=%q, %s=%q, %s=%q)", service_config.ImageBuildSpecTypeName, service_config.BuiltImageNameAttr, testContainerImageName, service_config.BuildContextAttr, testBuildContextDir, + service_config.BuildFileAttr, + testBuildFile, service_config.TargetStageAttr, testTargetStage) } diff --git a/core/server/api_container/server/startosis_engine/kurtosis_starlark_framework/test_engine/service_config_image_build_spec_test.go b/core/server/api_container/server/startosis_engine/kurtosis_starlark_framework/test_engine/service_config_image_build_spec_test.go index 64740547f7..121cbf2856 100644 --- a/core/server/api_container/server/startosis_engine/kurtosis_starlark_framework/test_engine/service_config_image_build_spec_test.go +++ b/core/server/api_container/server/startosis_engine/kurtosis_starlark_framework/test_engine/service_config_image_build_spec_test.go @@ -39,12 +39,14 @@ func (suite *KurtosisTypeConstructorTestSuite) TestServiceConfigWithImageBuildSp } func (t *serviceConfigImageBuildSpecTestCase) GetStarlarkCode() string { - imageBuildSpec := fmt.Sprintf("%s(%s=%q, %s=%q, %s=%q)", + imageBuildSpec := fmt.Sprintf("%s(%s=%q, %s=%q, %s=%q, %s=%q)", service_config.ImageBuildSpecTypeName, service_config.BuiltImageNameAttr, testContainerImageName, service_config.BuildContextAttr, testBuildContextDir, + service_config.BuildFileAttr, + testBuildFile, service_config.TargetStageAttr, testTargetStage) return fmt.Sprintf("%s(%s=%s)", diff --git a/core/server/api_container/server/startosis_engine/kurtosis_starlark_framework/test_engine/static_constants.go b/core/server/api_container/server/startosis_engine/kurtosis_starlark_framework/test_engine/static_constants.go index 2de6f9ee8a..d503fa44b0 100644 --- a/core/server/api_container/server/startosis_engine/kurtosis_starlark_framework/test_engine/static_constants.go +++ b/core/server/api_container/server/startosis_engine/kurtosis_starlark_framework/test_engine/static_constants.go @@ -28,6 +28,7 @@ var ( testContainerImageName = "kurtosistech/example-datastore-server" testBuildContextDir = "./" + testBuildFile = "" testTargetStage = "builder" testBuildContextLocator = testModulePackageId testContainerImageLocator = "github.com/kurtosistech/test-package/Dockerfile"