Skip to content

Commit 7b1739d

Browse files
authored
upgrade to use 3.1 build (#134)
* use 3.1 packaging * use psych < 4 for compatability
1 parent c13aa5a commit 7b1739d

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ variables:
44
OOD_PACKAGING_DEBUG: 'true'
55
OOD_PACKAGING_GPG_PRIVATE_KEY: /systems/osc_certs/gpg/ondemand/ondemand.sec
66
OOD_PACKAGING_GPG_PASSPHRASE: /systems/osc_certs/gpg/ondemand/.gpgpass
7-
OOD_PACKAGING_RELEASE: '2.1'
7+
OOD_PACKAGING_RELEASE: '3.1'
88

99
before_script:
1010
- docker info
@@ -23,7 +23,7 @@ rpm-build:
2323
- ./tmp/ondemand-packaging/bin/ood_packaging -w $CI_PROJECT_DIR/tmp/work -o $CI_PROJECT_DIR/tmp/output -V $CI_COMMIT_TAG -T $CI_PROJECT_DIR
2424
parallel:
2525
matrix:
26-
- OOD_PACKAGING_DIST: [el7, el8]
26+
- OOD_PACKAGING_DIST: [el8]
2727
artifacts:
2828
paths:
2929
- tmp/output

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,7 @@ gem 'ood_appkit', '~> 2.1'
4646
gem 'ood_core', '~> 0.21.0'
4747

4848
gem 'nokogiri', '>= 1.10.4'
49+
50+
# ruby 3.1 ships psych 4 which breaks
51+
# and rails 6.0 does not have the patch
52+
gem 'psych', '< 4'

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ GEM
141141
ood_support (~> 0.0.2)
142142
rexml (~> 3.2)
143143
ood_support (0.0.3)
144+
psych (3.3.4)
144145
public_suffix (5.0.1)
145146
racc (1.6.2)
146147
rack (2.2.6.4)
@@ -233,6 +234,7 @@ DEPENDENCIES
233234
nokogiri (>= 1.10.4)
234235
ood_appkit (~> 2.1)
235236
ood_core (~> 0.21.0)
237+
psych (< 4)
236238
rails (= 6.0.6.1)
237239
sass-rails (~> 5.0)
238240
sqlite3 (~> 1.4.0)

0 commit comments

Comments
 (0)