Skip to content

Commit

Permalink
debug proxy config
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek committed Feb 25, 2022
1 parent 362fa5c commit 3752caa
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,21 @@ stepVolumeOC10Tests = \
"path": "/srv/app",
}

ocisConfigVolume = \
pipelineVolumeOC10Tests = \
{
"name": "oC10Tests",
"temp": {},
}

stepVolumeOcisConfig = \
{
"name": "ocisConf",
"path": "/etc/ocis",
}

pipelineVolumeOC10Tests = \
pipelineVolumeOcisConfig = \
{
"name": "oC10Tests",
"name": "ocisConf",
"temp": {},
}

Expand Down Expand Up @@ -301,15 +307,14 @@ def dockerRelease(ctx, arch):
},
}

def ocisServer(volumes = [stepVolumeOC10Tests, ocisConfigVolume]):
def ocisServer(volumes = [stepVolumeOC10Tests, stepVolumeOcisConfig]):
environment = {
"OCIS_INSECURE": "true",
"OCIS_LOG_LEVEL": "error",
"OCIS_URL": "https://ocis-server:9200",
"PROXY_ENABLE_BASIC_AUTH": True,
"SETTINGS_GRPC_ADDR": "0.0.0.0:9191",
"WEB_UI_CONFIG": "/drone/src/ui/tests/config/drone/web-config.json",
"PROXY_LOG_LEVEL": "debug",
}

return [
Expand Down Expand Up @@ -413,6 +418,7 @@ def UITests(ctx):
"volumes": [
pipelineVolumeGo,
pipelineVolumeOC10Tests,
pipelineVolumeOcisConfig,
{
"name": "uploads",
"temp": {},
Expand Down

0 comments on commit 3752caa

Please sign in to comment.