@@ -80,13 +80,13 @@ RUN echo "CNB_STACK_ID: "`))
80
80
it ("Should fill with properties the template/run.Dockerfile" , func () {
81
81
82
82
RunDockerfileProps := RunDockerfileProps {
83
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-18" ,
83
+ Source : "paketocommunity/ run-nodejs-18-ubi-base " ,
84
84
}
85
85
86
86
output , err := ubinodejsextension .FillPropsToTemplate (RunDockerfileProps , runDockerfileTemplate )
87
87
88
88
Expect (err ).NotTo (HaveOccurred ())
89
- Expect (output ).To (Equal (`FROM paketo-buildpacks/ubi8-paketo- run-nodejs-18` ))
89
+ Expect (output ).To (Equal (`FROM paketocommunity/ run-nodejs-18-ubi-base ` ))
90
90
91
91
})
92
92
})
@@ -185,7 +185,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
185
185
"version-source" : "BP_NODE_VERSION" ,
186
186
},
187
187
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
188
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-18" ,
188
+ Source : "paketocommunity/ run-nodejs-18-ubi-base " ,
189
189
},
190
190
BuildDockerfileProps : BuildDockerfileProps ,
191
191
buildDockerfileExpectedNodejsVersion : 18 ,
@@ -197,7 +197,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
197
197
"version-source" : "BP_NODE_VERSION" ,
198
198
},
199
199
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
200
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-16" ,
200
+ Source : "paketocommunity/ run-nodejs-16-ubi-base " ,
201
201
},
202
202
BuildDockerfileProps : BuildDockerfileProps ,
203
203
buildDockerfileExpectedNodejsVersion : 16 ,
@@ -209,7 +209,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
209
209
"version-source" : "BP_NODE_VERSION" ,
210
210
},
211
211
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
212
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-16" ,
212
+ Source : "paketocommunity/ run-nodejs-16-ubi-base " ,
213
213
},
214
214
BuildDockerfileProps : BuildDockerfileProps ,
215
215
buildDockerfileExpectedNodejsVersion : 16 ,
@@ -221,7 +221,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
221
221
"version-source" : "BP_NODE_VERSION" ,
222
222
},
223
223
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
224
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-18" ,
224
+ Source : "paketocommunity/ run-nodejs-18-ubi-base " ,
225
225
},
226
226
BuildDockerfileProps : BuildDockerfileProps ,
227
227
buildDockerfileExpectedNodejsVersion : 18 ,
@@ -233,7 +233,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
233
233
"version-source" : "BP_NODE_VERSION" ,
234
234
},
235
235
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
236
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-16" ,
236
+ Source : "paketocommunity/ run-nodejs-16-ubi-base " ,
237
237
},
238
238
BuildDockerfileProps : BuildDockerfileProps ,
239
239
buildDockerfileExpectedNodejsVersion : 16 ,
@@ -245,7 +245,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
245
245
"version-source" : "BP_NODE_VERSION" ,
246
246
},
247
247
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
248
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-16" ,
248
+ Source : "paketocommunity/ run-nodejs-16-ubi-base " ,
249
249
},
250
250
BuildDockerfileProps : BuildDockerfileProps ,
251
251
buildDockerfileExpectedNodejsVersion : 16 ,
@@ -257,7 +257,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
257
257
"version-source" : "BP_NODE_VERSION" ,
258
258
},
259
259
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
260
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-18" ,
260
+ Source : "paketocommunity/ run-nodejs-18-ubi-base " ,
261
261
},
262
262
BuildDockerfileProps : BuildDockerfileProps ,
263
263
buildDockerfileExpectedNodejsVersion : 18 ,
@@ -269,7 +269,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
269
269
"version-source" : "BP_NODE_VERSION" ,
270
270
},
271
271
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
272
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-16" ,
272
+ Source : "paketocommunity/ run-nodejs-16-ubi-base " ,
273
273
},
274
274
BuildDockerfileProps : BuildDockerfileProps ,
275
275
buildDockerfileExpectedNodejsVersion : 16 ,
@@ -281,7 +281,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
281
281
"version-source" : "BP_NODE_VERSION" ,
282
282
},
283
283
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
284
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-18" ,
284
+ Source : "paketocommunity/ run-nodejs-18-ubi-base " ,
285
285
},
286
286
BuildDockerfileProps : BuildDockerfileProps ,
287
287
buildDockerfileExpectedNodejsVersion : 18 ,
@@ -293,7 +293,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
293
293
"version-source" : "BP_NODE_VERSION" ,
294
294
},
295
295
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
296
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-16" ,
296
+ Source : "paketocommunity/ run-nodejs-16-ubi-base " ,
297
297
},
298
298
BuildDockerfileProps : BuildDockerfileProps ,
299
299
buildDockerfileExpectedNodejsVersion : 16 ,
@@ -305,7 +305,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
305
305
"version-source" : "BP_NODE_VERSION" ,
306
306
},
307
307
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
308
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-18" ,
308
+ Source : "paketocommunity/ run-nodejs-18-ubi-base " ,
309
309
},
310
310
BuildDockerfileProps : BuildDockerfileProps ,
311
311
buildDockerfileExpectedNodejsVersion : 18 ,
@@ -325,7 +325,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
325
325
},
326
326
},
327
327
},
328
- Stack : "ubi8-paketo " ,
328
+ Stack : "io.buildpacks.stacks. ubi8" ,
329
329
})
330
330
331
331
Expect (err ).NotTo (HaveOccurred ())
@@ -369,7 +369,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
369
369
"version-source" : "" ,
370
370
},
371
371
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
372
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-16" ,
372
+ Source : "paketocommunity/ run-nodejs-16-ubi-base " ,
373
373
},
374
374
BuildDockerfileProps : BuildDockerfileProps ,
375
375
buildDockerfileExpectedNodejsVersion : 16 ,
@@ -381,7 +381,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
381
381
"version-source" : "BP_NODE_VERSION" ,
382
382
},
383
383
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
384
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-16" ,
384
+ Source : "paketocommunity/ run-nodejs-16-ubi-base " ,
385
385
},
386
386
BuildDockerfileProps : BuildDockerfileProps ,
387
387
buildDockerfileExpectedNodejsVersion : 16 ,
@@ -393,7 +393,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
393
393
"version-source" : "BP_NODE_VERSION" ,
394
394
},
395
395
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
396
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-18" ,
396
+ Source : "paketocommunity/ run-nodejs-18-ubi-base " ,
397
397
},
398
398
BuildDockerfileProps : BuildDockerfileProps ,
399
399
buildDockerfileExpectedNodejsVersion : 18 ,
@@ -413,7 +413,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
413
413
},
414
414
},
415
415
},
416
- Stack : "ubi8-paketo " ,
416
+ Stack : "io.buildpacks.stacks. ubi8" ,
417
417
})
418
418
419
419
Expect (err ).NotTo (HaveOccurred ())
@@ -457,7 +457,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
457
457
"version-source" : "BP_NODE_VERSION" ,
458
458
},
459
459
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
460
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-18" ,
460
+ Source : "paketocommunity/ run-nodejs-18-ubi-base " ,
461
461
},
462
462
BuildDockerfileProps : BuildDockerfileProps ,
463
463
buildDockerfileExpectedNodejsVersion : 18 ,
@@ -469,7 +469,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
469
469
"version-source" : "BP_NODE_VERSION" ,
470
470
},
471
471
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
472
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-18" ,
472
+ Source : "paketocommunity/ run-nodejs-18-ubi-base " ,
473
473
},
474
474
BuildDockerfileProps : BuildDockerfileProps ,
475
475
buildDockerfileExpectedNodejsVersion : 18 ,
@@ -489,7 +489,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
489
489
},
490
490
},
491
491
},
492
- Stack : "ubi8-paketo " ,
492
+ Stack : "io.buildpacks.stacks. ubi8" ,
493
493
})
494
494
495
495
Expect (err ).NotTo (HaveOccurred ())
@@ -587,7 +587,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
587
587
},
588
588
},
589
589
},
590
- Stack : "ubi8-paketo " ,
590
+ Stack : "io.buildpacks.stacks. ubi8" ,
591
591
})
592
592
593
593
Expect (err ).To (HaveOccurred ())
@@ -649,7 +649,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
649
649
},
650
650
},
651
651
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
652
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-16" ,
652
+ Source : "paketocommunity/ run-nodejs-16-ubi-base " ,
653
653
},
654
654
},
655
655
{
@@ -668,7 +668,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
668
668
},
669
669
},
670
670
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
671
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-16" ,
671
+ Source : "paketocommunity/ run-nodejs-16-ubi-base " ,
672
672
},
673
673
},
674
674
{
@@ -679,7 +679,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
679
679
},
680
680
},
681
681
RunDockerfileProps : ubinodejsextension.RunDockerfileProps {
682
- Source : "paketo-buildpacks/ubi8-paketo- run-nodejs-16" ,
682
+ Source : "paketocommunity/ run-nodejs-16-ubi-base " ,
683
683
},
684
684
},
685
685
}
@@ -692,7 +692,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
692
692
Plan : packit.BuildpackPlan {
693
693
Entries : tt .Entries ,
694
694
},
695
- Stack : "ubi8-paketo " ,
695
+ Stack : "io.buildpacks.stacks. ubi8" ,
696
696
})
697
697
698
698
Expect (err ).NotTo (HaveOccurred ())
@@ -733,7 +733,7 @@ func testGenerate(t *testing.T, context spec.G, it spec.S) {
733
733
Plan : packit.BuildpackPlan {
734
734
Entries : tt .Entries ,
735
735
},
736
- Stack : "ubi8-paketo " ,
736
+ Stack : "io.buildpacks.stacks. ubi8" ,
737
737
})
738
738
739
739
Expect (err ).To (HaveOccurred ())
@@ -769,15 +769,15 @@ description = "This extension installs the appropriate nodejs runtime via dnf"
769
769
[[metadata.dependencies]]
770
770
id = "node"
771
771
name = "Ubi Node Extension"
772
- stacks = ["ubi8-paketo "]
773
- source = "paketo-buildpacks/ubi8-paketo- run-nodejs-18"
772
+ stacks = ["io.buildpacks.stacks. ubi8"]
773
+ source = "paketocommunity/ run-nodejs-18-ubi-base "
774
774
version = "18.1000"
775
775
776
776
[[metadata.dependencies]]
777
777
id = "node"
778
778
name = "Ubi Node Extension"
779
- stacks = ["ubi8-paketo "]
780
- source = "paketo-buildpacks/ubi8-paketo- run-nodejs-16"
779
+ stacks = ["io.buildpacks.stacks. ubi8"]
780
+ source = "paketocommunity/ run-nodejs-16-ubi-base "
781
781
version = "16.1000"
782
782
`
783
783
return fmt .Sprintf (template , version ), nil
0 commit comments