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:
parent
08a0fc0cd4
commit
347ae68ea9
@ -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{
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user