escobar 0.1.17 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/escobar/heroku/pipeline.rb +3 -2
- data/lib/escobar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b94a30fb6609c4dbf8996d59cfaaffa316f92b5f
|
|
4
|
+
data.tar.gz: d1ca66d25c9062323fa9d3819bc84a4d19dbd9cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cfc0a947660ab3bc4297c1effe2e8ffb414faf12c54f84701ac88aa4cca4af454f04098674c6e5ccb218f9261bad9b01f023ccd033080f0b8777ab45cb089be3
|
|
7
|
+
data.tar.gz: 135b8050d3a343f95b104e471d3f0932debfef34113f981c30aef385d4875b95c87ac393330eca8fe324b7f70b9fd6b81c496c4694ce29237d8a3eb5a649f4bc
|
|
@@ -61,7 +61,8 @@ module Escobar
|
|
|
61
61
|
github_deployment = create_github_deployment("deploy", ref, environment, force, custom_payload)
|
|
62
62
|
return({ error: github_deployment["message"] }) unless github_deployment["sha"]
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
sha = github_deployment["sha"]
|
|
65
|
+
build = create_heroku_build(app.name, sha)
|
|
65
66
|
case build["id"]
|
|
66
67
|
when "two_factor"
|
|
67
68
|
description = "A second factor is required. Use your configured authenticator app or yubikey."
|
|
@@ -72,7 +73,7 @@ module Escobar
|
|
|
72
73
|
target_url = "https://dashboard.heroku.com#{path}"
|
|
73
74
|
|
|
74
75
|
create_github_deployment_status(github_deployment["url"], target_url, "pending", "Build running..")
|
|
75
|
-
{ app_id: app.
|
|
76
|
+
{ app_id: app.id, build_id: build["id"], deployment_url: github_deployment["url"], repo: github_repository, sha: sha }
|
|
76
77
|
else
|
|
77
78
|
return({ error: "Unable to create heroku build for #{name}" })
|
|
78
79
|
end
|
data/lib/escobar/version.rb
CHANGED