diff --git a/pkg/config/config_test.go b/pkg/config/config_test.go index aa4c4ecf99..9b481b3fec 100644 --- a/pkg/config/config_test.go +++ b/pkg/config/config_test.go @@ -698,3 +698,13 @@ build: _, err := FromYAML([]byte(yamlString)) require.NoError(t, err) } + +func TestFastPushConfig(t *testing.T) { + yamlString := ` +build: + python_version: "3.12" + fast: true +` + _, err := FromYAML([]byte(yamlString)) + require.NoError(t, err) +} diff --git a/pkg/config/data/config_schema_v1.0.json b/pkg/config/data/config_schema_v1.0.json index 52419e545a..d172cb0ca0 100644 --- a/pkg/config/data/config_schema_v1.0.json +++ b/pkg/config/data/config_schema_v1.0.json @@ -145,6 +145,11 @@ } ] } + }, + "fast": { + "$id": "#/properties/build/properties/fast", + "type": "boolean", + "description": "A flag to enable the experimental fast-push feature from a config level." } }, "additionalProperties": false