mirror of
https://github.com/SAP/jenkins-library.git
synced 2026-06-19 22:58:55 +02:00
Use builder:base instead of builder:full because nc is no longer needed
This commit is contained in:
committed by
Pavel Busko
parent
9fdaf86856
commit
34a0d63d9f
@@ -348,7 +348,7 @@ func cnbBuildMetadata() config.StepData {
|
||||
},
|
||||
},
|
||||
Containers: []config.Container{
|
||||
{Image: "paketobuildpacks/builder:full"},
|
||||
{Image: "paketobuildpacks/builder:base"},
|
||||
},
|
||||
Outputs: config.StepOutputs{
|
||||
Resources: []config.StepResources{
|
||||
|
||||
@@ -452,7 +452,7 @@ uri = "some-buildpack"`))
|
||||
assert.Equal(t, "folder", string(customData.Data[0].Path))
|
||||
assert.Contains(t, customData.Data[0].AdditionalTags, "latest")
|
||||
assert.Contains(t, customData.Data[0].BindingKeys, "SECRET")
|
||||
assert.Equal(t, "paketobuildpacks/builder:full", customData.Data[0].Builder)
|
||||
assert.Equal(t, "paketobuildpacks/builder:base", customData.Data[0].Builder)
|
||||
|
||||
assert.Contains(t, customData.Data[0].Buildpacks.FromConfig, "paketobuildpacks/java")
|
||||
assert.NotContains(t, customData.Data[0].Buildpacks.FromProjectDescriptor, "paketobuildpacks/java")
|
||||
|
||||
@@ -23,7 +23,7 @@ via _Jenkins_ -> _Credentials_ -> _System_ -> _Global credentials (unrestricted)
|
||||
### Additional hints
|
||||
|
||||
To run the `cnbBuild` with a different builder, you can specify the `dockerImage` parameter.
|
||||
Without specifying it, the step will run with the `paketobuildpacks/builder:full` builder.
|
||||
Without specifying it, the step will run with the `paketobuildpacks/builder:base` builder.
|
||||
|
||||
#### Default Excludes
|
||||
|
||||
|
||||
@@ -248,4 +248,4 @@ spec:
|
||||
- name: container/imageDigests
|
||||
type: "[]string"
|
||||
containers:
|
||||
- image: "paketobuildpacks/builder:full"
|
||||
- image: "paketobuildpacks/builder:base"
|
||||
|
||||
Reference in New Issue
Block a user