Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-05-17Remove gitlab-server fallback to auth-server and artifacts serverfeistel
Changelog: removed
2021-05-12Log details on failureJaime Martinez
2021-05-11Fail if disk is disabledJaime Martinez
Return disk disabled error Remove useLegacyStorage leftovers Fix run process
2021-05-05Merge branch 'fix/ipv6-tests' into 'master'Jaime Martinez
Fix acceptance tests not running on IPv4-only systems Closes #115 See merge request gitlab-org/gitlab-pages!464
2021-05-04Apply 2 suggestion(s) to 2 file(s)Jaime Martinez
2021-05-04this can be a private functionfeistel
2021-04-30 Remove use-legacy-storageJaime Martinez
Removes use-legacy-storage flag from Pages. The logic will be handled by Omnibus GitLab https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5993. Changelog: removed
2021-04-30Apply 1 suggestion(s) to 1 file(s)Jaime Martinez
2021-04-29Use config package in GitLab clientJaime Martinez
Uses the `internal/config/` client inside the `internal/source/gitlab/` package which makes it easier to extend the configuration. This is an iteration of https://gitlab.com/gitlab-org/gitlab-pages/-/issues/543. Changelog: other
2021-04-23Update acceptance test for TLS1.1 removalfeistel
2021-04-22Fix helper tests using the wrong listenersfeistel
2021-04-22Fix proxy test running for non proxied listenersfeistel
2021-04-22Fix acceptance tests not running on IPv4-only systemsfeistel
2021-04-13Handle chrootPath in http_fsJaime Martinez
2021-04-13Allow serving zip from disk in chrootJaime Martinez
This is a temporary workaround for https://gitlab.com/gitlab-org/gitlab/-/issues/326117#note_546346101 where daemon-inplace-chroot=true fails to serve zip archives when pages_serve_with_zip_file_protocol is enabled To be removed after we roll-out zip architecture completely https://gitlab.com/gitlab-org/gitlab-pages/-/issues/561 Changelog: fixed
2021-03-24Add lock to stubOptionsJaime Martinez
2021-03-23Fix data race in testJaime Martinez
2021-03-23Add retriever config for testsJaime Martinez
Adds default GitLab retriever configuration to acceptance tests, reducing execution time from ~30s to ~21s.
2021-03-16Add limit_listener metrics to acceptance testsIgor Wiedler
2021-03-02Add use-legacy-storage flagJaime Martinez
Adds the flag `use-legacy-storage` which will override the `domain-config-source` flag when enabled and will use disk serving along with configuration source. This is a temporary flag that will allow self-managed instances use legacy storage while migrating to Object Storage and making API-based configuration work. Changelog: added
2021-02-15Merge branch '485-add-more-tests-to-serve-from-file' into 'master'Vladimir Shushlin
Add extra tests for serving zip archives from disk Closes #485 See merge request gitlab-org/gitlab-pages!430
2021-02-15fix(auth): make authentication scope for Pages configurableErcan Ucan
This MR makes required authentication permission scope for Pages configurable. By default, Pages will use `api` scope to authenticate with Pages Application registered on GitLab. With this MR, the scope is configurable and can be set to `read_api` by providing the `auth-scope` variable in the arguments or in the `gitlab-pages.conf` /label ~security Changelog: added
2021-02-15Add test for path not allowedJaime Martinez
2021-02-15Add extra tests for serving zip archives from diskJaime Martinez
2021-02-01Merge branch '535-handle-unauthorized-err' into 'master'Vladimir Shushlin
Handle unauthorized error and fallback to disk source Closes #535 See merge request gitlab-org/gitlab-pages!424
2021-02-01Enable IPv6 testsJaime Martinez
2021-01-29Update notes and testJaime Martinez
2021-01-29Move error handling to gitlab resolverJaime Martinez
remove some unrelated test changes
2021-01-29Handle unauthorized error and fallback to disk sourceJaime Martinez
2021-01-28Get headers in Go 1.13Jaime Martinez
2021-01-28Add skip to testJaime Martinez
2021-01-28Add acceptance testJaime Martinez
2021-01-26Add more test cases for resolver errorsJaime Martinez
Fix imports and enable test
2021-01-26Refactor gitlab source stubJaime Martinez
2021-01-20Use proxyListener in flaky testJaime Martinez
2021-01-12Merge branch 'proxyv2-test-sleep' into 'master'Vladimir Shushlin
Add a 1ms sleep to TestProxyv2, to mitigate flaky race See merge request gitlab-org/gitlab-pages!412
2021-01-11Merge branch 'fix-acceptance-test-ports' into 'master'Grzegorz Bizon
Disable IPv6 listeners in acceptance tests Closes #524 See merge request gitlab-org/gitlab-pages!408
2021-01-08Add a 1ms sleep to TestProxyv2, to mitigate flaky raceproxyv2-test-sleepIgor Wiedler
2021-01-07Disable IPv6 listeners for acceptance testsJaime Martinez
2021-01-05Merge branch 'master' into security-masterVladimir Shushlin
2021-01-04Fix for query strings being strippedRobert May
This ensures the query string is persisted when redirecting to add a trailing slash.
2020-12-22Reject all unknown http methodsVladimir Shushlin
2020-12-17Encrypt and sign OAuth codeJaime Martinez
Add AES GCM encryption/decryption to auth Add signing key to Auth Abstract key generation and Auth init to their own funcs. Cleanup and DRY unit tests. Use same code parameter in auth redirect Cleanup auth and add tests for enc/dec oauth code Add acceptance test for fix Apply suggestion from review Add missing test and apply feedback Fix unit test Simplify acceptance test
2020-12-07Update source acceptance test with autoJaime Martinez
2020-11-30Move zip flags to configJaime Martinez
2020-11-18Support for HTTPS over PROXYv2 protocolIgor Wiedler
2020-11-12Split accepntance_test into multiple filesJaime Martinez
2020-11-12Move all acceptance tests into the test/acceptance/ dirJaime Martinez