Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rhafer committed Apr 26, 2022
1 parent 0933f2c commit 4465fb8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -1637,12 +1637,12 @@ def ocisServerWithAccounts(storage, accounts_hash_difficulty = 4, volumes = [],
"LDAP_INSECURE": "true",
"LDAP_BIND_DN": "cn=admin,dc=ocis,dc=test",
"LDAP_BIND_PASSWORD": "admin",
"LDAP_USER_BASE_DN": "ou=users,dc=ocis,dc=test",
"LDAP_USER_BASE_DN": "dc=ocis,dc=test",
"LDAP_USER_SCHEMA_ID": "ownclouduuid",
"LDAP_USER_SCHEMA_MAIL": "mail",
"LDAP_USER_SCHEMA_USERNAME": "cn",
"LDAP_USER_OBJECTCLASS": "posixAccount",
"LDAP_GROUP_BASE_DN": "ou=groups,dc=ocis,dc=test",
"LDAP_GROUP_BASE_DN": "dc=ocis,dc=test",
"LDAP_GROUP_SCHEMA_ID": "cn",
"LDAP_GROUP_SCHEMA_MAIL": "mail",
"LDAP_GROUP_SCHEMA_GROUPNAME": "cn",
Expand All @@ -1660,8 +1660,10 @@ def ocisServerWithAccounts(storage, accounts_hash_difficulty = 4, volumes = [],
"IDP_INSECURE": "true",
"OCIS_LOG_LEVEL": "error",
"OCIS_URL": "https://ocis-server:9200",
"ACCOUNTS_DEMO_USERS_AND_GROUPS": True,
"STORAGE_HOME_DRIVER": "%s" % (storage),
"STORAGE_USERS_DRIVER": "%s" % (storage),
"WEB_UI_CONFIG": "/drone/src/tests/config/drone/ocis-config.json",
}

# Pass in "default" accounts_hash_difficulty to not set this environment variable.
Expand All @@ -1685,11 +1687,11 @@ def ocisServerWithAccounts(storage, accounts_hash_difficulty = 4, volumes = [],
},
{
"name": "wait-for-ocis-server",
"image": OC_CI_WAIT_FOR,
"image": OC_CI_ALPINE,
"commands": [
"wait-for -it ocis-server:9200 -t 300",
"curl -k -u admin:admin --fail --retry-connrefused --retry 10 --retry-all-errors 'https://ocis-server:9200/graph/v1.0/users/ddc2004c-0977-11eb-9d3f-a793888cd0f8'",
],
"depends_on": [],
"depends_on": depends_on,
},
]

Expand Down

0 comments on commit 4465fb8

Please sign in to comment.