manageiq-cross_repo 2.2.0 → 2.3.1

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: a6ab5c65ef2a6fd67148e518d9b46155f53e76efa5438f07fc7a59699380088f
4
- data.tar.gz: 12d54a2c5a55f818a9d63a4cacc20c55a6c9c64848f41d8d8d3ea100f08808f0
3
+ metadata.gz: 6288ce7865dc20da52f82f88372dc4abe11e07160308c1c6813b657f06b7e9b0
4
+ data.tar.gz: 423111bce90b294de5eb4ad742b0c6a98adce1a3b4b368ea8adc9459cde8ccf7
5
5
  SHA512:
6
- metadata.gz: 0bf529b534de116f2eed3b516ba4cfc6598913d9a31df1ff114ee64d749b5bfd6369a42d15810eed9c204d9ec6b0ca6667477ceaa29fe47690a2e815656bedb8
7
- data.tar.gz: 63d8108addd7a4b06cc51844f52ef76014785b3cc69ec0feec2f7aec49edccdccaec727f6afb69be845029bb01c72db7dd83a0043c06b2b2297ddaf97aec9b41
6
+ metadata.gz: 04a079d474cfeb859535d2fe1805d7b6ad5fd2a6d9c5bed13b991b97d1a0e122430c40f2a0d589aa48dfeb9837799626b17c78be087e8323be31975448a3dbfc
7
+ data.tar.gz: 974b2c169b9f09df26c94fd63ab64cf3b0c3d2f2abb01422ae47540b99c5b6e4eb8cc053562c586b688577ce7ab24ef97314e48792b7c3465e43a5ce93fd131d
data/.codeclimate.yml CHANGED
@@ -12,5 +12,5 @@ plugins:
12
12
  rubocop:
13
13
  enabled: true
14
14
  config: ".rubocop_cc.yml"
15
- channel: rubocop-0-82
15
+ channel: rubocop-1-56-3
16
16
  version: '2'
@@ -1,11 +1,10 @@
1
+ ---
1
2
  name: CI
2
-
3
3
  on:
4
4
  push:
5
5
  pull_request:
6
6
  schedule:
7
- - cron: '0 0 * * 0'
8
-
7
+ - cron: 0 0 * * 0
9
8
  jobs:
10
9
  ci:
11
10
  runs-on: ubuntu-latest
@@ -15,12 +14,15 @@ jobs:
15
14
  - '2.5'
16
15
  - '2.6'
17
16
  - '2.7'
17
+ - '3.0'
18
+ - '3.1'
18
19
  steps:
19
- - uses: actions/checkout@v2
20
+ - uses: actions/checkout@v4
20
21
  - name: Set up Ruby
21
22
  uses: ruby/setup-ruby@v1
22
23
  with:
23
- ruby-version: ${{ matrix.ruby-version }}
24
+ ruby-version: "${{ matrix.ruby-version }}"
24
25
  bundler-cache: true
26
+ timeout-minutes: 30
25
27
  - name: Run tests
26
28
  run: bundle exec rake
@@ -12,6 +12,14 @@ on:
12
12
  test-suite:
13
13
  required: false
14
14
  type: string
15
+ ruby-version:
16
+ required: false
17
+ type: string
18
+ default: '["3.0"]'
19
+ node-version:
20
+ required: false
21
+ type: string
22
+ default: '["18"]'
15
23
 
16
24
  jobs:
17
25
  ci:
@@ -20,9 +28,11 @@ jobs:
20
28
  fail-fast: false
21
29
  matrix:
22
30
  test-repo: ${{ fromJson(inputs.test-repos) }}
31
+ ruby-version: ${{ fromJson(inputs.ruby-version) }}
32
+ node-version: ${{ fromJson(inputs.node-version) }}
23
33
  services:
24
34
  postgres:
25
- image: manageiq/postgresql:10
35
+ image: manageiq/postgresql:13
26
36
  env:
27
37
  POSTGRESQL_USER: root
28
38
  POSTGRESQL_PASSWORD: smartvm
@@ -30,6 +40,10 @@ jobs:
30
40
  options: --health-cmd pg_isready --health-interval 2s --health-timeout 5s --health-retries 5
31
41
  ports:
32
42
  - 5432:5432
43
+ memcached:
44
+ image: manageiq/memcached:1.6
45
+ ports:
46
+ - 11211:11211
33
47
  env:
34
48
  TEST_SUITE: ${{ inputs.test-suite }}
35
49
  REPOS: ${{ inputs.repos }}
@@ -37,16 +51,16 @@ jobs:
37
51
  PGHOST: localhost
38
52
  PGPASSWORD: smartvm
39
53
  steps:
40
- - uses: actions/checkout@v2
54
+ - uses: actions/checkout@v4
41
55
  - name: Set up Ruby
42
56
  uses: ruby/setup-ruby@v1
43
57
  with:
44
- ruby-version: 2.7
58
+ ruby-version: ${{ matrix.ruby-version }}
45
59
  bundler-cache: true
46
60
  - name: Set up Node
47
- uses: actions/setup-node@v2
61
+ uses: actions/setup-node@v4
48
62
  with:
49
- node-version: 12
63
+ node-version: ${{ matrix.node-version }}
50
64
  registry-url: https://npm.manageiq.org/
51
65
  - name: Run tests
52
66
  run: bundle exec manageiq-cross_repo
data/CHANGELOG.md CHANGED
@@ -4,6 +4,23 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [2.3.1] - 2024-04-26
8
+ ### Fixed
9
+ - Fix nodejs install not being overridden by repo ci.yml (#109)
10
+
11
+ ## [2.3.0] - 2023-03-13
12
+ ### Changed
13
+ - Add {ruby/node}-version matrix inputs (#94)
14
+ - Add memcached service (#98)
15
+
16
+ ### Fixed
17
+ - Bundler 2.3.20 resolves the issue with other sources (#93)
18
+
19
+ ## [2.2.0] - 2022-02-28
20
+ ### Changed
21
+ - Update node version to 14 (#88)
22
+ - Cron for GitHub Actions (#89)
23
+
7
24
  ## [2.1.0] - 2022-02-21
8
25
  ### Changed
9
26
  - Update nodejs version to v16 (#79)
@@ -56,7 +73,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
56
73
  - Fix an issue extracting tgz files smaller than 10Kb
57
74
  - Fix an issue overriding gems whose repo name doesn't match
58
75
 
59
- [Unreleased]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.1.0...HEAD
76
+ [Unreleased]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.3.1...HEAD
77
+ [2.3.1]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.3.1..v2.3.0
78
+ [2.3.0]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.3.0..v2.2.0
79
+ [2.2.0]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.2.0..v2.1.0
60
80
  [2.1.0]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.1.0..v2.0.0
61
81
  [2.0.0]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.0.0...v1.2.1
62
82
  [1.2.1]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v1.2.0...v1.2.1
@@ -81,14 +81,14 @@ module ManageIQ::CrossRepo
81
81
  def defaults
82
82
  @defaults ||= {
83
83
  "node_js" => {
84
- "language" => "node_js",
85
- "node_js" => ["14"],
86
- "install" => "npm install",
87
- "script" => "npm test"
84
+ "language" => "node_js",
85
+ "node_js" => ["18"],
86
+ "before_script" => "yarn",
87
+ "script" => "yarn run test"
88
88
  },
89
89
  "ruby" => {
90
90
  "language" => "ruby",
91
- "rvm" => ["2.7"],
91
+ "rvm" => ["3.1"],
92
92
  "install" => "bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}",
93
93
  "script" => "bundle exec rake"
94
94
  }
@@ -19,7 +19,7 @@ module ManageIQ::CrossRepo
19
19
  steps = github_config["jobs"]["ci"]["steps"]
20
20
  steps_by_name = steps.index_by { |step| step["name"] }
21
21
 
22
- language = steps.any? { |s| s["uses"] == "ruby/setup-ruby@v1" } ? "ruby" : "node_js"
22
+ language = steps.any? { |s| s["uses"].to_s.start_with?("ruby/setup-ruby") } ? "ruby" : "node_js"
23
23
 
24
24
  result = {"language" => language}
25
25
 
@@ -62,7 +62,7 @@ module ManageIQ::CrossRepo
62
62
 
63
63
  def with_test_env
64
64
  Dir.chdir(test_repo.path) do
65
- Bundler.with_clean_env do
65
+ Bundler.with_unbundled_env do
66
66
  yield
67
67
  end
68
68
  end
@@ -1,5 +1,5 @@
1
1
  module ManageIQ
2
2
  module CrossRepo
3
- VERSION = "2.2.0"
3
+ VERSION = "2.3.1"
4
4
  end
5
5
  end
data/renovate.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
+ "extends": [
4
+ "config:recommended"
5
+ ]
6
+ }
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: 2.2.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Authors
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-28 00:00:00.000000000 Z
11
+ date: 2024-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: manageiq-style
@@ -123,7 +123,7 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  description: ManageIQ CrossRepo testing library
126
- email:
126
+ email:
127
127
  executables:
128
128
  - manageiq-cross_repo
129
129
  extensions: []
@@ -155,6 +155,7 @@ files:
155
155
  - lib/manageiq/cross_repo/runner/travis.rb
156
156
  - lib/manageiq/cross_repo/version.rb
157
157
  - manageiq-cross_repo.gemspec
158
+ - renovate.json
158
159
  - repos/.gitkeep
159
160
  homepage: https://github.com/ManageIQ/manageiq-cross_repo
160
161
  licenses:
@@ -162,7 +163,7 @@ licenses:
162
163
  metadata:
163
164
  homepage_uri: https://github.com/ManageIQ/manageiq-cross_repo
164
165
  source_code_uri: https://github.com/ManageIQ/manageiq-cross_repo
165
- post_install_message:
166
+ post_install_message:
166
167
  rdoc_options: []
167
168
  require_paths:
168
169
  - lib
@@ -177,8 +178,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
178
  - !ruby/object:Gem::Version
178
179
  version: '0'
179
180
  requirements: []
180
- rubygems_version: 3.3.5
181
- signing_key:
181
+ rubygems_version: 3.4.20
182
+ signing_key:
182
183
  specification_version: 4
183
184
  summary: ManageIQ CrossRepo testing library
184
185
  test_files: []