File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ auth-redirect-uri={{GITLAB_PAGES_ACCESS_REDIRECT_URI}}
4
4
auth-secret={{GITLAB_PAGES_ACCESS_SECRET}}
5
5
gitlab-server={{GITLAB_PAGES_ACCESS_CONTROL_SERVER}}
6
6
artifacts-server={{GITLAB_PAGES_ARTIFACTS_SERVER_URL}}
7
+ internal-gitlab-server=http://localhost:8181
8
+ api-secret-key={{GITLAB_INSTALL_DIR}}/.gitlab_pages_secret
Original file line number Diff line number Diff line change @@ -752,6 +752,12 @@ gitlab_configure_secrets() {
752
752
exec_as_git openssl rand -base64 -out " ${workhorse_secret} " 32
753
753
chmod 600 " ${workhorse_secret} "
754
754
fi
755
+
756
+ local pages_secret=" ${GITLAB_INSTALL_DIR} /.gitlab_pages_secret"
757
+ if [[ ! -f " ${pages_secret} " ]]; then
758
+ exec_as_git openssl rand -base64 -out " ${pages_secret} " 32
759
+ chmod 600 " ${pages_secret} "
760
+ fi
755
761
}
756
762
757
763
gitlab_configure_sidekiq () {
@@ -1786,7 +1792,8 @@ if [[ ${GITLAB_PAGES_ACCESS_CONTROL} == true ]]; then
1786
1792
GITLAB_PAGES_ACCESS_CLIENT_SECRET \
1787
1793
GITLAB_PAGES_ACCESS_REDIRECT_URI \
1788
1794
GITLAB_PAGES_ACCESS_SECRET \
1789
- GITLAB_PAGES_ACCESS_CONTROL_SERVER
1795
+ GITLAB_PAGES_ACCESS_CONTROL_SERVER \
1796
+ GITLAB_INSTALL_DIR
1790
1797
1791
1798
if [[ -n ${GITLAB_PAGES_ARTIFACTS_SERVER_URL} ]]; then
1792
1799
update_template ${GITLAB_PAGES_CONFIG} GITLAB_PAGES_ARTIFACTS_SERVER_URL
You can’t perform that action at this time.
0 commit comments