hybrid_platforms_conductor 33.8.1 → 33.8.2
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d6e2a5efb5f9513378cc635387663c365ef3746c5e3adf70c9f8af24d9e00685
|
|
4
|
+
data.tar.gz: aeba22f701dcc095951b1575cc33e05ecd12022b7d8a8c4e558ee6189874d97f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '096a224a0337aacb13a20b4113b008ffc62913db6a0207016ebf1fb31660dce248284f5fd2cd1fcb5147de086701cf1a5e63b7604519feaf8cbe230dca8066f0'
|
|
7
|
+
data.tar.gz: fb1dc0a69c3bc5b0f7b2bbb056f4abd068fbb3261efe6b249c2be908d6b5556fa9b13d1a508fa3fb2b2513794e995892d9b4c256fc2ed93064eab4395b378819
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# [v33.8.2](https://github.com/sweet-delights/hybrid-platforms-conductor/compare/v33.8.1...v33.8.2) (2021-08-14 21:12:19)
|
|
2
|
+
|
|
3
|
+
## Global changes
|
|
4
|
+
### Patches
|
|
5
|
+
|
|
6
|
+
* [[Fix(test_github_ci)] [#95] Make sure the github_ci test does not fail when a repository has no workflow run](https://github.com/sweet-delights/hybrid-platforms-conductor/commit/e805c5b2d7e391c3c5205996fd56dadc14ddec7f)
|
|
7
|
+
|
|
8
|
+
## Changes for test_github_ci
|
|
9
|
+
### Patches
|
|
10
|
+
|
|
11
|
+
* [[Fix(test_github_ci)] [#95] Make sure the github_ci test does not fail when a repository has no workflow run](https://github.com/sweet-delights/hybrid-platforms-conductor/commit/e805c5b2d7e391c3c5205996fd56dadc14ddec7f)
|
|
12
|
+
|
|
1
13
|
# [v33.8.1](https://github.com/sweet-delights/hybrid-platforms-conductor/compare/v33.8.0...v33.8.1) (2021-08-05 17:11:39)
|
|
2
14
|
|
|
3
15
|
### Patches
|
|
@@ -138,22 +138,23 @@ module HybridPlatformsConductor
|
|
|
138
138
|
value = Regexp.last_match(2)
|
|
139
139
|
key = key_str.to_sym
|
|
140
140
|
# Type-cast some values
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
141
|
+
deploy_info[key] =
|
|
142
|
+
case key_str
|
|
143
|
+
when 'date'
|
|
144
|
+
# Date and time values
|
|
145
|
+
# Thu Nov 23 18:43:01 UTC 2017
|
|
146
|
+
Time.parse("#{value} UTC")
|
|
147
|
+
when 'debug'
|
|
148
|
+
# Boolean values
|
|
149
|
+
# Yes
|
|
150
|
+
value == 'Yes'
|
|
151
|
+
when /^diff_files_.+$/, 'services'
|
|
152
|
+
# Array of strings
|
|
153
|
+
# my_file.txt, other_file.txt
|
|
154
|
+
value.split(', ')
|
|
155
|
+
else
|
|
156
|
+
value
|
|
157
|
+
end
|
|
157
158
|
else
|
|
158
159
|
deploy_info[:unknown_lines] = [] unless deploy_info.key?(:unknown_lines)
|
|
159
160
|
deploy_info[:unknown_lines] << line
|
|
@@ -18,10 +18,15 @@ module HybridPlatformsConductor
|
|
|
18
18
|
def test
|
|
19
19
|
for_each_github_repo do |client, repo_info|
|
|
20
20
|
log_debug "Checking CI for Github repository #{repo_info[:slug]}"
|
|
21
|
-
|
|
21
|
+
last_run = client.repository_workflow_runs(repo_info[:slug])[:workflow_runs].
|
|
22
22
|
select { |run| run[:head_branch] == 'master' }.
|
|
23
|
-
max_by { |run| run[:created_at] }
|
|
24
|
-
|
|
23
|
+
max_by { |run| run[:created_at] }
|
|
24
|
+
if last_run.nil?
|
|
25
|
+
error "No workflow run found for repository #{repo_info[:slug]}"
|
|
26
|
+
else
|
|
27
|
+
last_status = last_run[:conclusion]
|
|
28
|
+
error "Last workflow status for repository #{repo_info[:slug]} is #{last_status}" unless last_status == 'success'
|
|
29
|
+
end
|
|
25
30
|
end
|
|
26
31
|
end
|
|
27
32
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hybrid_platforms_conductor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 33.8.
|
|
4
|
+
version: 33.8.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Muriel Salvan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-08-
|
|
11
|
+
date: 2021-08-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: range_operators
|