Closed Bug 1440712 Opened 6 years ago Closed 6 years ago

convert UploadCrashReportJSONSchemaCronApp to post-deploy step

Categories

(Socorro :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: brian)

References

Details

Attachments

(1 file)

We have a crontabber app called UploadCrashReportJSONSchemaCronApp which uploads the schema to the S3 bucket we use to send data to Telemetry. The schema is managed in code, so the only time it changes is when we do a deploy.

Given that, we should convert this crontabber job into a post-deploy step.

This bug covers that.
Assignee: nobody → bpitts
Willkg, could you convert this into a script which we can run standalone, instead of a contabber job, before I add it as a post-deploy step?

I first thought I wouldn't need a script to do this at all, and that I could just use the aws cli on jenkins or on the crontabber, but it turns out that for misc reasons it would be easier if we kept a script around to do it.
Flags: needinfo?(willkg)
I think that's a great idea! I'll try to do that this week.
Flags: needinfo?(willkg)
Commits pushed to master at https://github.com/mozilla-services/socorro

https://github.com/mozilla-services/socorro/commit/014035a28dddf83da3dcea2d589b6c102c8dba94
fix bug 1440712 - add "upload_telemetry_schema" app

This app can be run using the socorro-cmd in an appropriate environment for
uploading the Telemetry schema to the Telemetry S3 bucket.

https://github.com/mozilla-services/socorro/commit/7b1d94d654a23905e5816ec47b05c3072c3bf5a0
Merge pull request #4371 from willkg/1440712-upload-json

fix bug 1440712 - add "upload_telemetry_schema" app
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: