Commit Graph

153 Commits

Author SHA1 Message Date
Dave Page
5ab056759b Use the proper naming convention for .DEB packages 2020-03-20 12:26:10 +00:00
Dave Page
e1aeaba942 Simplify PYTHONPATH handling for Sphinx. 2020-03-20 12:07:35 +00:00
Dave Page
e256fc32d9 Ensure rpm-build is installed. 2020-03-20 11:50:59 +00:00
Dave Page
7f571fa7d8 Add mod_wsgi to the built package list. 2020-03-19 13:17:22 -04:00
Dave Page
cb600549c3 Don't hard code the architecture. 2020-03-19 12:56:39 -04:00
Dave Page
e1cb6d92c5 Update supported distros list. 2020-03-19 12:56:39 -04:00
Dave Page
8812a7db69 Add support for building RPMs on CentOS/RHEL 7 2020-03-19 12:56:39 -04:00
Dave Page
6105fc861d Don't ask to continue when installing deps. 2020-03-18 13:00:33 +00:00
Dave Page
f156696339 Add support for building RHEL/CentOS 8 RPMs. 2020-03-18 08:51:11 -04:00
Dave Page
b6c8707a4d Don't barf if the tree is clean. 2020-03-16 12:40:01 +00:00
Dave Page
0b101d9efd Update tested distros list. 2020-03-13 12:36:08 +00:00
Dave Page
b69995b34d Use fakeroot to set file ownership as dpkg-deb can't do it itself on older distros. 2020-03-13 12:17:10 +00:00
Dave Page
ef6c9fbd6d Setup dependencies as required on Ubuntu 16.04 and Debian 9 2020-03-13 11:55:03 +00:00
Dave Page
e43f58d11f Ensure file/directory ownership is correct. 2020-03-12 15:35:43 +00:00
Dave Page
a684b48fb3 Add experimental scripts for building Debian/Ubuntu packages.
Code is split into pkg/debian for the Debian/Ubuntu specific parts,
and pkg/linux for generic code that can be used on other distros.

Tested on Debian 10 and Ubuntu 18.04 at present.
2020-03-12 15:24:58 +00:00
Paresh More
520b03cb0a Fixed notarization issue on Catalina for pgAdmin4 binaries
- Revert back binary name pgAdmin 4 to pgAdmin.
 - Added timestamp, force and developer bundle_id option for codesign binaries, app, and dmg file.
2020-02-05 14:00:18 +05:30
Paresh More
93e83dddae Fix copy/paste error. 2020-02-04 15:44:42 +00:00
Paresh More
917d08c61e Fix hard notarisation failures. 2020-02-04 15:21:05 +00:00
Dave Page
23e218f1b5 Ensure Postfix starts in the container, now it runs as non-root by default. Fixes #5076 2020-01-20 10:41:27 +00:00
Dave Page
a887019337 Remove debugging and incorrect comment. 2020-01-03 10:56:55 +00:00
Dave Page
b617a5d89d Remove extra quotes that are doubled. 2020-01-03 10:51:54 +00:00
Dave Page
b0877f63b5 Debugging for the automated build 2020-01-03 10:40:03 +00:00
Dave Page
56af090e54 More quoting fixes. 2020-01-03 10:32:18 +00:00
Dave Page
fa74a42b34 More quoting fixes. 2020-01-03 10:21:05 +00:00
Dave Page
c0595e62ee Fix quoting. 2020-01-03 10:14:13 +00:00
Paresh More
f5afc51879 Ensure all binaries are securely signed and linked with the hardened runtime in the macOS bundle. Fixes #5060
Note that this is untested for automated builds, so may require further tweaks.
2020-01-03 09:56:45 +00:00
Dave Page
01c7636c75 Update copyright notices for 2020. 2020-01-02 14:43:50 +00:00
Levitt Olivier
e29ea15554 Fix an issue where servers.json import fails when running in desktop mode. 2019-12-17 13:15:04 +05:30
Dave Page
619c4e1180 Run pgAdmin in the container as a non-root user (pgadmin, UID: 5050). Fixes #4939. 2019-12-09 11:09:46 +05:30
Dave Page
246a475600 Allow Gunicorn logs in the container to be directed to a file specified through GUNICORN_ACCESS_LOGFILE. Fixes #4944 2019-12-02 20:14:01 -05:00
Dave Page
9bdb5ea5e0 Include PostgreSQL 12 binaries in the container. Fixes #4823 2019-10-11 11:13:06 +01:00
Dave Page
110a51c5b2 Refactor Dockerfile to avoid needing to run supporting scripts (i.e. 'docker build .' will work) and minimise layers. Fixes #4752 2019-09-16 13:48:11 +01:00
Dave Page
b4a754bdc0 Remove copy of file that's now created on the fly. 2019-09-09 13:35:55 -04:00
Dave Page
25f85fe123 Fix PGADMIN_SERVER_JSON_FILE environment variable support in the container. Fixes #4657 2019-08-23 09:53:24 +01:00
Dave Page
c76b30e353 Allow configuration options to be set from the environment in the container distribution. Fixes #4651 2019-08-22 15:24:04 +01:00
Aditya Toshniwal
15556f9f89 Correct the condition to compare version for Windows installer. Regression of last commit. 2019-07-02 20:12:00 +05:30
Aditya Toshniwal
b76e0bea83 Ensure the version comparision should be correct for windows installer. Fixes #4421 2019-07-02 14:58:18 +05:30
Andrew Coleman
d397959f6a Allow the path to /pgadmin4/servers.json to be overridden in the container distribution. Fixes #4400 2019-06-27 10:56:37 -04:00
Dave Page
2fa849dc26 Also need openssl-dev 2019-05-28 18:11:42 -04:00
Dave Page
f340cd044b build-deps doesn't exist any more. 2019-05-28 18:09:06 -04:00
Dave Page
991f667f9f Argh, they are Alpine packages, not Python. 2019-05-28 18:01:56 -04:00
Dave Page
307637b969 Looks like we also need build tools for the cryptography module. 2019-05-28 17:56:54 -04:00
Dave Page
91595593d3 Doc builds now need the cryptography module. 2019-05-28 17:50:11 -04:00
Dave Page
1a192109d6 Ensure we create a DMG file that's compatible with macOS 10.10+ 2019-04-15 12:12:46 +01:00
Dave Page
ded446fe8a Depend on psycopg2-binary in the Python wheel, rather than psycopg2. Fixes #4165 2019-04-11 10:08:44 +01:00
Dave Page
b917246be9 Add missing closing brace. 2019-03-26 10:25:50 -04:00
Dave Page
17464aa034 Don't use old-style variable notation. 2019-03-21 14:02:19 +00:00
Dave Page
48c3763e95 Remove the dependency on importlib for Python <= 2.7. It's not actually required. 2019-03-20 11:58:09 +00:00
Dave Page
bb1e908b54 Apply codestyle checks to all Python code. 2019-03-20 11:17:51 +00:00
Dave Page
b3c3b69a36 Bail out if yarn returns a non-zero code. 2019-03-15 09:20:13 +00:00