Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n6rj4-00022S-Km for pgsql-general@arkaria.postgresql.org; Mon, 10 Jan 2022 10:16:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n6rj2-0007Zo-RC for pgsql-general@arkaria.postgresql.org; Mon, 10 Jan 2022 10:16:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n6rj2-0007Zf-EW for pgsql-general@lists.postgresql.org; Mon, 10 Jan 2022 10:16:28 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n6rj0-0006Ys-Dp for pgsql-general@lists.postgresql.org; Mon, 10 Jan 2022 10:16:27 +0000 Received: by mail-ed1-x530.google.com with SMTP id c71so39897889edf.6 for ; Mon, 10 Jan 2022 02:16:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=zTiIl3Mi+eHyzgFyb4R6Z9wf3yQxhVAn9jOB+tVLN44=; b=IYlO8OhK2wVBYymD3XThD0yPUu3ojZh0vGhO8dAXrP5b307T9KiJh/mrZDMsSrRim9 FiKKiJruTZx7PWDIWgeokfcvR9Cs2v38QDZMal7U1JqbeRbS8+eIzUwFgYpVH0auELN/ j/vl71LvUpq1eaw8WqK6VMwWmONoGIGndWD2x6HGNjJwHtJo2Jnbr7W5Sc+RJBzBh8Oe eQx11R3ljoTlxq9Q+43eiiw/4PVwrBDC4ABO99ElDmQ7qTKYNNSfP42YHbblzHjVSwZ5 TDy5D+dLJqLianzJsUCbVpt0DQ5Yz4AgnRAoMTSLTmgFgcHf9f5VonSDD0Aw2Mh5rB4z Jkhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=zTiIl3Mi+eHyzgFyb4R6Z9wf3yQxhVAn9jOB+tVLN44=; b=vv5kEV5g9i5afBk+n13VVN/0CREfQ2FyTKzRukstCjmRBOfcVE9etsJiJuNsM9TAzQ P1OdjTglLJ4O0tGtHCz24Atgq8JnOGoY+Iq8slU5MUOKNYrCmNrzqa7WleB34eRbyhDX kpVWQCYV37zEKlTatw6NJaBwrvi5enhAad7x0q+jBWRqlI13wbvvghe0v4BCf8GAzlBn 82rLvDTm1lxDya0CIpkf78Y0tNoJZyKmcZSj5RE5Gg3sWP+1LCi9UbHI0YHNIbxRhUpL MMdkqW25p1CbgH8eFGZLQBw6KvZrmuUbAV3dpa0y7rfXo6g/aBXgvJtC9yGvmKxE+gZ0 mfKw== X-Gm-Message-State: AOAM53189KJD3L/fiALXmyoQfkMVd9AUUHIojD3Uyck9ozwaABb6ybMf rb3J41IuqyID4sQ1n5darznkNqjybXJL11rw X-Google-Smtp-Source: ABdhPJzvI6Rc8KC1yyKnnEEiPD1z2KFsdw3jbYnq1KC7Y6s+pRE26BQKtK6U4EcdhNnX7S+20Fa/xw== X-Received: by 2002:aa7:ccd4:: with SMTP id y20mr8323592edt.131.1641809785093; Mon, 10 Jan 2022 02:16:25 -0800 (PST) Received: from smtpclient.apple (ppp-94-66-221-126.home.otenet.gr. [94.66.221.126]) by smtp.gmail.com with ESMTPSA id ga7sm645597ejc.50.2022.01.10.02.16.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jan 2022 02:16:24 -0800 (PST) From: Markur Sens Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Subject: CI/CD Boilerplate for extension binaries without source code ? Message-Id: <37175B52-7B4E-49EF-A5D4-8C56F252FE6F@gmail.com> Date: Mon, 10 Jan 2022 12:16:23 +0200 To: pgsql-general X-Mailer: Apple Mail (2.3693.40.0.1.81) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi,=20 For a gig, I=E2=80=99m 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=E2=80=99t 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=E2=80=940.1.sql that goes under /share/postgresql/extension/ .=20= Most of the sophisticated extensions (Postgis, citus) I=E2=80=99ve = looked at have either too complex CI/CD processes or ship source code = with them. And the plpython part seems quite unique I think.=20