Skip to content
Snippets Groups Projects
Commit 42c7b0d5 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

fix cmake

parent d331706c
No related branches found
No related tags found
No related merge requests found
...@@ -6,13 +6,6 @@ job "asapo-perfmetrics" { ...@@ -6,13 +6,6 @@ job "asapo-perfmetrics" {
weight = 100 weight = 100
} }
# update {
# max_parallel = 1
# min_healthy_time = "10s"
# healthy_deadline = "3m"
# auto_revert = false
# }
group "perfmetrics" { group "perfmetrics" {
count = "%{ if perf_monitor }1%{ else }0%{ endif }" count = "%{ if perf_monitor }1%{ else }0%{ endif }"
restart { restart {
...@@ -71,6 +64,7 @@ job "asapo-perfmetrics" { ...@@ -71,6 +64,7 @@ job "asapo-perfmetrics" {
} #influxdb } #influxdb
task "grafana" { task "grafana" {
driver = "docker" driver = "docker"
user = "${asapo_user}" user = "${asapo_user}"
......
...@@ -6,7 +6,7 @@ ELSE() ...@@ -6,7 +6,7 @@ ELSE()
set (exe_name "${TARGET_NAME}") set (exe_name "${TARGET_NAME}")
ENDIF() ENDIF()
configure_file(docker/Dockerfile . COPYONLY) configure_file(docker/Dockerfile docker/Dockerfile COPYONLY)
add_custom_target(${TARGET_NAME} ALL add_custom_target(${TARGET_NAME} ALL
COMMAND go build ${GO_OPTS} -o ${CMAKE_CURRENT_BINARY_DIR}/${exe_name} main/main.go COMMAND go build ${GO_OPTS} -o ${CMAKE_CURRENT_BINARY_DIR}/${exe_name} main/main.go
......
FROM envoyproxy/envoy:v1.17.0 FROM envoyproxy/envoy:v1.17.0
COPY ./envoy.yaml /etc/envoy/envoy.yaml COPY ./envoy.yaml /etc/envoy/envoy.yaml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment