diff --git a/crop-progress-tool/staging b/crop-progress-tool/staging index 5cd75c3a5d19257150375c36445558e255d81b23..476c37e4fb687421903bc5b3f37f2fef91cc114d 100644 --- a/crop-progress-tool/staging +++ b/crop-progress-tool/staging @@ -1 +1 @@ -backendServicePipeline "https://gitlab.cs.umd.edu/dawn/crop-progress-tool.git", "staging" \ No newline at end of file +backendServicePipeline "https://gitlab.cs.umd.edu/dawn/crop-progress-tool.git", "staging", "crop-progress" \ No newline at end of file diff --git a/dawn-gateway/staging b/dawn-gateway/staging index e7fadf935b7d9f7ee2541e70ad1d11a83744039d..6f41a6aec2d6969e8708eec88c016990dfa62b9a 100644 --- a/dawn-gateway/staging +++ b/dawn-gateway/staging @@ -1 +1 @@ -backendServicePipeline "https://gitlab.cs.umd.edu/dawn/go-backend/dawn-gateway.git", "staging" \ No newline at end of file +backendServicePipeline "https://gitlab.cs.umd.edu/dawn/go-backend/dawn-gateway.git", "staging", "dawn-gateway" \ No newline at end of file diff --git a/dawn-gdd/staging b/dawn-gdd/staging index 3a6966aa3bccdfcf51142a7c1fddf294f08c1b5e..5a9e46f8bcd6e252e17cbd4731e97135503a23e3 100644 --- a/dawn-gdd/staging +++ b/dawn-gdd/staging @@ -1 +1 @@ -backendServicePipeline "https://gitlab.cs.umd.edu/dawn/go-backend/dawn-gdd.git", "staging" \ No newline at end of file +backendServicePipeline "https://gitlab.cs.umd.edu/dawn/go-backend/dawn-gdd.git", "staging", "dawn-gdd" \ No newline at end of file diff --git a/dawn-manager/dev-env b/dawn-manager/dev-env index b5734e784f04ff84dccbb9877c171f1f85334f99..a48141d0388088a48f9dcf0664aca680ef321d38 100644 --- a/dawn-manager/dev-env +++ b/dawn-manager/dev-env @@ -31,8 +31,8 @@ pipeline { curl -o prometheus.yml --header "PRIVATE-TOKEN: y2FHtFXMC8X13onnEfiE" "https://gitlab.cs.umd.edu/api/v4/projects/16574/repository/files/prometheus.yml/raw?ref=main" curl -o prometheus.rules.yml --header "PRIVATE-TOKEN: y2FHtFXMC8X13onnEfiE" "https://gitlab.cs.umd.edu/api/v4/projects/16574/repository/files/prometheus.rules.yml/raw?ref=main" curl -o rabbitmq.conf --header "PRIVATE-TOKEN: y2FHtFXMC8X13onnEfiE" "https://gitlab.cs.umd.edu/api/v4/projects/16574/repository/files/rabbitmq.conf/raw?ref=main" - dawn-cli deploy ''' + sh "dawn-cli update -s dawn-manager" } } diff --git a/dawn-user/staging b/dawn-user/staging index a5cb502e8c1dcd9335af9cebc0e4b48c472eabf0..f249cf7de5144450efc768074b674ae9921ba44e 100644 --- a/dawn-user/staging +++ b/dawn-user/staging @@ -1 +1 @@ -backendServicePipeline "https://gitlab.cs.umd.edu/dawn/go-backend/dawn-user.git", "staging" \ No newline at end of file +backendServicePipeline "https://gitlab.cs.umd.edu/dawn/go-backend/dawn-user.git", "staging", "dawn-user" \ No newline at end of file diff --git a/vars/backendServicePipeline.groovy b/vars/backendServicePipeline.groovy index a1d19a465b6715ed6ec892b070c0c16d76a81318..5d0b95eac4c115ba95edf2352bfbfac0bcde4279 100644 --- a/vars/backendServicePipeline.groovy +++ b/vars/backendServicePipeline.groovy @@ -1,4 +1,4 @@ -def call(String repo, String branch) { +def call(String repo, String branch, String serviceName) { pipeline { agent any tools { @@ -40,8 +40,8 @@ def call(String repo, String branch) { curl -o prometheus.yml --header "PRIVATE-TOKEN: y2FHtFXMC8X13onnEfiE" "https://gitlab.cs.umd.edu/api/v4/projects/16574/repository/files/prometheus.yml/raw?ref=main" curl -o prometheus.rules.yml --header "PRIVATE-TOKEN: y2FHtFXMC8X13onnEfiE" "https://gitlab.cs.umd.edu/api/v4/projects/16574/repository/files/prometheus.rules.yml/raw?ref=main" curl -o rabbitmq.conf --header "PRIVATE-TOKEN: y2FHtFXMC8X13onnEfiE" "https://gitlab.cs.umd.edu/api/v4/projects/16574/repository/files/rabbitmq.conf/raw?ref=main" - dawn-cli deploy ''' + sh "dawn-cli update -s ${serviceName}" } }