1
- pages_external_url 'http://127.0.0.1:5051'
2
- pages_nginx [ 'redirect_http_to_https' ] = false
3
- pages_nginx [ 'ssl_certificate' ] = "/etc/gitlab/ssl/gitlab-registry.pem"
4
- pages_nginx [ 'ssl_certificate_key' ] = "/etc/gitlab/ssl/gitlab-registry.key"
5
-
6
- registry_external_url 'http://127.0.0.1:5050'
7
- registry [ 'enable' ] = true
8
- registry_nginx [ 'ssl_certificate' ] = "/etc/gitlab/ssl/gitlab-registry.pem"
9
- registry_nginx [ 'ssl_certificate_key' ] = "/etc/gitlab/ssl/gitlab-registry.key"
10
-
11
- gitlab_rails [ 'initial_shared_runners_registration_token' ] = "ACCTEST1234567890123_RUNNER_REG_TOKEN"
12
-
13
- # This setting is required to disable caching for application settings
14
- # which is required to test different scenarios in the acceptance tests.
15
- # see https://gitlab.com/gitlab-org/gitlab/-/issues/364812#note_986366898
16
- # see https://github.com/gitlabhq/terraform-provider-gitlab/pull/1128
17
- gitlab_rails [ 'application_settings_cache_seconds' ] = 0
18
- gitlab_rails [ 'env' ] = {
19
- 'IN_MEMORY_APPLICATION_SETTINGS' => 'false'
20
- }
1
+ pages_external_url 'http://127.0.0.1:5051'
2
+ pages_nginx [ 'redirect_http_to_https' ] = false
3
+ pages_nginx [ 'ssl_certificate' ] = "/etc/gitlab/ssl/gitlab-registry.pem"
4
+ pages_nginx [ 'ssl_certificate_key' ] = "/etc/gitlab/ssl/gitlab-registry.key"
5
+
6
+ registry_external_url 'http://127.0.0.1:5050'
7
+ registry [ 'enable' ] = true
8
+ registry_nginx [ 'ssl_certificate' ] = "/etc/gitlab/ssl/gitlab-registry.pem"
9
+ registry_nginx [ 'ssl_certificate_key' ] = "/etc/gitlab/ssl/gitlab-registry.key"
10
+
11
+ gitlab_rails [ 'initial_shared_runners_registration_token' ] = "ACCTEST1234567890123_RUNNER_REG_TOKEN"
12
+
13
+ # This setting is required to disable caching for application settings
14
+ # which is required to test different scenarios in the acceptance tests.
15
+ # see https://gitlab.com/gitlab-org/gitlab/-/issues/364812#note_986366898
16
+ # see https://github.com/gitlabhq/terraform-provider-gitlab/pull/1128
17
+ gitlab_rails [ 'application_settings_cache_seconds' ] = 0
18
+ gitlab_rails [ 'env' ] = {
19
+ 'IN_MEMORY_APPLICATION_SETTINGS' => 'false'
20
+ }
21
+
22
+ # Enable SAML authentication for GitLab (required for SAML group links).
23
+ # see https://docs.gitlab.com/ee/integration/saml.html
24
+ gitlab_rails [ 'omniauth_allow_single_sign_on' ] = [ 'saml' ]
25
+ gitlab_rails [ 'omniauth_block_auto_created_users' ] = false
26
+ gitlab_rails [ 'omniauth_providers' ] = [
27
+ {
28
+ name : "saml" ,
29
+ label : "Dummy Test Provider" ,
30
+ args : {
31
+ assertion_consumer_service_url : "https://gitlab.example.com/users/auth/saml/callback" ,
32
+ idp_cert_fingerprint : "aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa" ,
33
+ idp_sso_target_url : "https://saml.provider.example.com/sso/saml" ,
34
+ issuer : "https://gitlab.example.com" ,
35
+ name_identifier_format : "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
36
+ }
37
+ }
38
+ ]
0 commit comments