mortar 0.15.52 → 0.15.53

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 156fcabba01fe2569497f18b3e3d3e5a4c3707d36783bb1206a44f5634ba39dd
4
- data.tar.gz: a60434c1151e93c3f56c4831caa9e6fabab4208e32827b9664de4b8e5e8189ad
3
+ metadata.gz: 235d6c45e6c88896d1a3964d41e5311bd1132a7f81e94928b02e3398616617e1
4
+ data.tar.gz: 15cd72b337bd70ca39e7c7815b036cec4457c4d8bf2398a0330b578f8a1ffd0d
5
5
  SHA512:
6
- metadata.gz: fc901434cb6b8e19fe0b991d674e60f53fdc6ee7427afdf70d08893b54138da8cd05d3384d0118ad3d81259ff097809ada766802f8e2a0a3d52ced067ba4bb93
7
- data.tar.gz: 50fcb461e7c12958c6619d8417e2ab6a1f7aba8164b984c1cbddcf47e73e9152286f10e76de4dc42e6b61d88cda31bb8d5b3908769535fe6407b037dc4d57f8e
6
+ metadata.gz: a7e2d1a18fb24826f561904db1491bc6ffad931af65ab4c1a73c93bf452d21a719a1ddd52f15cfa026282d6cb1af5f2b0d30e83ce7741f8801df492d65e6a142
7
+ data.tar.gz: 54e228499e4fea42ae8ae64503de431f22c9c887a5cb876c5e20acc55fef215e5e1597f65203231754d5c5e89f486276d94a9f421c34cb8d0177e44f0257b0d9
@@ -54,8 +54,10 @@ class Mortar::Command::Luigi < Mortar::Command::Base
54
54
 
55
55
  if options[:branch]
56
56
  git_ref = options[:branch]
57
+ gitlab_uri = "commits/#{git_ref}"
57
58
  else
58
59
  git_ref = sync_code_with_cloud()
60
+ gitlab_uri = "commit/#{git_ref}"
59
61
  end
60
62
 
61
63
  # post job to API
@@ -68,7 +70,7 @@ class Mortar::Command::Luigi < Mortar::Command::Base
68
70
  display("job_id: #{response['job_id']}")
69
71
  display("git_ref: #{git_ref}")
70
72
  display
71
- display("Gitlab CI pipeline status can be viewed at:\n\n https://gitlab.ddbuild.io/DataDog/dd-analytics/commit/#{git_ref}")
73
+ display("Gitlab CI pipeline status can be viewed at:\n\n https://gitlab.ddbuild.io/DataDog/dd-analytics/#{gitlab_uri}")
72
74
  display
73
75
  display("Job status can be viewed on the web at:\n\n #{response['web_job_url']}")
74
76
  display
@@ -56,8 +56,10 @@ class Mortar::Command::Spark < Mortar::Command::Base
56
56
 
57
57
  if options[:branch]
58
58
  git_ref = options[:branch]
59
+ gitlab_uri = "commits/#{git_ref}"
59
60
  else
60
61
  git_ref = sync_code_with_cloud()
62
+ gitlab_uri = "commit/#{git_ref}"
61
63
  end
62
64
 
63
65
  if options[:clustertags]
@@ -111,7 +113,7 @@ class Mortar::Command::Spark < Mortar::Command::Base
111
113
  display("job_id: #{response['job_id']}")
112
114
  display("git_ref: #{git_ref}")
113
115
  display
114
- display("Gitlab CI pipeline status can be viewed at:\n\n https://gitlab.ddbuild.io/DataDog/dd-analytics/commit/#{git_ref}")
116
+ display("Gitlab CI pipeline status can be viewed at:\n\n https://gitlab.ddbuild.io/DataDog/dd-analytics/#{gitlab_uri}")
115
117
  display
116
118
  display("Job status can be viewed on the web at:\n\n #{response['web_job_url']}")
117
119
  display
@@ -16,5 +16,5 @@
16
16
 
17
17
  module Mortar
18
18
  # see http://semver.org/
19
- VERSION = "0.15.52"
19
+ VERSION = "0.15.53"
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mortar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.52
4
+ version: 0.15.53
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mortar Data