tests: add test for builder-pack:set projectoml-path

This commit is contained in:
Jose Diaz-Gonzalez
2021-07-10 15:32:59 -04:00
parent 84ca9ff7e5
commit 7292eaefc3
8 changed files with 151 additions and 0 deletions

View 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