Commit Graph

172 Commits

Author SHA1 Message Date
Andrei Belov
b6b15c552d Packages: fixed dependency checks on multi-arch Debian/Ubuntu. 2021-11-09 12:19:54 +03:00
Andrei Belov
7503cc96df Packages: removed support for EOL'ed Debian/Ubuntu distros.
While here, default debhelper compat level bumped to 11 (this is the
version installed out of the box on Ubuntu 18.04 "bionic" which is
the oldest one from supported distros).
2021-10-21 15:28:58 +03:00
Andrei Belov
0900edb10d Packages: added Ubuntu 21.10 "impish" support. 2021-10-21 13:23:25 +03:00
Andrei Belov
314ca5c8c9 Packages: fixed dependency tracking for Go and Java modules on RHEL7. 2021-10-19 12:20:36 +03:00
Konstantin Pavlov
2fc64c65bc Regenerated Dockerfiles. 2021-09-21 14:03:54 +03:00
Konstantin Pavlov
d51b3bbfeb Docker: bumped versions.
Minimal image now uses Debian 11 "Bullseye" as a base.

Language versions are bumped to:
- Go 1.17
- Node 16
- Perl 5.34
- Ruby 3.0
2021-09-21 14:03:23 +03:00
Valentin Bartenev
66e986fc19 Generated Dockerfiles for Unit 1.25.0. 2021-08-19 17:52:54 +03:00
Andrei Belov
3bd60e317c Packages: added Debian 11 "bullseye" support. 2021-08-17 16:45:51 +03:00
Valentin Bartenev
25d8e102b0 Generated Dockerfiles for Unit 1.24.0. 2021-05-27 16:07:15 +03:00
Andrei Belov
e00ad18d80 Packages: added Ubuntu 21.04 "hirsute" support. 2021-05-27 13:12:52 +03:00
Andrei Belov
f90754f84a Packages: switched to common address for package maintainers. 2021-04-21 16:07:26 +03:00
Konstantin Pavlov
d5889d7daa Packages: fixed Amazon Linux 2 module packages to use openssl 1.1 2021-04-12 18:39:45 +03:00
Konstantin Pavlov
30922c5741 Packages: moved Amazon Linux 2 packages to use openssl 1.1 2021-04-08 10:55:30 +03:00
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