Skip to content

Commit

Permalink
remove keycloak services
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan committed Dec 21, 2021
1 parent f5dd86a commit 214902c
Showing 1 changed file with 8 additions and 41 deletions.
49 changes: 8 additions & 41 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -1974,15 +1974,13 @@ def parallelDeployAcceptancePipeline(ctx):
waitForServices() +
oC10Server() +
owncloudLog() +
fixPermissions() +
fixSharedDataPermissions() +
latestOcisServer() +
parallelAcceptance(environment) +
failEarly(ctx, early_fail),
"services": keycloakDbService() +
oc10DbService() +
"services": oc10DbService() +
ldapService() +
redis() +
keycloakService(),
redis(),
"volumes": [
pipeOC10TemplatesVol,
pipeOC10PreServerVol,
Expand Down Expand Up @@ -2020,8 +2018,11 @@ def parallelAcceptance(env):
"REVA_LDAP_BIND_DN": "cn=admin,dc=owncloud,dc=com",
"SKELETON_DIR": "/var/www/owncloud/apps/testing/data/apiSkeleton",
"PATH_TO_CORE": "/srv/app/testrunner",
"OCIS_REVA_DATA_ROOT": "",
"OCIS_REVA_DATA_ROOT": "/mnt/data/",
"EXPECTED_FAILURES_FILE": "/drone/src/tests/parallelDeployAcceptance/expected-failures-API.md",
"OCIS_SKELETON_STRATEGY": "copy",
"SEND_SCENARIO_LINE_REFERENCES": "true",
"UPLOAD_DELETE_WAIT_TIME": "1",
}
environment.update(env)

Expand Down Expand Up @@ -2205,28 +2206,6 @@ def oC10Server():
},
]

def keycloakService():
return [{
"name": "keycloak",
"image": QUAY_IO_KEYCLOAK,
"pull": "always",
"environment": {
"CLOUD_DOMAIN": OCIS_DOMAIN,
"OC10_OIDC_CLIENT_SECRET": "oc10-oidc-secret",
"LDAP_ADMIN_PASSWORD": "admin",
"DB_VENDOR": "POSTGRES",
"DB_ADDR": "keycloak-db",
"DB_DATABASE": "keycloak",
"DB_USER": "keycloak",
"DB_SCHEMA": "public",
"DB_PASSWORD": "keycloak",
"KEYCLOAK_USER": "admin",
"KEYCLOAK_PASSWORD": "admin",
"PROXY_ADDRESS_FORWARDING": "true",
"KEYCLOAK_IMPORT": "%s/keycloak/owncloud-realm.json" % (PARALLEL_DEPLOY_CONFIG_PATH),
},
}]

def ldapService():
return [{
"name": "openldap",
Expand All @@ -2248,18 +2227,6 @@ def ldapService():
],
}]

def keycloakDbService():
return [{
"name": "keycloak-db",
"image": POSTGRES,
"pull": "always",
"environment": {
"POSTGRES_DB": "keycloak",
"POSTGRES_USER": "keycloak",
"POSTGRES_PASSWORD": "keycloak",
},
}]

def oc10DbService():
return [
{
Expand Down Expand Up @@ -2318,7 +2285,7 @@ def owncloudLog():
"depends_on": ["wait-for-oc10"],
}]

def fixPermissions():
def fixSharedDataPermissions():
return [{
"name": "fix-permissions",
"image": OC_CI_PHP,
Expand Down

0 comments on commit 214902c

Please sign in to comment.