Skip to content

Commit

Permalink
10
Browse files Browse the repository at this point in the history
  • Loading branch information
iQQBot committed Aug 3, 2022
1 parent b1bcf55 commit fa6a57e
Show file tree
Hide file tree
Showing 7 changed files with 6,027 additions and 5,788 deletions.
4 changes: 4 additions & 0 deletions components/ide-metrics/debug.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

set -Eeuo pipefail
source /workspace/gitpod/scripts/ws-deploy.sh deployment ide-metrics false
15 changes: 8 additions & 7 deletions components/ide-proxy/conf/Caddyfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
auto_https off
admin off
servers {
protocol {
allow_h2c
}
}
debug
}

(compression) {
Expand Down Expand Up @@ -63,7 +69,7 @@
}

@static_path {
path /*
path /code/* /image/*
}

handle @static_path {
Expand All @@ -78,12 +84,7 @@
}

handle {
reverse_proxy ide-metrics.{$KUBE_NAMESPACE}.{$KUBE_DOMAIN}:4000 {
import upstream_headers
import upstream_connection

flush_interval -1
}
reverse_proxy h2c://ide-metrics.{$KUBE_NAMESPACE}.{$KUBE_DOMAIN}:3000
}
}

Expand Down
4 changes: 4 additions & 0 deletions components/ide-proxy/debug.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

set -Eeuo pipefail
source /workspace/gitpod/scripts/ws-deploy.sh deployment ide-proxy false
2 changes: 2 additions & 0 deletions install/installer/cmd/render_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ func TestRender(t *testing.T) {
got += item + "\n"
}

t.Log(got)

if *update {
_, err := f.WriteString(got)
require.NoError(t, err)
Expand Down
Loading

0 comments on commit fa6a57e

Please sign in to comment.