Closed
Bug 1315287
Opened 9 years ago
Closed 9 years ago
update docker-worker:image:taskclusterprivate/upload_symbols:0.0.3
Categories
(Taskcluster Graveyard :: Docker Images, defect)
Taskcluster Graveyard
Docker Images
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla52
People
(Reporter: kmoir, Assigned: kmoir)
References
Details
Attachments
(3 files)
|
4.02 KB,
patch
|
dustin
:
review+
|
Details | Diff | Splinter Review |
|
4.02 KB,
patch
|
Details | Diff | Splinter Review | |
|
887 bytes,
patch
|
Details | Diff | Splinter Review |
It uploads target.crashreporter-symbols.zip when it should upload target.crashreporter-symbols-full.zip
See https://bugzilla.mozilla.org/show_bug.cgi?id=1314345#c9
root@f1402077dc31:/tmp# cat bin/upload.sh
#! /bin/bash
set -e
# checkout the script
source $(dirname $0)/checkout-script.sh
# Check that we have a taskid to checkout
if [ -z ${ARTIFACT_TASKID} ]; then
echo "Please set ARTIFACT_TASKID. Exiting"
exit 0
fi
# grab the symbols from an arbitrary task
symbol_url=https://queue.taskcluster.net/v1/task/${ARTIFACT_TASKID}/artifacts/public/build/target.crashreporter-symbols.zip
wget ${symbol_url}
# run
symbol_zip=$(basename ${symbol_url})
script_name=$(basename ${SCRIPT_PATH})
python -u ${script_name} ${symbol_zip}
I couldn't find where the dockerfile for docker-worker:image:taskclusterprivate/upload_symbols:0.0.3 was stored, perhaps in a private repo since it's a private image
Comment 1•9 years ago
|
||
That image was created as part of bug 1168979, the Dockerfile is in this repo: https://github.com/acmiyaguchi/upload-symbols
Comment 2•9 years ago
|
||
(I would have linked that on your other bug yesterday but I could not recall it offhand and I lost track of it!)
Comment 3•9 years ago
|
||
Moving that to testing/docker in the process would probably be a good idea.
| Assignee | ||
Comment 4•9 years ago
|
||
patch to move upload-symbols dockerfile in tree
Comment 5•9 years ago
|
||
Comment on attachment 8807642 [details] [diff] [review]
bug1315287.patch
Review of attachment 8807642 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks! There's some trailing whitespace in the Dockerfile that could be cleaned up.
Attachment #8807642 -
Flags: review+
Pushed by kmoir@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/18a98f6dabd9
update docker-worker:image:taskclusterprivate/upload_symbols:0.0.3 r=dustin DONTBUILD
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → kmoir
| Assignee | ||
Comment 7•9 years ago
|
||
| Assignee | ||
Comment 8•9 years ago
|
||
Do I have to do anything to create the new docker image, according to this is it all automatic?
https://docs.taskcluster.net/tutorial/gecko-docker-images
Flags: needinfo?(dustin)
Comment 9•9 years ago
|
||
Unfortunately you'll have to manually build this and publish it because it needs to include the Socorro authentication token. bug 1253620 covers adding a proxy to taskcluster to avoid the need to bake the token into the image.
| Assignee | ||
Comment 10•9 years ago
|
||
So to rebuild the docker image for the signing upload I need the socorro token which I don't have. And presumably I need to publish it to a private place too. Anyone have any pointers to this data?
Flags: needinfo?(dustin)
Comment 11•9 years ago
|
||
I think I have the rights to push to taskclusterprivate. Which means I can also pull from it and find the socorro token..
Comment 12•9 years ago
|
||
I dunno where it's stored, but there's a puppet module to add it to buildbot builders:
https://dxr.mozilla.org/build-central/source/puppet/modules/slave_secrets/manifests/crash_stats_api_token.pp
You can always have coop generate a new one by logging into crash-stats. That's all we did originally...
Comment 13•9 years ago
|
||
OK, pushed the updated version from attachment 8807659 [details] [diff] [review] as 0.0.4.
Comment 14•9 years ago
|
||
0.0.4: digest: sha256:c3a5cce3e37aba59971462a6a9ddd54af7253e982115776b310c189128b5458f size: 2612
if anyone cares :)
| Assignee | ||
Comment 15•9 years ago
|
||
thanks dustin!
Comment 16•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
| Assignee | ||
Comment 17•9 years ago
|
||
patch to use the new image
Comment 18•9 years ago
|
||
Pushed by kmoir@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c1e5b5c23216
update docker-worker:image:taskclusterprivate/upload_symbols:0.0.3 r=kmoir DONTBUILD
Comment 19•9 years ago
|
||
| bugherder | ||
Updated•8 years ago
|
Product: Taskcluster → Taskcluster Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•