Commit Graph

272383 Commits

Author SHA1 Message Date
talyz
ca725e7fcd
nixos/gitlab: Add gitlab.target
To make it easier to start and stop all GitLab services, introduce
`gitlab.target` which wants all services (meaning they will start with
it) and which all services are part of (meaning they will stop with
it).
2021-02-26 19:54:23 +01:00
talyz
f38c601b54
nixosTests.gitlab: Test pages and mailroom service start
Make sure that the `gitlab-pages` and `gitlab-mailroom` services at
least start.
2021-02-26 19:54:11 +01:00
talyz
9d4e76dd46
nixos/gitlab: Make gitlab.service's PreStart into two new services
Make the config initialization script run in gitlab.service's PreStart
section into two new services, `gitlab-config.service` and
`gitlab-db-config.service`. Other services can then depend on the
config scripts they need instead of unnecessarily depending on
`gitlab.service`. This makes the reason for the configured service
dependencies much clearer and should also reduce the restart time of
the `gitlab` service quite a lot, when triggered manually.

Also, set up stricter service dependencies, using `bindsTo`, to ensure
that if a service fails or is stopped, its dependants are also
stopped. For example, if we're using the `postgresql` service and it's
stopped, `gitlab.service` and `gitlab-sidekiq.service`, which depend on
it to function, should also be stopped.
2021-02-26 19:54:05 +01:00
talyz
53d9ec83ff
nixos/gitlab: postgresql: Make PSQL a function, run as superUser
A function is more appropriate for this use. See
http://mywiki.wooledge.org/BashFAQ/050 for reference.

Also, we don't need to run the service as root: since we essentially
run all commands as `services.postgresql.superUser` anyway, the whole
service can just run as that user instead.
2021-02-24 18:32:31 +01:00
talyz
2b3800b9c7
nixos/gitlab: Change default SMTP port, enable postfix only if used
Change the default SMTP port to `25`, to better match the default
address `localhost`. This gets rid of some error outputs in the test,
where it fails to connect to localhost:465.

Also, don't enable postfix by default unless it's actually useful to
us.
2021-02-24 18:32:24 +01:00
talyz
f8ab43ef7b
nixos/gitlab: Switch from unicorn to puma
Puma is the new upstream default server since GitLab 13.
2021-02-24 18:31:30 +01:00
talyz
2ec397ff9f
nixos/gitlab: Clean up the config dir more thoroughly
This removes all the subdirectories in `config` on start.

From one version of GitLab to the next, the files in the `config`
directory changes. Since we're only overwriting the existing files
with ones from the repo, cruft sometimes gets left behind,
occationally causing issues.

Ideally, all configuration put in the `config` directory is declared
by NixOS options and we could just remove the whole directory on
start, but I'm not sure if that's the case. It would also require a
little bit of additional rework and testing. The subdirectories,
however, should seldom contain user configuration and the ones that
frequently does, `initializers`, is already removed on start.
2021-02-24 18:31:24 +01:00
Jörg Thalheim
cc8ad48f0b
Merge pull request #111034 from tmountain/master 2021-02-24 16:54:26 +00:00
Sandro
54a266a752
Merge pull request #99932 from alexbakker/argon2_cffi-20.1.0
argon2_cffi: 19.2.0 -> 20.1.0
2021-02-24 17:53:10 +01:00
Michael Weiss
2c042fe9c8
tdesktop: 2.5.9 -> 2.6.0
This also adds libthai and libdatrie as optional dependencies for gtk3.
2021-02-24 17:49:59 +01:00
adisbladis
9c852b8d2c
Merge pull request #114251 from adisbladis/emacs-telega-stable
emacs.pkgs.telega: Prefer telega from melpa stable
2021-02-24 17:36:54 +01:00
adisbladis
ce30081651
emacs.pkgs.telega: Prefer telega from melpa stable
Telega uploads packages that are incompatible with stable tdlib
releases to melpa and ones that are compatible to melpa stable.

This makes the melpa packages very unreliable and we should prefer the
one from melpa stable.
2021-02-24 17:03:54 +01:00
adisbladis
4370433b49
Merge pull request #114246 from adisbladis/emacs-override-pkgs-lib
emacs-packages: Make pkgs & lib overrideable
2021-02-24 17:03:11 +01:00
Tim Steinbach
c3178c39b0 sbt: Remove updateScript
`nix-shell -p nix-update --command "nix-update sbt"` is more reliable
2021-02-24 09:51:14 -05:00
Tim Steinbach
af2e9e5046 sbt: Replace VM test with installCheckPhase 2021-02-24 09:51:14 -05:00
Tim Steinbach
2962d51b90 argus-clients: Fix build, build client tools 2021-02-24 09:48:58 -05:00
adisbladis
1f18e81fd6
emacs-packages: Remove old FOR CONTRIBUTORS comment
It doesn't apply any more.
2021-02-24 15:46:08 +01:00
adisbladis
2b84cf6e18
emacs-packages: Make pkgs & lib overrideable
With these changes it's possible to override pkgs & lib by:
```
emacs.pkgs.override { pkgs = fooPkgs; }
```
and get them to coherently apply to all emacs packages.
2021-02-24 15:46:08 +01:00
adisbladis
c68c81fb01
emacsPackagesFor: Remove all pkgs inherits from call site 2021-02-24 15:40:58 +01:00
adisbladis
b673be8336
emacsPackagesFor: Internalise trivialBuild/melpaBuild
I want less strangeness that's not obviously overrideable.
2021-02-24 15:40:58 +01:00
adisbladis
9647372202
emacs.pkgs: Get rid of external from all-packages.nix
This was a strange construct that made these attrsets more difficult to work with.

It's simpler to just use pkgs.
2021-02-24 15:40:58 +01:00
Aaron Andersen
fbecdac147
Merge pull request #113487 from aanderse/nixos/galera
nixos/mysql: properly configure mariadb for galera recovery
2021-02-24 08:49:54 -05:00
Mario Rodas
6c5b1e4c7d
Merge pull request #114206 from r-ryantm/auto-update/libavif
libavif: 0.8.4 -> 0.9.0
2021-02-24 07:56:05 -05:00
Mario Rodas
57fd5efe5d
Merge pull request #114207 from r-ryantm/auto-update/log4cplus
log4cplus: 2.0.5 -> 2.0.6
2021-02-24 07:53:49 -05:00
Jörg Thalheim
b4623f664e
Merge pull request #114230 from sternenseemann/psautohint-2.3.0
python3Packages.psautohint: 2.2.0 -> 2.3.0
2021-02-24 12:25:07 +00:00
davidak
71f9d970f8
Merge pull request #113978 from NixOS/sagemaker
pythonPackages.sagemaker: add pandas for analytical feature
2021-02-24 13:15:22 +01:00
Sandro
84220f2c5c
Merge pull request #114232 from SuperSandro2000/ssh-audit
ssh-audit: 2.3.1 -> 2.4.0
2021-02-24 12:57:43 +01:00
Sandro
dc8e6a669c
Merge pull request #113701 from fabaff/twitterapi 2021-02-24 12:16:01 +01:00
Sandro Jäckel
1e471c8b30
ssh-audit: 2.3.1 -> 2.4.0 2021-02-24 12:15:36 +01:00
sternenseemann
7511772486 python3Packages.psautohint: 2.2.0 -> 2.3.0 2021-02-24 12:14:33 +01:00
Jörg Thalheim
9b92b853b4
Merge pull request #114212 from Mic92/gdb-musl
gdb: fix musl build
2021-02-24 11:12:24 +00:00
taku0
b87a3ede29
Merge pull request #112393 from felixscheinost/update_jdk11_darwin
jdk11 (darwin): 11.0.1 -> 11.0.9
2021-02-24 20:08:59 +09:00
Martin Weinelt
2f5343a77e
Merge pull request #114188 from fabaff/jsonpath-ng
python3Packages.jsonpath-ng: init at 1.5.2
2021-02-24 11:27:47 +01:00
Mario Rodas
2d28c95f28
Merge pull request #114220 from 06kellyjac/nerdctl
nerdctl: 0.6.0 -> 0.6.1
2021-02-24 05:21:26 -05:00
Mario Rodas
90bd18552f
Merge pull request #114198 from marsam/update-zeek
zeek: 3.2.3 -> 3.2.4
2021-02-24 05:20:00 -05:00
06kellyjac
95a7975c27 nerdctl: 0.6.0 -> 0.6.1 2021-02-24 09:36:39 +00:00
Fabian Affolter
4d0c9f2c27
Merge pull request #114142 from fabaff/bump-ugrep
ugrep: 3.1.0 -> 3.1.7
2021-02-24 09:27:15 +01:00
Jörg Thalheim
aaae419aac
gdb: fix musl build
fixes #104133

Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2021-02-24 09:05:34 +01:00
Fabian Affolter
aa55da3810 python3Packages.jsonpath-ng: init at 1.5.2 2021-02-24 08:37:52 +01:00
Vincent Laporte
a346c68411 acgtk: 1.5.1 → 1.5.2 2021-02-24 08:13:06 +01:00
Bernardo Meurer
6c36c4ca06
Merge pull request #114200 from lovesegfault/filebot-fix-hash
filebot: fix hash
2021-02-24 06:48:19 +00:00
Sandro
e84bae2c1c
Merge pull request #113718 from Emantor/init/gpuvis
gpuvis: init at 20210220
2021-02-24 07:45:28 +01:00
R. RyanTM
ba02fd22e5 log4cplus: 2.0.5 -> 2.0.6 2021-02-24 06:12:18 +00:00
R. RyanTM
79c7968098 libavif: 0.8.4 -> 0.9.0 2021-02-24 05:58:25 +00:00
Peter Hoeg
71e0a6fb1d neochat: 1.0.1 -> 1.1.1 2021-02-24 12:15:46 +08:00
Peter Hoeg
012a883733 libquotient: 0.6.4 -> 0.6.5 2021-02-24 12:15:46 +08:00
derchris
ebe2a8b77f aws: 1.75 > 2019.06.18 2021-02-23 22:22:09 -05:00
Vladimir Serov
f4eddc2fad hol: 10 -> 14
also cleared broken status; builds on NixOS

Signed-off-by: Vladimir Serov <me@cab404.ru>
2021-02-23 21:31:26 -05:00
Bernardo Meurer
49a73a7d88
filebot: fix hash 2021-02-23 18:15:48 -08:00
Mario Rodas
bd140443c0
Merge pull request #110224 from r-ryantm/auto-update/podiff
podiff: 1.2 -> 1.3
2021-02-23 20:56:11 -05:00