Skip to content

Commit

Permalink
Add environment info
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsavage1 committed May 22, 2024
1 parent d452f6b commit 610dfc4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker/crashpad_symbolize/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,11 @@ RUN breakpad/src/src/tools/linux/dump_syms/dump_syms /tmp/cobalt-evergreen-snaps
&& mkdir -p /tmp/symbols/libcobalt.so/$debug_id/ \
&& mv /tmp/libcobalt.so.sym /tmp/symbols/libcobalt.so/$debug_id/

CMD readelf -n /tmp/cobalt-evergreen-snapshot/libcobalt.so \
ENV GITHUB_TAG $GITHUB_TAG
ENV ARCHITECTURE $ARCHITECTURE
ENV SB_API_VERSION $SB_API_VERSION
ENV CONFIG $CONFIG

CMD echo "tag:${GITHUB_TAG} arch:${ARCHITECTURE} sbversion:${SB_API_VERSION} config:${CONFIG}" \
&& readelf -n /tmp/cobalt-evergreen-snapshot/libcobalt.so \
&& breakpad/src/src/processor/minidump_stackwalk /root/minidump_directory/minidump.dmp /tmp/symbols

0 comments on commit 610dfc4

Please sign in to comment.