Remove the workaround for jq 1.6
Categories
(Webtools :: Searchfox, task)
Tracking
(Not tracked)
People
(Reporter: arai, Unassigned, Mentored)
References
Details
(Whiteboard: [lang=shell])
As mentioned in bug 1912460, jq version available on ubuntu jammy is 1.6 [1], and the nth command doesn't work as expected there.
I've added workaround in bug 1912460 to make the command work also on 1.6, but ultimately it's better using newer version of jq.
Given ubuntu noble has 1.7 [2], possible options would be either:
- (a) bump the image to ubuntu noble
- (b) install jq 1.7+ manually, instead of apt
[1] https://packages.ubuntu.com/search?suite=jammy&searchon=names&keywords=jq
[2] https://packages.ubuntu.com/search?suite=noble&searchon=names&keywords=jq
| Reporter | ||
Comment 1•1 year ago
|
||
bug 1922408 bumped the ubuntu version, and now jq 1.7.1 is used by the servers and also the docker images.
We can now remove the workaround added by the bug 1912460's https://github.com/mozsearch/mozsearch/pull/811
| Reporter | ||
Comment 2•1 year ago
|
||
The related code is in https://github.com/mozsearch/mozsearch/blob/2d73a3e427502297b3eb6d71e0a73ac4ce0a3955/infrastructure/aws/mkscratch.sh#L109-L113
Description
•