tests: add test for builder-pack:set projectoml-path
This commit is contained in:
15
tests/apps/python/cnb/1/bin/build
Executable file
15
tests/apps/python/cnb/1/bin/build
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
layers_dir=$1
|
||||
|
||||
echo "Building with buildpack 1"
|
||||
bp_layer=$layers_dir/1
|
||||
bp_env_dir=$bp_layer/env
|
||||
mkdir -p $bp_env_dir
|
||||
|
||||
echo "TESTENV_1" > $bp_env_dir/TESTENV
|
||||
|
||||
echo "[types]" > ${bp_layer}.toml
|
||||
echo "launch = true" >> ${bp_layer}.toml
|
||||
echo "build = true" >> ${bp_layer}.toml
|
||||
echo "cache = true" >> ${bp_layer}.toml
|
||||
3
tests/apps/python/cnb/1/bin/detect
Executable file
3
tests/apps/python/cnb/1/bin/detect
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "1" && exit 0
|
||||
Reference in New Issue
Block a user