Commit Graph

159 Commits

Author SHA1 Message Date
Valentin Bartenev
a5eca0b83f Packages: fixed "dist" target to include man page in the archive. 2021-03-31 18:39:42 +03:00
Andrei Belov
97b4de0d4a Packages: corrected permissions for /var/log/unit in rpm.
Found by rpmlint.
2021-03-26 18:29:26 +03:00
Valentin Bartenev
71d3700951 Generated Dockerfiles for Unit 1.23.0. 2021-03-25 17:15:30 +03:00
Konstantin Pavlov
d62192738f Packages: added man page on rpm-based systems. 2021-03-24 18:45:45 +03:00
Konstantin Pavlov
4a2dcb46dd Packages: added man page on debian-based systems. 2021-03-24 18:45:45 +03:00
Konstantin Pavlov
958bc90caa Regenerated Dockerfiles. 2021-02-05 15:54:51 +03:00
Konstantin Pavlov
6dbb36a537 Docker: added curl run-time dependency.
It is needed for docker-entrypoint scripts to work.
2021-02-05 14:48:52 +03:00
Valentin Bartenev
98228f8ac8 Generated Dockerfiles for Unit 1.22.0. 2021-02-04 18:22:33 +03:00
Konstantin Pavlov
d4d704bc7f Docker: reverted 44154b830401.
Automatic synchronisation is now set up, so manual pushes to AWS ECR are
discouraged.
2021-02-02 16:46:10 +03:00
Konstantin Pavlov
510bdf15be Regenerated Dockerfiles. 2021-02-01 18:05:12 +03:00
Konstantin Pavlov
df8ac184fd Docker: based docker images off official languages ones.
Language versions are bumped to:
 - python 3.9
 - ruby 2.7
 - go 1.15
 - node 15
 - perl 5.32

Removed images:
 - python 2.7 due to EOL
 - full/latest due to incompatibility with the new scheme
2021-01-13 22:33:14 +03:00
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