fix: set default process list in test buildpacks
Also include the packeto-buildpacks/procfile buildpack to ensure the Procfile is interpolated for a process list.
This commit is contained in:
@@ -15,3 +15,9 @@ echo "TESTENV_1" >$bp_env_dir/TESTENV
|
|||||||
echo "build = true"
|
echo "build = true"
|
||||||
echo "cache = true"
|
echo "cache = true"
|
||||||
} >"${bp_layer}.toml"
|
} >"${bp_layer}.toml"
|
||||||
|
|
||||||
|
cat >"$layers_dir/launch.toml" <<EOL
|
||||||
|
[[processes]]
|
||||||
|
type = "web"
|
||||||
|
command = "true"
|
||||||
|
EOL
|
||||||
|
|||||||
@@ -21,3 +21,9 @@ echo "TESTENV_2" >$bp_env_dir/TESTENV
|
|||||||
echo "build = true"
|
echo "build = true"
|
||||||
echo "cache = true"
|
echo "cache = true"
|
||||||
} >"${bp_layer}.toml"
|
} >"${bp_layer}.toml"
|
||||||
|
|
||||||
|
cat >"$layers_dir/launch.toml" <<EOL
|
||||||
|
[[processes]]
|
||||||
|
type = "web"
|
||||||
|
command = "true"
|
||||||
|
EOL
|
||||||
|
|||||||
@@ -8,3 +8,7 @@ uri = "./cnb/1"
|
|||||||
|
|
||||||
[[build.buildpacks]]
|
[[build.buildpacks]]
|
||||||
uri = "./cnb/1"
|
uri = "./cnb/1"
|
||||||
|
|
||||||
|
|
||||||
|
[[order.group]]
|
||||||
|
uri = "gcr.io/paketo-buildpacks/procfile"
|
||||||
|
|||||||
Reference in New Issue
Block a user