Commit graph

148 commits

Author SHA1 Message Date
Andrei Belov
e4f7d1a29c Packages: added Fedora 33 support. 2021-01-26 13:06:30 +03:00
Valentin Bartenev
6e28263d65 Bumping year in copyright notice. 2021-01-18 16:48:47 +03:00
Andrei Belov
3abca42caf Packages: fixed building for Ubuntu 16.04 "xenial".
Changes introduced in a27532e3a17b effectively broke building of the unit
package due to missed dh_installsystemd script in older debhelper 9.x.

Once Ubuntu 16.04 reach EOL, the following actions should be made:
 - this commit should be reverted;
 - minimal debhelper version should be increased to 11.
2020-12-28 12:51:30 +03:00
Andrei Belov
c981ac6558 Packages: fixed an ability to override package version.
This was broken since 00d8049418cf.
2020-12-24 16:17:27 +03:00
Andrei Belov
c99b175988 Packages: set the "--user" value to "nobody" for build-stage tests.
This allows tests to pass well in cases when the default user specified in
the ./configure parameters does not exist in the building environment.
2020-12-23 18:31:18 +03:00
Konstantin Pavlov
65295c8141 Packages: check and create unit user on each post-script invocation. 2020-12-22 12:57:24 +03:00
Andrei Belov
53d847615b Packages: run non-privileged processes under "unit" user. 2020-12-17 14:30:18 +03:00
Konstantin Pavlov
a5fa9673d9 Packages: added pcre2 to build depends.
While at it, propagate unit build depends to modules.
2020-11-24 14:27:06 +03:00
Konstantin Pavlov
9c09bc1772 Packages: dropped support for non-systemd distributions. 2020-11-24 13:25:09 +03:00
Andrei Belov
c33b10a41f Packages: eliminated debuild warning about debian/rules. 2020-12-16 09:56:04 +03:00
Andrei Belov
0c1abda391 Packages: the NOTICE file added to debian binaries.
This resolves the following lintian error:
https://lintian.debian.org/tags/missing-notice-file-for-apache-license.html

While here, changed upstream changelog name to conform with the policy:
https://lintian.debian.org/tags/wrong-name-for-upstream-changelog.html
2020-12-16 09:56:01 +03:00
Andrei Belov
d15acabfc5 Packages: introduced PYTEST_ARGS env variable for test targets.
This is useful for running particular tests, e.g.:
PYTEST_ARGS='test/test_respawn.py::TestRespawn::test_respawn_router' make test
2020-12-16 09:55:59 +03:00
Konstantin Pavlov
783cdc2a3d Docker: creating tags and pushing to AWS ECR as well. 2020-12-02 17:33:09 +03:00
Valentin Bartenev
9e85732e9a Generated Dockerfiles for Unit 1.21.0. 2020-11-19 21:12:30 +03:00
Andrei Belov
b2771702fb Packages: added Ubuntu 20.10 "groovy" support. 2020-11-09 16:12:59 +03:00
Valentin Bartenev
03d965b49c Generated Dockerfiles for Unit 1.20.0. 2020-10-08 18:32:48 +03:00
Konstantin Pavlov
bebc3746ca Regenerated dockerfiles. 2020-09-22 15:55:28 +03:00
Konstantin Pavlov
5a8adce8c2 Ensure docker images are using latest versions of base OS packages. 2020-09-22 15:55:28 +03:00
Konstantin Pavlov
e0f66cbba0 Added jsc11 docker image. 2020-09-22 15:55:28 +03:00
Andrei Zeliankou
d5e9159340 Tests: migrated to the pytest. 2020-09-16 21:31:15 +01:00
Valentin Bartenev
ba445d31f1 Generated Dockerfiles for Unit 1.19.0. 2020-08-13 19:22:41 +03:00
Konstantin Pavlov
55bac9153b Docker: run entrypoint scripts for unitd-debug as well. 2020-07-13 15:06:26 +03:00
Andrei Belov
22c917bead Packages: added Fedora 32 support. 2020-06-16 15:02:29 +03:00
Tiago Natel de Moura
d3ca5fb47a Packages: fixed java configure script.
Now the configure script appends /server to --lib-path argument.
2020-05-28 17:04:00 +01:00
Valentin Bartenev
ebf86b34d1 Generated Dockerfiles for Unit 1.18.0. 2020-05-28 17:34:06 +03:00
Andrei Belov
af9392af1f Packages: added Ubuntu 20.04 "focal" support. 2020-04-23 19:55:19 +03:00
Valentin Bartenev
4d62989f5c Generated Dockerfiles for Unit 1.17.0. 2020-04-16 17:49:09 +03:00
Konstantin Pavlov
bac93637ed Fixed filepath in the image checksum file. 2020-03-19 13:16:37 +03:00
Konstantin Pavlov
3b94102f20 Added checksum generation to make dist target.
While at it, clean up dist artifacts on make clean.
2020-03-13 17:42:08 +03:00
Konstantin Pavlov
7181a661c5 Added a target to export docker images as tarballs 2020-03-13 17:35:47 +03:00
Valentin Bartenev
8f397c8ae5 Generated Dockerfiles for Unit 1.16.0. 2020-03-12 18:13:08 +03:00
Max Romanov
5296be0b82 Using disk file to store large request body.
This closes #386 on GitHub.
2020-03-12 17:54:29 +03:00
Valentin Bartenev
e6bb4c5493 Generated Dockerfiles for Unit 1.15.0. 2020-02-06 17:33:44 +03:00
Max Romanov
a58ca623cd Packages: added curl dependency to fetch Java archives. 2020-01-28 17:00:28 +03:00
Valentin Bartenev
d2eac78c57 Updated copyright notice. 2020-01-27 16:52:45 +03:00
Valentin Bartenev
be8589d925 Generated Dockerfiles for Unit 1.14.0. 2019-12-26 17:03:21 +03:00
Max Romanov
693a458b4e Go: changing import name for "unit.nginx.org/go".
This patch includes packaging changes - update unit-go installation
directory.
2019-12-25 20:00:32 +03:00
Max Romanov
f5a2984acf Go: moving source files to the root of the project.
This patch includes packaging changes related to files move.
2019-12-24 17:59:52 +03:00
Max Romanov
3d712a7078 Packages: making unit-go architecture independent.
To support Go modules, the unit-go module should be platform independent.
All platform-dependent logic is moved to libunit, so the unit-dev package
should be installed before building unit-go.
2019-12-24 17:59:44 +03:00
Andrei Belov
68a2292372 Packages: added Python 3 support on Amazon Linux 2 (LTS). 2019-12-10 19:35:12 +03:00
Andrei Belov
a3e5d09501 Packages: added Python 3 support on RHEL/CentOS 7. 2019-12-02 15:09:53 +03:00
Konstantin Pavlov
9a7881d131 Regenerated Dockerfiles. 2019-11-20 18:24:50 +03:00
Konstantin Pavlov
c87111cbb2 Moved docker images to Debian 10 "buster".
This changes the language versions we provide:
 - python 3.5 -> python 3.7
 - go 1.7/1.8 -> go 1.11
 - perl 5.24 -> perl 5.28
 - ruby 2.3 -> ruby 2.5
 - php 7.0 -> php 7.3
2019-11-20 18:24:46 +03:00
Andrei Belov
5758a06374 Packages: added Ubuntu 19.10 "eoan" support. 2019-11-21 14:13:24 +03:00
Andrei Belov
bc14605fd6 Packages: added Python 3.8 on Ubuntu 18.04, 19.04. 2019-11-19 12:43:51 +03:00
Valentin Bartenev
2241847efb Generated Dockerfiles for Unit 1.13.0. 2019-11-14 19:24:14 +03:00
Valentin Bartenev
946cbd1f10 Generated Dockerfiles for Unit 1.12.0. 2019-10-03 17:08:32 +03:00
Konstantin Pavlov
f5e86ad8fc Regenerated Dockerfiles. 2019-10-03 15:08:50 +03:00
Konstantin Pavlov
c6df631bcc Docker: added an entrypoint to make configuration easier.
Docker images now accept shell scripts, json files and certificate chain
bundles to provide configuration on a container start by placing them
into /docker-entrypoint.d/ directory.
2019-10-03 15:08:44 +03:00
Konstantin Pavlov
5c6b01d76c Packaging: debian: drop a surplus line from init script 2019-09-25 16:19:31 +03:00