https://github.com/acmiyaguchi/upload-symbols
Docker container to upload crashdump symbols
https://github.com/acmiyaguchi/upload-symbols
Last synced: about 2 months ago
JSON representation
Docker container to upload crashdump symbols
- Host: GitHub
- URL: https://github.com/acmiyaguchi/upload-symbols
- Owner: acmiyaguchi
- Created: 2015-07-02T22:13:03.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-09T23:13:04.000Z (almost 10 years ago)
- Last Synced: 2023-08-03T20:59:15.170Z (almost 2 years ago)
- Language: Shell
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Upload Symbols
Docker worker to upload crashreporter symbols as a separate taskcluster task.## Building
`$ docker build -t upload_symbols .``$ docker run -i -t upload_symbols`
Then from inside the container, run:
`$ ./bin/upload.sh`
In order to run the `upload_symbols.py` script properly, the Dockerfile expects a text file `socorro_token` embedded with the api token at the root directory before.
The following environmental variables must be set for a sucessful run.
- `ARTIFACT_TASKID` : TaskId of the parent build task
- `GECKO_HEAD_REPOSITORY` : The head repository to download the checkout script
- `GECKO_HEAD_REV` : Revision of the head repository to look for## Example
The container can be run similar to its production environment with the following command:
```
docker run -ti \
-e ARTIFACT_TASKID=Hh5vLCaTRRO8Ql9X6XBdxg \
-e GECKO_HEAD_REV=beed30cce69bc9783d417d3d29ce2c44989961ed \
-e GECKO_HEAD_REPOSITORY=https://hg.mozilla.org/try/ \
upload_symbols /bin/bash bin/upload.sh
```