Skip to content

Commit 4565724

Browse files
authored
Merge pull request #152 from orange-cloudfoundry/bump-to-ruby-3.4.4
bump to ruby 3.4.4
2 parents 82ec7fa + 3846620 commit 4565724

File tree

23 files changed

+73
-63
lines changed

23 files changed

+73
-63
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.2
1+
3.4.4

Gemfile.lock

Lines changed: 32 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,49 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
diff-lcs (1.5.0)
5-
docker-api (2.2.0)
6-
excon (>= 0.47.0)
4+
base64 (0.3.0)
5+
diff-lcs (1.6.2)
6+
docker-api (2.4.0)
7+
excon (>= 0.64.0)
78
multi_json
8-
excon (0.99.0)
9-
json (2.6.3)
10-
multi_json (1.15.0)
11-
net-scp (4.0.0)
9+
excon (1.2.8)
10+
logger
11+
json (2.13.0)
12+
logger (1.7.0)
13+
multi_json (1.17.0)
14+
net-scp (4.1.0)
1215
net-ssh (>= 2.6.5, < 8.0.0)
13-
net-ssh (7.1.0)
14-
net-telnet (0.1.1)
15-
rake (13.0.6)
16-
rspec (3.12.0)
17-
rspec-core (~> 3.12.0)
18-
rspec-expectations (~> 3.12.0)
19-
rspec-mocks (~> 3.12.0)
20-
rspec-core (3.12.1)
21-
rspec-support (~> 3.12.0)
22-
rspec-expectations (3.12.2)
16+
net-ssh (7.3.0)
17+
net-telnet (0.2.0)
18+
rake (13.3.0)
19+
rspec (3.13.1)
20+
rspec-core (~> 3.13.0)
21+
rspec-expectations (~> 3.13.0)
22+
rspec-mocks (~> 3.13.0)
23+
rspec-core (3.13.5)
24+
rspec-support (~> 3.13.0)
25+
rspec-expectations (3.13.5)
2326
diff-lcs (>= 1.2.0, < 2.0)
24-
rspec-support (~> 3.12.0)
25-
rspec-its (1.3.0)
26-
rspec-core (>= 3.0.0)
27-
rspec-expectations (>= 3.0.0)
28-
rspec-mocks (3.12.4)
27+
rspec-support (~> 3.13.0)
28+
rspec-its (2.0.0)
29+
rspec-core (>= 3.13.0)
30+
rspec-expectations (>= 3.13.0)
31+
rspec-mocks (3.13.5)
2932
diff-lcs (>= 1.2.0, < 2.0)
30-
rspec-support (~> 3.12.0)
31-
rspec-support (3.12.0)
32-
serverspec (2.42.2)
33+
rspec-support (~> 3.13.0)
34+
rspec-support (3.13.4)
35+
serverspec (2.43.0)
3336
multi_json
3437
rspec (~> 3.0)
3538
rspec-its
3639
specinfra (~> 2.72)
3740
sfl (2.3)
3841
should_not (1.1.0)
39-
specinfra (2.85.0)
42+
specinfra (2.94.1)
43+
base64
4044
net-scp
4145
net-ssh (>= 2.7)
42-
net-telnet (= 0.1.1)
46+
net-telnet
4347
sfl
4448

4549
PLATFORMS
@@ -53,4 +57,4 @@ DEPENDENCIES
5357
should_not (~> 1.1)
5458

5559
BUNDLED WITH
56-
2.4.8
60+
2.7.0

alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.18
1+
FROM alpine:3.22
22

33
RUN apk add --no-cache \
44
jq~1 \

awscli/Dockerfile

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
1-
FROM elpaasoci/curl-ssl
1+
FROM alpine:3.19
2+
# Alpine 3.19 is the last version with python 3.11
23

3-
ENV AWSCLI_VERSION "1.19.112"
4+
ENV AWSCLI_VERSION=1.27.79
45

56
RUN apk add --no-cache \
6-
groff~1.22.4-r4 \
7-
less>=590-r0 \
7+
openssl \
8+
ca-certificates \
9+
jq~1 \
10+
gettext~0.22 \
11+
curl~8 \
12+
groff~1.23 \
13+
less~643 \
814
python3~3.11 \
915
py3-pip~23 \
10-
&& pip3 install \
16+
&& pip3 install --break-system-packages \
1117
awscli==$AWSCLI_VERSION \
1218
pyyaml==5.3.1

awscli/awscli_spec.rb

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
AWSCLI_PACKAGES = "curl openssl ca-certificates less"
66

77
AWSCLI_BIN = "/usr/bin/aws"
8-
AWSCLI_VERSION = "1.19.112"
8+
AWSCLI_VERSION = "1.27.79"
99

1010
describe "awscli image" do
1111
before(:all) {
@@ -34,16 +34,10 @@ def awscli_version
3434
end
3535

3636
it "the 'aws help' command works" do
37-
synopsis_interleaved_with_backspaces = [
38-
0x0a, 0x53, 0x08, 0x53, 0x59, 0x08, 0x59, 0x4e,
39-
0x08, 0x4e, 0x4f, 0x08, 0x4f, 0x50, 0x08, 0x50,
40-
0x53, 0x08, 0x53, 0x49, 0x08, 0x49, 0x53, 0x08,
41-
0x53, 0x0a
42-
].map(&:chr).join('')
43-
37+
synopsis = 'SYNOPSIS'
4438
expect(
4539
command("aws help").stdout
46-
).to include(synopsis_interleaved_with_backspaces)
40+
).to include(synopsis)
4741
end
4842

4943
it "installs required packages" do
@@ -57,4 +51,7 @@ def awscli_version
5751
expect(cmd.exit_status).to eq(0)
5852
end
5953

54+
it 'installs the right version of Alpine' do
55+
expect(os_version).to include('Alpine Linux 3.19')
56+
end
6057
end

bosh-cli-v2-cf-cli/bosh-cli-v2-cf-cli_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
BOSH_ENV_DEPS = "build-essential zlib1g-dev openssl libxslt1-dev libxml2-dev \
1010
libssl-dev libreadline8 libreadline-dev libyaml-dev libsqlite3-dev sqlite3"
1111
CF_ENV_DEPS = "unzip curl openssl ca-certificates git libc6 bash jq gettext make"
12-
RUBY_VERSION = "3.1"
12+
RUBY_VERSION = "3.4"
1313

1414
describe "bosh-cli-v2-cf-cli image" do
1515
before(:all) {

bosh-cli-v2/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:3.1-slim-bullseye
1+
FROM ruby:3.4-slim-bullseye
22

33
# renovate: datasource=github-releases depName=cloudfoundry/bosh-cli
44
ENV BOSH_CLI_VERSION 7.7.1

bosh-cli-v2/bosh-cli-v2_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
BOSH_CLI_VERSION="7.7.1" # renovate: datasource=github-releases depName=cloudfoundry/bosh-cli
66
CREDHUB_CLI_VERSION='2.9.42' # renovate: datasource=github-releases depName=cloudfoundry/credhub-cli
7-
RUBY_VERSION = "3.1"
7+
RUBY_VERSION = "3.4"
88

99
BOSH_ENV_DEPS = "build-essential zlib1g-dev openssl libxslt1-dev libxml2-dev \
1010
libssl-dev libreadline8 libreadline-dev libyaml-dev libsqlite3-dev sqlite3"

cf-cli/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:3.1-alpine3.18
1+
FROM ruby:3.4-alpine3.22
22

33
ENV PACKAGES "unzip curl openssl ca-certificates git libc6-compat bash jq gettext make"
44
# renovate: datasource=github-releases depName=cloudfoundry/cli

cf-cli/cf-cli_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
CF_CLI_VERSION="8.9.0" # renovate: datasource=github-releases depName=cloudfoundry/cli
66
SPRUCE_BIN = "/usr/local/bin/spruce"
77
SPRUCE_VERSION = "1.31.1" # renovate: datasource=github-releases depName=geofffranks/spruce
8-
RUBY_VERSION = "3.1"
8+
RUBY_VERSION = "3.4"
99

1010
describe "cf-cli image" do
1111
before(:all) {

0 commit comments

Comments
 (0)