Skip to content

Instantly share code, notes, and snippets.

@Callek
Created March 27, 2020 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Callek/ddcef74533c84accfbe568143b4681a0 to your computer and use it in GitHub Desktop.
Save Callek/ddcef74533c84accfbe568143b4681a0 to your computer and use it in GitHub Desktop.
$ cat new.Firefox-75.0b10-build1-No-Wnp.json | jq
{
"Product": "Firefox",
"blob": {
"schema_version": 9,
"name": "Firefox-75.0b10-build1-No-WNP",
"hashFunction": "sha512",
"platforms": {
"Linux_x86-gcc3": {
"OS_BOUNCER": "linux",
"OS_FTP": "linux-i686"
},
"Linux_x86_64-gcc3": {
"OS_BOUNCER": "linux64",
"OS_FTP": "linux-x86_64"
},
"Darwin_x86_64-gcc3-u-i386-x86_64": {
"OS_BOUNCER": "osx",
"OS_FTP": "mac"
},
"Darwin_x86-gcc3-u-i386-x86_64": {
"alias": "Darwin_x86_64-gcc3-u-i386-x86_64"
},
"Darwin_x86-gcc3": {
"alias": "Darwin_x86_64-gcc3-u-i386-x86_64"
},
"Darwin_x86_64-gcc3": {
"alias": "Darwin_x86_64-gcc3-u-i386-x86_64"
},
"WINNT_x86-msvc": {
"OS_BOUNCER": "win",
"OS_FTP": "win32"
},
"WINNT_x86-msvc-x86": {
"alias": "WINNT_x86-msvc"
},
"WINNT_x86-msvc-x64": {
"alias": "WINNT_x86-msvc"
},
"WINNT_x86_64-msvc": {
"OS_BOUNCER": "win64",
"OS_FTP": "win64"
},
"WINNT_x86_64-msvc-x64": {
"alias": "WINNT_x86_64-msvc"
},
"WINNT_aarch64-msvc-aarch64": {
"OS_BOUNCER": "win64-aarch64",
"OS_FTP": "win64-aarch64"
}
},
"fileUrls": {
"*": {
"completes": {
"*": "http://download.mozilla.org/?product=firefox-75.0b10-complete&os=%OS_BOUNCER%&lang=%LOCALE%"
},
"partials": {
"Firefox-75.0b8-build1": "http://download.mozilla.org/?product=firefox-75.0b10-partial-75.0b8&os=%OS_BOUNCER%&lang=%LOCALE%",
"Firefox-75.0b9-build1": "http://download.mozilla.org/?product=firefox-75.0b10-partial-75.0b9&os=%OS_BOUNCER%&lang=%LOCALE%",
"Firefox-75.0b7-build1": "http://download.mozilla.org/?product=firefox-75.0b10-partial-75.0b7&os=%OS_BOUNCER%&lang=%LOCALE%"
}
},
"beta-localtest": {
"completes": {
"*": "http://archive.mozilla.org/pub/firefox/candidates/75.0b10-candidates/build1/update/%OS_FTP%/%LOCALE%/firefox-75.0b10.complete.mar"
},
"partials": {
"Firefox-75.0b8-build1": "http://archive.mozilla.org/pub/firefox/candidates/75.0b10-candidates/build1/update/%OS_FTP%/%LOCALE%/firefox-75.0b8-75.0b10.partial.mar",
"Firefox-75.0b9-build1": "http://archive.mozilla.org/pub/firefox/candidates/75.0b10-candidates/build1/update/%OS_FTP%/%LOCALE%/firefox-75.0b9-75.0b10.partial.mar",
"Firefox-75.0b7-build1": "http://archive.mozilla.org/pub/firefox/candidates/75.0b10-candidates/build1/update/%OS_FTP%/%LOCALE%/firefox-75.0b7-75.0b10.partial.mar"
}
}
},
"appVersion": "75.0",
"displayVersion": "75.0 Beta 10",
"updateLine": [
{
"fields": {
"detailsURL": "https://www.mozilla.org/%LOCALE%/firefox/75.0/releasenotes/",
"type": "minor"
},
"for": {}
}
]
}
}
(3.8.1-tox) callek@vela:/tmp/balrog$ curl -i -X PUT https://admin-stage.balrog.nonprod.cloudops.mozgcp.net/api/v2/releases/Firefox-75.0b10-build1-No-Wnp -H "Content-Type: application/json" --data-binary "@new.Firefox-75.0b10-build1-No-Wnp.json" -H "Authorization: Bearer $balrog_bearer_token"
HTTP/2 500
server: nginx/1.17.9
date: Fri, 27 Mar 2020 19:26:55 GMT
content-type: application/json
content-length: 107
x-frame-options: DENY
x-frame-options: DENY
x-content-type-options: nosniff
x-content-type-options: nosniff
strict-transport-security: max-age=31536000;
strict-transport-security: max-age=31536000
access-control-allow-headers: Authorization, Content-Type
access-control-allow-methods: OPTIONS, GET, POST, PUT, DELETE
content-security-policy: default-src 'none'; frame-ancestors 'none'
via: 1.1 google
alt-svc: clear
{"type": "about:blank", "title": "Internal Server Error", "detail": "Internal Server Error", "status": 500}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment