Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-26 | refactor: remove internal/source/domains package | feistel | |
2021-08-20 | test: add back domains test | feistel | |
this was actually a valid test, we just need to make sure the test case related to disk source are pruned and gitlab source config is being tested | |||
2021-08-20 | test: remove domain-config-source=gitlab from test and remove tests using ↵ | feistel | |
disk source | |||
2021-07-08 | Update test mocks | Jaime Martinez | |
2021-05-20 | Remove serverless code from Pages | feistel | |
2021-04-29 | Use config package in GitLab client | Jaime 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-03-04 | Add GitLab cache config flags | Jaime Martinez | |
Add new configuration flags for GitLab API cache - `gitlab-cache-expiry` - `gitlab-cache-refresh` - `gitlab-cache-cleanup` - `gitlab-retrieval-timeout` - `gitlab-retrieval-interval` - `gitlab-retrieval-retries` Changelog: added | |||
2021-03-04 | Add Cache to config pkg | Jaime Martinez | |
Move `type cacheConfig` to `type Cache` inside `internal/config/` package. Related to https://gitlab.com/gitlab-org/gitlab-pages/-/issues/520 Changelog: changed | |||
2020-12-07 | Handle auto domain-config-source gracefully | Jaime Martinez | |
2020-08-28 | Revert "Start reading when disk is initialized" | Jaime Martinez | |
This reverts commit 621dcafd3d1f75b846e67a77ed17dc0d704f10e3. | |||
2020-08-27 | Start reading when disk is initialized | Jaime Martinez | |
Removes need to call `Read` when the app is initialized and begins reading from disk when `disk.New` is called. | |||
2020-08-27 | Use source for IsReady | Jaime Martinez | |
2020-08-07 | Revert "Merge branch 'revert-a3365a7b' into 'master'"revert-185e0a0 | Jaime Martinez | |
This reverts commit 185e0a0e5c621f350335495291c535e5c05df89b, reversing changes made to a3365a7b1b41b3dee206cbcf27e915ee45d556a5. | |||
2020-08-06 | Revert "Merge branch 'revert-b3bf3ac4' into 'master'"revert-84c3866 | Jaime Martinez | |
This reverts commit 84c3866ba69e2ca0ca7d512b09ae66458f5c1c5c, reversing changes made to 185e0a0e5c621f350335495291c535e5c05df89b. | |||
2020-08-04 | Revert "Merge branch 'add-polling-to-domain-package' into 'master'"revert-b3bf3ac4 | Vladimir Shushlin | |
This reverts merge request !306 | |||
2020-08-04 | Revert "Merge branch 'use-domain-config-source-disk' into 'master'"revert-a3365a7b | Vladimir Shushlin | |
This reverts merge request !305 | |||
2020-08-04 | Make initialization of gitlab client more explicit | Jaime Martinez | |
Add more test cases for domains. Support sourceAuto and use IsReady for gitlab source. | |||
2020-08-04 | Set configSource to the Domains struct | Jaime Martinez | |
2020-08-04 | Set disk source | Jaime Martinez | |
2020-08-04 | Remove domains lockadd-polling-to-domain-package | Jaime Martinez | |
2020-08-04 | Use IsReady instead | Jaime Martinez | |
2020-08-04 | Add polling to the domains package | Jaime Martinez | |
Fix linter | |||
2020-06-01 | Enable the remaining linters | Jaime Martinez | |
- ineffassign - misspell - structcheck - typecheck - unconvert - unused - varcheck - whitespace | |||
2020-05-19 | Rename flag to domain-config-source | Jaime Martinez | |
2020-05-18 | Add domain-source config flag | Jaime Martinez | |
This is an incremental step for adding `-domain-source` as described in https://gitlab.com/gitlab-org/gitlab/-/issues/217912. We are only adding the flag here but it's not doing anything at the moment. Add TODO for implementation | |||
2020-04-30 | change back to internal-gitlab-server as per @@vshushlin | Igor Wiedler | |
2020-04-30 | rename GitlabServerURL to GitlabAPIServerURL (as per @@krasio) | Igor Wiedler | |
2020-02-18 | Enable serverless domains source | Grzegorz Bizon | |
2020-01-28 | Implement support for incremental rollout | Krasimir Angelov | |
This adds support for specifying rollout strategy via the following attributes: * percentage - integer value that specifies how many % of requests should be enabled * stickiness - if not specified guarantees stickiness for the provided actor. If set to "random" no stickiness is guaranteed. | |||
2020-01-16 | rename JWT token expiry method to match interface | Jaime Martinez | |
2020-01-16 | add connection timeout and jwt expiry to mock | Jaime Martinez | |
2020-01-10 | Watch a file to configure which domains should use new gitlab source | Krasimir Angelov | |
Instead of passing domains once in an ENV variable we now watcn a config file (specified with `GITLAB_SOURCE_CONFIG_FILE`, defaults to `.gitlab-source-config.yml` and update ednabled/broken domains when it's content change. This way we can control this without having to restart Pages. Related to https://gitlab.com/gitlab-org/gitlab-pages/issues/266. | |||
2019-12-04 | Check presence of GitLab API secret when building a domains source | Grzegorz Bizon | |
2019-12-03 | Avoid using `testify/assert` in favor of `require` | Grzegorz Bizon | |
2019-12-02 | Test domains source not fully configured | Grzegorz Bizon | |
2019-11-28 | Use ENV variables to obtain a list of test new source domains | Grzegorz Bizon | |
2019-11-26 | Make new gitlab domains source more testable | Grzegorz Bizon | |
2019-11-24 | Do not pass mock Mutex by value in domain source test | Grzegorz Bizon | |
2019-11-24 | Add an acceptance test for broken domains source | Grzegorz Bizon | |
2019-11-24 | Respond with 502 if a domain can not be retrieved from a source | Grzegorz Bizon | |
2019-11-23 | Implement a transitional domains source | Grzegorz Bizon | |