1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

added the beta notification for cnbBuild step (#3316)

This commit is contained in:
kulhadia 2021-11-30 11:51:00 +01:00 committed by GitHub
parent 08a0fc0cd4
commit 347ae68ea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 6 deletions

View File

@ -61,7 +61,7 @@ func (p *cnbBuildCommonPipelineEnvironment) persist(path, resourceName string) {
}
}
// CnbBuildCommand Executes a Cloud Native Buildpacks build for creating a Docker container.
// CnbBuildCommand Executes Cloud Native Buildpacks.
func CnbBuildCommand() *cobra.Command {
const STEP_NAME = "cnbBuild"
@ -75,8 +75,9 @@ func CnbBuildCommand() *cobra.Command {
var createCnbBuildCmd = &cobra.Command{
Use: STEP_NAME,
Short: "Executes a Cloud Native Buildpacks build for creating a Docker container.",
Long: `Executes a Cloud Native Buildpacks build for creating a Docker container.`,
Short: "Executes Cloud Native Buildpacks.",
Long: `Executes a Cloud Native Buildpacks build for creating Docker image(s).
**Important:** Please note, that the cnbBuild step is in **beta** state, and there could be breaking changes before we remove the beta notice.`,
PreRunE: func(cmd *cobra.Command, _ []string) error {
startTime = time.Now()
log.SetStepName(STEP_NAME)
@ -175,7 +176,7 @@ func cnbBuildMetadata() config.StepData {
Metadata: config.StepMetadata{
Name: "cnbBuild",
Aliases: []config.Alias{},
Description: "Executes a Cloud Native Buildpacks build for creating a Docker container.",
Description: "Executes Cloud Native Buildpacks.",
},
Spec: config.StepSpec{
Inputs: config.StepInputs{

View File

@ -1,7 +1,9 @@
metadata:
name: cnbBuild
description: Executes a Cloud Native Buildpacks build for creating a Docker container.
longDescription: Executes a Cloud Native Buildpacks build for creating a Docker container.
description: Executes Cloud Native Buildpacks.
longDescription: |-
Executes a Cloud Native Buildpacks build for creating Docker image(s).
**Important:** Please note, that the cnbBuild step is in **beta** state, and there could be breaking changes before we remove the beta notice.
spec:
inputs:
secrets: