From d90c99fbc4483aeae6c0979566403853da4a6d77 Mon Sep 17 00:00:00 2001 From: Christopher Fenner Date: Sat, 30 Aug 2025 10:18:25 +0200 Subject: [PATCH] update docs --- cmd/pythonBuild_generated.go | 2 +- cmd/pythonBuild_test.go | 2 +- resources/metadata/pythonBuild.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/pythonBuild_generated.go b/cmd/pythonBuild_generated.go index c8a5c011a..292d2454f 100644 --- a/cmd/pythonBuild_generated.go +++ b/cmd/pythonBuild_generated.go @@ -194,7 +194,7 @@ and are exposed are environment variables that must be present in the environmen func addPythonBuildFlags(cmd *cobra.Command, stepConfig *pythonBuildOptions) { cmd.Flags().StringSliceVar(&stepConfig.BuildFlags, "buildFlags", []string{}, "Defines list of build flags passed to python binary.") - cmd.Flags().StringSliceVar(&stepConfig.SetupFlags, "setupFlags", []string{}, "Defines list of flags passed to setup.py.") + cmd.Flags().StringSliceVar(&stepConfig.SetupFlags, "setupFlags", []string{}, "Defines list of flags passed to setup.py / build module.") cmd.Flags().BoolVar(&stepConfig.CreateBOM, "createBOM", false, "Creates the bill of materials (BOM) using CycloneDX plugin.") cmd.Flags().BoolVar(&stepConfig.Publish, "publish", false, "Configures the build to publish artifacts to a repository.") cmd.Flags().StringVar(&stepConfig.TargetRepositoryPassword, "targetRepositoryPassword", os.Getenv("PIPER_targetRepositoryPassword"), "Password for the target repository where the compiled binaries shall be uploaded - typically provided by the CI/CD environment.") diff --git a/cmd/pythonBuild_test.go b/cmd/pythonBuild_test.go index 4eed95a11..b3c9bc8e0 100644 --- a/cmd/pythonBuild_test.go +++ b/cmd/pythonBuild_test.go @@ -122,7 +122,7 @@ func TestPythonBuildExecute(t *testing.T) { "python": "python", } - err := buildExecute(&config, &utils, []string{}, virutalEnvironmentPathMap) + err := buildExecute(&config, &utils, virutalEnvironmentPathMap) assert.NoError(t, err) assert.Equal(t, "python", utils.ExecMockRunner.Calls[0].Exec) diff --git a/resources/metadata/pythonBuild.yaml b/resources/metadata/pythonBuild.yaml index 3f13ec357..679128e0f 100644 --- a/resources/metadata/pythonBuild.yaml +++ b/resources/metadata/pythonBuild.yaml @@ -25,7 +25,7 @@ spec: - STEPS - name: setupFlags type: "[]string" - description: Defines list of flags passed to setup.py. + description: Defines list of flags passed to setup.py / build module. scope: - PARAMETERS - STAGES