Closed Bug 1395966 Opened 9 years ago Closed 8 years ago

Import symbol uploaders from Crash-stats to Tecken

Categories

(Socorro :: Symbols, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

References

Details

Attachments

(1 file)

Once we've exported the live list of users (and their API tokens) we need a way to import them.
Assignee: nobody → peterbe
Miles, I have a file on disk that I'll gpg email you. The ask is if you can execute it Dev (or stage or both) and conclude that that works. The way I imported it with docker-compose was:: docker-compose run web python manage.py import-uploaders < symbol-uploads-api-tokens.json Or:: docker-compose run --user 0 web bash # ./manage.py import-uploaders symbol-uploads-api-tokens.json Once we know it works (beyond my laptop) we'll leave this bug open till the day we actually do it finally on prod.
Flags: needinfo?(miles)
Commit pushed to master at https://github.com/mozilla-services/tecken https://github.com/mozilla-services/tecken/commit/e95e195f541b13d54378c8f3de5411dc71b653c3 bug 1395966 - import symbol uploaders from crash-stats (#369) * bug 1395966 - import symbol uploaders from crash-stats * improving the import script a bit
I have run this in dev successfully. You need to tag a new release for the changes from comment 3 to make it to stage.
Flags: needinfo?(miles)
(In reply to Miles Crabill [:miles] from comment #4) > I have run this in dev successfully. You need to tag a new release for the > changes from comment 3 to make it to stage. If it works in Dev, I'm content it'll work in Stage and Prod. Not going to actually resolve this bug now until it's actually been done closer to the date we make the switch.
Ran it in stage successfully. Once 2017.09.06 is in prod I'll run it there.
(In reply to Miles Crabill [:miles] from comment #6) > Ran it in stage successfully. Once 2017.09.06 is in prod I'll run it there. Unless you think it's different I don't think you have to do it in stage and prod. We're going to do it one more time, again, and then we'll definitely do prod again.
This upload was completed at 12/4/17 10:10 PST
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Peterbe verified this fix
Status: RESOLVED → VERIFIED
Blocks: 1395647
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: