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 3039ec3
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 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,7 +307,7 @@ def dockerRelease(ctx, arch):
},
}

def ocisServer(volumes = [stepVolumeOC10Tests, ocisConfigVolume]):
def ocisServer(volumes = [stepVolumeOC10Tests, stepVolumeOcisConfig]):
environment = {
"OCIS_INSECURE": "true",
"OCIS_LOG_LEVEL": "error",
Expand Down Expand Up @@ -330,7 +336,8 @@ def ocisServer(volumes = [stepVolumeOC10Tests, ocisConfigVolume]):
"environment": environment,
"volumes": volumes,
"commands": [
"ocis server",
"cat /etc/ocis/proxy.json",
"ocis proxy server",
],
},
{
Expand Down Expand Up @@ -413,6 +420,7 @@ def UITests(ctx):
"volumes": [
pipelineVolumeGo,
pipelineVolumeOC10Tests,
pipelineVolumeOcisConfig,
{
"name": "uploads",
"temp": {},
Expand Down

0 comments on commit 3039ec3

Please sign in to comment.