uffizzi_core 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/uffizzi_core/deployment_service.rb +2 -1
- data/lib/uffizzi_core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82e27d3cf9fd45288c139b3e2acba90d3470341063d68602099e64ecf235f410
|
4
|
+
data.tar.gz: ffae8ad407e52495acabd34f99ae6fddf75c2b0fcab476fbfeffd10b7b6180e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65407a68888ca6929c857efe4f60bede294f3dea0e259c0587cfda025bcd538041c6dd1485e7eff33a9bff558d667ade81f329aa5aeaf8a186ef81069b9aeadf
|
7
|
+
data.tar.gz: 6cbb10ce36a6c3a01e048b24b3ad1317e4978afa9364e7d640656aad79629b0908decc17dcd8973870386cdd72d97507fda996d23af94d1b597f1f8df26be5ab
|
@@ -100,7 +100,8 @@ class UffizziCore::DeploymentService
|
|
100
100
|
repo_name, pull_request_number = pull_request_data(deployment)
|
101
101
|
raise UffizziCore::Deployment::LabelsNotFoundError if repo_name.nil? || pull_request_number.nil?
|
102
102
|
|
103
|
-
|
103
|
+
formatted_repo_name = repo_name.split('/').last.downcase
|
104
|
+
subdomain = "pr-#{pull_request_number}-#{name(deployment)}-#{formatted_repo_name}"
|
104
105
|
format_subdomain(subdomain)
|
105
106
|
end
|
106
107
|
|
data/lib/uffizzi_core/version.rb
CHANGED