forked from buildpacks/pack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug where env-file variables were not being exposed to detect
- Loading branch information
1 parent
5ccae5a
commit 88a5253
Showing
5 changed files
with
60 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "---> Print env buildpack" | ||
echo "---> BUILD: Printenv buildpack" | ||
|
||
set -o errexit | ||
set -o nounset | ||
set -o pipefail | ||
|
||
for file in $(ls /platform/env); do | ||
echo "ENV: $file is $(cat /platform/env/$file);" | ||
echo "BUILD: $file is $(cat /platform/env/$file);" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "---> DETECT: Printenv buildpack" | ||
|
||
set -o errexit | ||
set -o nounset | ||
set -o pipefail | ||
|
||
for file in $(ls /platform/env); do | ||
echo "DETECT: $file is $(cat /platform/env/$file);" | ||
done | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters