File tree Expand file tree Collapse file tree
services/app/apps/codebattle/lib/codebattle/code_check Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ kb-get-services:
1818helm-init : helm-install-app
1919
2020helm-upgrade-app :
21- helm upgrade --install app $(PWD ) /app-chart
21+ helm upgrade --install app $(PWD ) /app-chart -f $( PWD ) /envs/common/values.yaml -f $( PWD ) /envs/simple/values.yaml
2222
2323helm-rollback-app :
2424 helm rollback app 108
Original file line number Diff line number Diff line change @@ -78,6 +78,4 @@ defmodule Codebattle.CodeCheck.Checker do
7878 Application . fetch_env! ( :codebattle , :checker_executor )
7979 end
8080 end
81-
82- # defp get_executor, do: Codebattle.CodeCheck.Executor.RemoteZig
8381end
Original file line number Diff line number Diff line change @@ -96,10 +96,9 @@ defmodule Codebattle.CodeCheck.Executor.RemoteZig do
9696 to_string ( :rand . uniform ( 10_000_000 ) )
9797 end
9898
99- defp runner_url ( _lang ) , do: "http://localhost:4040/run"
100-
101- # defp runner_url(lang) do
102- # namespace = Application.get_env(:codebattle, :k8s_namespace, "default")
103- # "http://runner-#{lang}.#{namespace}.svc/run"
104- # end
99+ defp runner_url ( lang ) do
100+ namespace = Application . get_env ( :codebattle , :k8s_namespace , "default" )
101+ "http://runner-#{ lang } .#{ namespace } .svc/run"
102+ # "http://localhost:4040/run"
103+ end
105104end
You can’t perform that action at this time.
0 commit comments