pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markur Sens <markursens@gmail.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: CI/CD Boilerplate for extension binaries without source code ?
Date: Mon, 10 Jan 2022 12:16:23 +0200
Message-ID: <37175B52-7B4E-49EF-A5D4-8C56F252FE6F@gmail.com> (raw)

Hi, 

For a gig, I’m developing a small Postgres extension, adding a few data types and some functions (some of them written in C and some of them written in plpython3).

Now, my client doesn’t want the source code to be visible and/or open even internally to other teams; They just want a bunch of yum/deb/apt packages to be distributed to servers & users internally.
Docker is also an option but I prefer to rely just on my Makefile (using PGXS) for now and produce deb/apt/yum

Can you recommend any CI/CD boilerplate that can help with this? Especially the plpython3 part can be tricky as the CREATE FUNCTION body obviously contains visible python code and is included in the extension—0.1.sql that goes under /share/postgresql/extension/ . 

Most of the sophisticated extensions (Postgis, citus) I’ve looked at have either too complex CI/CD processes or ship source code with them. And the plpython part seems quite unique I think. 








Message-ID: <37175B52-7B4E-49EF-A5D4-8C56F252FE6F@gmail.com>
Permalink:  ../37175B52-7B4E-49EF-A5D4-8C56F252FE6F@gmail.com/
Also on:    postgresql.org/message-id/37175B52-7B4E-49EF-A5D4-8C56F252FE6F@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: markursens@gmail.com
  Subject: Re: CI/CD Boilerplate for extension binaries without source code ?
  In-Reply-To: <37175B52-7B4E-49EF-A5D4-8C56F252FE6F@gmail.com>
  References: <37175B52-7B4E-49EF-A5D4-8C56F252FE6F@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox