Closed
Bug 880744
Opened 11 years ago
Closed 11 years ago
Add json_enhancements to jenkins PostgreSQL
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: selenamarie, Unassigned)
References
Details
I've set up a make target that builds json_extensions for PostgreSQL: https://github.com/selenamarie/socorro/blob/31e166cf19fccf8b3ca51a2fb6a6f3aaf503b0a1/Makefile#L105 It's in a branch and not committed to core Socorro yet because to test it with jenkins, it needs to be installed :D Classic chicken-and-egg. Getting this running requires: * pgxnclient (Python module) * sudo access to install modules in `pg_config --pkglibdir` Once installed, the module is unobtrusive and then can be used by anyone wishing to play around with the JSON datatype by running 'create extension json_enhancements' in their database.
Reporter | ||
Comment 1•11 years ago
|
||
And -- the Makefile does all the right things to get the python modules going -- so really, if you use that Makefile target, all you should need to do to install is: make json
Reporter | ||
Comment 2•11 years ago
|
||
This dependency is blocking a Q2 goal. Not an incredibly urgent rush, but would like to take care of it next week sometime.
Comment 3•11 years ago
|
||
(In reply to Selena Deckelmann :selenamarie :selena from comment #0) > I've set up a make target that builds json_extensions for PostgreSQL: > > https://github.com/selenamarie/socorro/blob/ > 31e166cf19fccf8b3ca51a2fb6a6f3aaf503b0a1/Makefile#L105 > > It's in a branch and not committed to core Socorro yet because to test it > with jenkins, it needs to be installed :D > > Classic chicken-and-egg. > It's not entirely clear what action you need from web ops > Getting this running requires: > > * pgxnclient (Python module) There is a 1.2 version in our pgdg-92-redhat repo, is that version sufficient? > * sudo access to install modules in `pg_config --pkglibdir` > Are you requesting sudo access to the jenkins master so you can install modules? If these are for a system-wide installation we need to be able to install them via Puppet
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Brandon Burton [:solarce] from comment #3) > (In reply to Selena Deckelmann :selenamarie :selena from comment #0) > > I've set up a make target that builds json_extensions for PostgreSQL: > > > > https://github.com/selenamarie/socorro/blob/ > > 31e166cf19fccf8b3ca51a2fb6a6f3aaf503b0a1/Makefile#L105 > > > > It's in a branch and not committed to core Socorro yet because to test it > > with jenkins, it needs to be installed :D > > > > Classic chicken-and-egg. > > > > It's not entirely clear what action you need from web ops > > > Getting this running requires: > > > > * pgxnclient (Python module) > > There is a 1.2 version in our pgdg-92-redhat repo, is that version > sufficient? Yes! > > > * sudo access to install modules in `pg_config --pkglibdir` > > > > Are you requesting sudo access to the jenkins master so you can install > modules? No > If these are for a system-wide installation we need to be able to install > them via Puppet Hmmm. :( There's no packages other than pgxn-managed installation. Does that count? pgxn can install the package and manage it via puppet.
Comment 5•11 years ago
|
||
I built an RPM of the compiled module using fpm [root@jenkins-services1.dmz.phx1 ~]# yum info postgresql92-json_enhancements Loaded plugins: downloadonly, rhnplugin, security This system is receiving updates from RHN Classic or RHN Satellite. Installed Packages Name : postgresql92-json_enhancements Arch : x86_64 Version : 1.0 Release : 1 Size : 208 k Repo : installed From repo : mozilla Summary : no description given URL : http://example.com/no-uri-given License : unknown Description : no description given Things are installed exactly the same as a 'pgxn install json_enhancements' and using 1.0.0 from pgxn root@jenkins-services1.dmz.phx1 ~]# locate json_enhancements /usr/pgsql-9.2/share/extension/json_enhancements--1.0.0.sql /usr/pgsql-9.2/share/extension/json_enhancements.control /usr/share/doc/pgsql/extension/json_enhancements.md
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•