Skip to content

Commit

Permalink
Ensure BUILDEVENTS_SPAN_ID (#73)
Browse files Browse the repository at this point in the history
Ensures the BUILDEVENTS_SPAN_ID environment variable is set to the appropriate value by using double quotes rather than waiting for evaluation later and leaving it unset.
  • Loading branch information
keldin-coding authored Sep 2, 2022
1 parent 83df345 commit df9e2e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ commands:
# in case this is a bash env, be kind and export the buildevents path and span ID
# this orb won't rely on them but consumers of the orb might find it useful
# this way steps that are run within a span can use the raw buildevents if desired
echo 'export BUILDEVENTS_SPAN_ID=$BUILDEVENTS_SPAN_ID' >> $BASH_ENV
echo "export BUILDEVENTS_SPAN_ID=$BUILDEVENTS_SPAN_ID" >> $BASH_ENV
if uname -a | grep Linux | grep x86_64 > /dev/null 2>&1 ; then
echo 'export PATH=$PATH:/tmp/buildevents/be/bin-linux:/tmp/be/bin-linux' >> $BASH_ENV
elif uname -a | grep Linux | grep -e arm64 -e aarch64 > /dev/null 2>&1 ; then
Expand Down

0 comments on commit df9e2e0

Please sign in to comment.