manageiq-cross_repo 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/manageiq/cross_repo/runner.rb +8 -15
- data/lib/manageiq/cross_repo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a92b33e5752bf49917ffffbc780d309d198c10f52176d210c7fbf3415ba96bfc
|
4
|
+
data.tar.gz: 3a40038eb6a34fc60c8f6865951f8970121031505d6e1063acd2cc5f3a2dc7f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14c902452a16f84aaded53ac84934f7165212f574a085ebd9ae92e30c5504ae74a8636013098d75ace760b4b14d5bd2f07891f8c63612df62cbae98e6607889d
|
7
|
+
data.tar.gz: 3abde6ca7b2665648cb11f91d64a4cb953d22d6dc7cd39cc443f6cec2915e4f58a3b4e203cfefeae1cf1d5413fdbc0e5652902a013aa12053212872a805f5ab8
|
@@ -24,30 +24,23 @@ module ManageIQ::CrossRepo
|
|
24
24
|
|
25
25
|
def run
|
26
26
|
test_repo.ensure_clone
|
27
|
-
test_repo.core?
|
27
|
+
core_repo.ensure_clone unless test_repo.core?
|
28
|
+
prepare_gem_repos
|
29
|
+
run_tests
|
28
30
|
end
|
29
31
|
|
30
32
|
private
|
31
33
|
|
32
|
-
def
|
33
|
-
prepare_gem_repos
|
34
|
-
|
34
|
+
def run_tests
|
35
35
|
with_test_env do
|
36
|
-
system!({"TRAVIS_BUILD_DIR" => test_repo.path.to_s}, "bash", "tools/ci/before_install.sh") if ENV["CI"]
|
37
|
-
system!("bin/setup")
|
36
|
+
system!({"TRAVIS_BUILD_DIR" => test_repo.path.to_s}, "bash", "tools/ci/before_install.sh") if ENV["CI"] && File.exist?("tools/ci/before_install.sh")
|
37
|
+
system!(env_vars, "bin/setup")
|
38
38
|
system!("bundle exec rake")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
-
def
|
43
|
-
core_repo.
|
44
|
-
prepare_gem_repos
|
45
|
-
|
46
|
-
env_vars = {"MANAGEIQ_REPO" => core_repo.path.to_s}
|
47
|
-
with_test_env do
|
48
|
-
system!(env_vars, "bin/setup")
|
49
|
-
system!("bundle exec rake")
|
50
|
-
end
|
42
|
+
def env_vars
|
43
|
+
{"MANAGEIQ_REPO" => core_repo.path.to_s}
|
51
44
|
end
|
52
45
|
|
53
46
|
def with_test_env
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manageiq-cross_repo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|