summary refs log tree commit diff
path: root/nixos/tests/gitlab.nix
Commit message (Collapse)AuthorAge
* nixosTests.gitlab: fix project idsYureka2023-05-31
|
* nixos/tests/gitlab.nix: get rid of `with lib`Anderson Torres2023-05-12
|
* nixos/tests/gitlab.nix: Document running it Robert Hensing2023-05-11
| | | | `nix-build $file` is not possible anymore, so this helps both newcomers and old hands. It's documented in the manual, but that's far away.
* nixosTests.gitlab: Use module system based runnerYaya2023-05-11
|
* Merge branch 'gitlab-pages' of github.com:talyz/nixpkgs into HEADYureka2023-03-10
|\
| * nixos/gitlab: Improve support for GitLab Pagestalyz2023-01-17
| | | | | | | | | | | | - provide options and set defaults for important settings - generate the shared secret - reenable gitlab-pages in test
* | nixos/tests/gitlab: Fix a regression introduced in 15.7.0Yaya2023-01-10
|/ | | | | | | ``` {"message":{"password":["must not contain commonly used combinations of words and letters"]}} ```
* nixos/tests/gitlab: Optimize with EROFSRobert Hensing2022-07-17
|
* nixos/tests/gitlab: Add additional test cases (#167223)Yaya2022-05-02
| | | | | | | | | This commit implements the following additional test cases for gitlab: - Creating regular users - git clone over http and ssh - git push over ssh - Forking projects - Creating and merging Merge Requests - Opening and closing issues.
* nixos/tests/gitlab: Add yayayayaka to maintainersYaya2022-03-31
|
* nixos/tests/gitlab: Check HTTP response codesYaya2022-03-31
| | | | | cURL always exits with `0` even when the HTTP response codes are above 400, leading to false-positive test results.
* nixos/tests/gitlab: Fix project idYaya2022-03-31
| | | | | Gitlab automatically creates a repository, taking away the project id=1.
* nixos/tests/gitlab: Fix Authorization Bearer fieldYaya2022-03-31
| | | | | Due to an incorrect shell escape the Authorization Bearer Token was not present in the cURL request headers.
* gitlab.tests: Improve test performancetalyz2021-10-28
| | | | | | | | | | | | | | | | | | | | | | Massively reduce the time it takes running the test by building a proper root disk image and increasing the virtualized core count to 4. This should make it much easier for the tests to pass even on weaker systems. With my laptop (AMD Ryzen 7 PRO 2700U) as the reference system, I see the following test run times: - No change: Times out after 28 mins - Building a root image: 7 mins, 48 secs - Building a root image and bumping the core count: 7 mins, 17 secs The times include the time it takes to build the image (~1 min, 20 secs).
* gitlab: 14.1.2 -> 14.2.1talyz2021-08-26
|
* nixos/tests/gitlab: disable gitlab-pages testsYureka2021-08-02
|
* nixosTests.*: Don't use the `-q` flag with grep when used with curltalyz2021-06-05
| | | | | | The `-q` flag makes grep close the pipe early, which curl doesn't handle gracefully, but exits with an error like "(23) Failed writing body".
* Revert "nixos/tests/gitlab: add 32 byte secrets"talyz2021-04-27
| | | | | | | This reverts commit d6e0d38b84a00b2ab05324b69e3253d956bb5be7. We need shorter secrets to continue working, since the earlier recommendation was too short and there's no way to rotate the them.
* gitlab.tests: Test backup and restoretalyz2021-03-30
| | | | | | | Test the automatic backup and restore functionality by backing up the instance after running the initial tests, stopping GitLab and removing all state, running the restore rake task, then running the tests again, but without pushing data.
* nixosTests.gitlab: Test pages and mailroom service starttalyz2021-02-26
| | | | | Make sure that the `gitlab-pages` and `gitlab-mailroom` services at least start.
* treewide: simplify pkgs.stdenv.lib -> pkgs.libDominik Xaver Hörl2021-01-10
| | | | | The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
* nixos/tests/gitlab: add 32 byte secretsMilan Pässler2020-11-21
|
* nixosTests.gitlab: port to pythonFlorian Klink2019-11-22
|
* Merge pull request #66274 from talyz/gitlabFlorian Klink2019-09-07
|\ | | | | nixos/gitlab: Add support for secure secrets and more
| * nixos/gitlab: Add support for storing secrets in filestalyz2019-09-06
| | | | | | | | | | | | | | | | | | | | | | | | Add support for storing secrets in files outside the nix store, since files in the nix store are world-readable and secrets therefore can't be stored safely there. The old string options are kept, since they can potentially be handy for testing purposes, but their descriptions now state that they shouldn't be used in production. The manual section is updated to use the file options rather than the string options and the tests now test both.
* | treewide: remove redundant quotesvolth2019-08-26
|/
* nixos/gitlab: improved test to check download of repository archivesJohan Thomsen2019-03-12
|
* gitlab: run test with 4096 bits if on 64bit, else the the maximum for 32bitFlorian Klink2018-12-16
|
* pkgsi686Linux.nixosTests.gitlab: fix 32 bit testsFlorian Klink2018-12-05
| | | | | | | | | | GitLab 11.5.1 dropped the dependency to posix_spawn, which is broken on 32bit. (See https://gitlab.com/gitlab-org/gitlab-ce/issues/53525) The only part missing is decreasing virtualisation.memorySize to something that a 32 bit qemu still executes. The maximum seems to be 2047, and tests passed with that value for me.
* gitlab tests: enable recommendedProxySettings, test redirection works as it ↵Florian Klink2018-11-23
| | | | | | | | | | | | should The nixos test is a bit misleading, as the given nginx configuration would always cause gitlab to redirect to localhost, which is clearly not what you want in a production setup. Instead we now enable services.nginx.recommendedProxySettings, curl against http://gitlab, and assure we get redirected to that same hostname, too.
* gitlab: fix smtp settingRobin Gloster2018-11-14
| | | | fixes #50163
* gitlab: refactor and fix testRobin Gloster2018-11-02
|
* [bot] nixos/*: remove unused arguments in lambdasvolth2018-07-20
|
* nixos/tests/gitlab.nix: Unbreak config, still times outSarah Brofeldt2017-11-06
|
* rename iElectric to domenkozar to match GitHubDomen Kožar2016-05-17
|
* all tests: added meta.maintainers sectionJoachim Schiele2015-07-12
|
* nixos/tests/gitlab.nix: set TimeoutStartSec to 10minDomen Kožar2014-12-17
| | | | | (cherry picked from commit 5bafb9cf0fea00470be4ff9b342849339297eeb4) Signed-off-by: Domen Kožar <domen@dev.si>
* nixos/gitlab: imporove testsJaka Hudoklin2014-12-14
|
* nixos/gitlab: fixesJaka Hudoklin2014-12-12
- fix timezone data not found - fix module, add simple test - allow to set port