manageiq-cross_repo 2.3.0 → 2.4.0

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: '077777292cadb209e5f6a77cc00112ffa6932030c0e09d1e8437f541a7efa8dc'
4
- data.tar.gz: 6ebf91a9662c329742419792573618ea33108c9a54c8cce53e04a45c1da38922
3
+ metadata.gz: 1d861fc4de8036d291468a7cdf1e6fac0f4c33bf4fdad02d2ac3917bedad8876
4
+ data.tar.gz: 2e491716b062e9c4d9a27408647695292b082d5a95359647cbadfb5d6a683fca
5
5
  SHA512:
6
- metadata.gz: cb6a247647323d66f6ae398c4992c8e8db2fadd115c06c8418a919c7f0e26421c113c71ea1a605cefd9f7f156866c7ea81703c0d0c6a0d95eb65a373ddb85eac
7
- data.tar.gz: 16b9478c800579733391bec6393155d1d550f681ec788f410275d9c5a446ae3c61d722ecd8cccbc1262bf69dcc22d4af8b7de4c37345ffdf11500c5eb974c1b5
6
+ metadata.gz: 41aab8cc9f1c1804b5c3b0458ceef4273ec213b6fbd35a01736c8d7b120717aa66ae934dfa024529fbc3cf052908d51c026bb403912e4ed36db643201ad81c46
7
+ data.tar.gz: c404f5cb580ef7ea6b90236036b9692836e43bca6f3a5c8ed828f23dbd35c9f09cbed661d182cc7c759e03de5471097a77717df25e1eda6088cbbeb8d91c6bb7
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
@@ -16,12 +15,15 @@ jobs:
16
15
  - '2.6'
17
16
  - '2.7'
18
17
  - '3.0'
18
+ - '3.1'
19
+ - '3.2'
20
+ - '3.3'
19
21
  steps:
20
- - uses: actions/checkout@v2
22
+ - uses: actions/checkout@v4
21
23
  - name: Set up Ruby
22
24
  uses: ruby/setup-ruby@v1
23
25
  with:
24
- ruby-version: ${{ matrix.ruby-version }}
26
+ ruby-version: "${{ matrix.ruby-version }}"
25
27
  bundler-cache: true
26
28
  timeout-minutes: 30
27
29
  - name: Run tests
@@ -15,11 +15,11 @@ on:
15
15
  ruby-version:
16
16
  required: false
17
17
  type: string
18
- default: '["2.7"]'
18
+ default: '["3.3"]'
19
19
  node-version:
20
20
  required: false
21
21
  type: string
22
- default: '["12"]'
22
+ default: '["18"]'
23
23
 
24
24
  jobs:
25
25
  ci:
@@ -32,7 +32,7 @@ jobs:
32
32
  node-version: ${{ fromJson(inputs.node-version) }}
33
33
  services:
34
34
  postgres:
35
- image: manageiq/postgresql:10
35
+ image: manageiq/postgresql:13
36
36
  env:
37
37
  POSTGRESQL_USER: root
38
38
  POSTGRESQL_PASSWORD: smartvm
@@ -41,7 +41,7 @@ jobs:
41
41
  ports:
42
42
  - 5432:5432
43
43
  memcached:
44
- image: manageiq/memcached:1.5
44
+ image: manageiq/memcached:1.6
45
45
  ports:
46
46
  - 11211:11211
47
47
  env:
@@ -51,14 +51,14 @@ jobs:
51
51
  PGHOST: localhost
52
52
  PGPASSWORD: smartvm
53
53
  steps:
54
- - uses: actions/checkout@v2
54
+ - uses: actions/checkout@v4
55
55
  - name: Set up Ruby
56
56
  uses: ruby/setup-ruby@v1
57
57
  with:
58
58
  ruby-version: ${{ matrix.ruby-version }}
59
59
  bundler-cache: true
60
60
  - name: Set up Node
61
- uses: actions/setup-node@v2
61
+ uses: actions/setup-node@v4
62
62
  with:
63
63
  node-version: ${{ matrix.node-version }}
64
64
  registry-url: https://npm.manageiq.org/
data/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [2.4.0] - 2024-11-14
8
+ ### Changed
9
+ - Default to ruby 3.3 for manageiq_cross_repo ruby-version (#112)
10
+
11
+ ## [2.3.1] - 2024-04-26
12
+ ### Fixed
13
+ - Fix nodejs install not being overridden by repo ci.yml (#109)
14
+
7
15
  ## [2.3.0] - 2023-03-13
8
16
  ### Changed
9
17
  - Add {ruby/node}-version matrix inputs (#94)
@@ -69,9 +77,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
69
77
  - Fix an issue extracting tgz files smaller than 10Kb
70
78
  - Fix an issue overriding gems whose repo name doesn't match
71
79
 
72
- [Unreleased]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.1.0...HEAD
73
- [2.1.0]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.1.0..v2.0.0
74
- [2.0.0]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.0.0...v1.2.1
80
+ [Unreleased]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.3.1...HEAD
81
+ [2.3.1]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.3.0...v2.3.1
82
+ [2.3.0]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.2.0...v2.3.0
83
+ [2.2.0]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.1.0...v2.2.0
84
+ [2.1.0]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v2.0.0...v2.1.0
85
+ [2.0.0]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v1.2.1...v2.0.0
75
86
  [1.2.1]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v1.2.0...v1.2.1
76
87
  [1.2.0]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v1.1.3...v1.2.0
77
88
  [1.1.3]: https://github.com/ManageIQ/manageiq-cross_repo/compare/v1.1.2...v1.1.3
@@ -1,3 +1,5 @@
1
+ require 'uri'
2
+
1
3
  module ManageIQ::CrossRepo
2
4
  class Repository
3
5
  attr_reader :identifier, :server
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module ManageIQ
2
2
  module CrossRepo
3
- VERSION = "2.3.0"
3
+ VERSION = "2.4.0"
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.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Authors
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-13 00:00:00.000000000 Z
11
+ date: 2024-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: manageiq-style
@@ -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:
@@ -177,7 +178,7 @@ 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.15
181
+ rubygems_version: 3.4.20
181
182
  signing_key:
182
183
  specification_version: 4
183
184
  summary: ManageIQ CrossRepo testing library