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:
Jose Diaz-Gonzalez
2021-10-06 03:06:54 -04:00
parent 2d1b93c354
commit 4cf717baf8
3 changed files with 16 additions and 0 deletions

View File

@@ -15,3 +15,9 @@ echo "TESTENV_1" >$bp_env_dir/TESTENV
echo "build = true"
echo "cache = true"
} >"${bp_layer}.toml"
cat >"$layers_dir/launch.toml" <<EOL
[[processes]]
type = "web"
command = "true"
EOL

View File

@@ -21,3 +21,9 @@ echo "TESTENV_2" >$bp_env_dir/TESTENV
echo "build = true"
echo "cache = true"
} >"${bp_layer}.toml"
cat >"$layers_dir/launch.toml" <<EOL
[[processes]]
type = "web"
command = "true"
EOL

View File

@@ -8,3 +8,7 @@ uri = "./cnb/1"
[[build.buildpacks]]
uri = "./cnb/1"
[[order.group]]
uri = "gcr.io/paketo-buildpacks/procfile"