Skip to content

Commit

Permalink
Add some extra logs
Browse files Browse the repository at this point in the history
  • Loading branch information
liamnichols committed Jun 22, 2022
1 parent 5b77224 commit 4dd58c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,15 @@ done
# Test the server
echo "Testing the REST api..."
curl --silent "http://$interface:$port/micro/all"
printf "\n"

# Export collector info
echo "Exporting \$SNOWPLOW_MICRO_COLLECTOR_INTERFACE ($interface) and \$SNOWPLOW_MICRO_COLLECTOR_PORT ($port)"
envman add --key SNOWPLOW_MICRO_COLLECTOR_INTERFACE --value "$interface"
envman add --key SNOWPLOW_MICRO_COLLECTOR_PORT --value "$port"

# Add $micro_dir to the cache
echo "Adding $micro_dir to \$BITRISE_CACHE_INCLUDE_PATHS"
cache_dir="${BITRISE_CACHE_INCLUDE_PATHS}
${micro_dir}"
envman add --key BITRISE_CACHE_INCLUDE_PATHS --value "$cache_dir"

0 comments on commit 4dd58c4

Please sign in to comment.