Skip to content

Commit

Permalink
ROX-8830: Respect local overwrites of variables in BASH_ENV (#99)
Browse files Browse the repository at this point in the history
* X-Smart-Branch-Parent: master
* Fix issue ROX-8821

Co-authored-by: msugakov <[email protected]>
  • Loading branch information
vikin91 and msugakov committed Jan 12, 2022
1 parent 065e1ca commit 0889271
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ jobs:
-f images/test.cci-export.Dockerfile \
-t test.cci-export \
images/
docker build images/ -f images/test.cci-export.Dockerfile -t test.cci-export
docker run --rm test.cci-export
build-and-push-env-check:
Expand Down Expand Up @@ -280,6 +281,10 @@ workflows:
only: /.*/
requires:
- build-and-push-base
- test-cci-export:
filters:
tags:
only: /.*/
- build-and-push-rox:
context: quay-rhacs-eng-readwrite
filters:
Expand Down
7 changes: 7 additions & 0 deletions images/test/foo-printer.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

if [[ -n "$1" ]]; then
echo "$1: ${!1}"
else
echo "FOO: $FOO"
fi

0 comments on commit 0889271

Please sign in to comment.