redhat-buildpacks / testing

Project aiming to help us to perform e2e tests using Buildpacks
Apache License 2.0
0 stars 3 forks source link

Shipwright: No substitution is NOT taking place for a volume names $(params.PLATFORM_DIR) #15

Open cmoulliard opened 1 year ago

cmoulliard commented 1 year ago

Issue

We cannot in a (Cluster)BuildStrategy declare such a volumeMount

    volumeMounts:
    - mountPath: /platform
      name: $(params.PLATFORM_DIR)

as the substitution won't work

conditions:
    - lastTransitionTime: "2023-05-12T11:23:50Z"
      message: Volume for the Volume Mount "$(params.PLATFORM_DIR)" is not found

This syntax is nevertheless working

    volumeMounts:
    - mountPath: /platform
      name: empty-dir