Skip to content

Commit

Permalink
Maintenance: Include new zammad-ldap container for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
fliebe92 committed Aug 31, 2023
1 parent 8983944 commit bcb37f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitlab/ci/__includes__/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,7 @@
ftp:
name: $CI_REGISTRY/docker/zammad-ftp:stable
alias: ci-service-ftp

ldap:
name: $CI_REGISTRY/docker/zammad-ldap:stable
alias: ci-service-ldap
1 change: 1 addition & 0 deletions .gitlab/ci/test/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ rspec:integration:
- !reference [.services, proxy]
- !reference [.services, ftp]
- !reference [.services, mattermost]
- !reference [.services, ldap]
script:
- !reference [.scripts, zammad_db_init]
- bundle exec rspec --exclude-pattern "spec/system/**/*_spec.rb" -t integration -t ~integration_standalone --profile 10
2 changes: 1 addition & 1 deletion spec/factories/ldap_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
trait :with_config do
preferences do
{
'host_url' => ENV['IMPORT_LDAP_ENDPOINT'],
'host_url' => "ldap://#{ENV['IMPORT_LDAP_ENDPOINT']}",
'options' => { 'dc=foo,dc=example,dc=com'=>'dc=foo,dc=example,dc=com' },
'option' => 'dc=foo,dc=example,dc=com',
'base_dn' => 'dc=foo,dc=example,dc=com',
Expand Down

0 comments on commit bcb37f9

Please sign in to comment.