diff options
author | Krasimir Angelov <kangelov@gitlab.com> | 2019-12-12 10:34:13 +0300 |
---|---|---|
committer | Krasimir Angelov <kangelov@gitlab.com> | 2020-01-10 05:38:30 +0300 |
commit | e0ba15e77cfe922ece762f487269cb4e626ca290 (patch) | |
tree | 75a135ef0f813b21c2a3490a9ee766725c117ce2 /go.mod | |
parent | 86d619069f226d40d3d0ba97a243db384f133d5f (diff) |
Watch a file to configure which domains should use new gitlab source
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.
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -29,4 +29,5 @@ require ( golang.org/x/sys v0.0.0-20190910064555-bbd175535a8b golang.org/x/tools v0.0.0-20191010201905-e5ffc44a6fee gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect + gopkg.in/yaml.v2 v2.2.2 ) |