Skip to content

Commit 317e4c0

Browse files
committed
YETUS-1271. Upgrade to Ubuntu 24.04 (Noble)
1 parent d4ae542 commit 317e4c0

89 files changed

Lines changed: 775 additions & 914 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
environment:
2727
# Customize the JVM maximum heap limit
2828
MAVEN_OPTS: -Xmx3200m
29-
# Set JAVA_HOME
30-
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
29+
JAVA_HOME: /usr/lib/jvm/default-java
3130

3231
steps:
3332
- checkout
@@ -38,7 +37,6 @@ jobs:
3837
- run: >
3938
~/repo/precommit/src/main/shell/test-patch.sh
4039
--plugins=all
41-
--java-home=/usr/lib/jvm/java-11-openjdk-amd64
4240
--patch-dir=/tmp/yetus-out
4341
--html-report-file=/tmp/yetus-out/report.html
4442
--console-report-file=/tmp/yetus-out/console.txt

.cirrus.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
yetus_task:
1919
container:
2020
image: ghcr.io/apache/yetus:main
21+
env:
22+
JAVA_HOME: /usr/lib/jvm/default-java
2123
test_script: >
2224
${CIRRUS_WORKING_DIR}/precommit/src/main/shell/test-patch.sh
2325
--basedir="${CIRRUS_WORKING_DIR}"
@@ -26,7 +28,6 @@ yetus_task:
2628
--console-report-file=/tmp/yetus-out/console.txt
2729
--csv-report-file=/tmp/yetus-out/report.csv
2830
--html-report-file=/tmp/yetus-out/report.html
29-
--java-home=/usr/lib/jvm/java-11-openjdk-amd64
3031
--junit-report-xml=/tmp/yetus-out/junit.xml
3132
--plugins=all
3233
--junit-report-xml=line

.github/workflows/action-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ jobs:
3838
uses: apache/yetus-test-patch-action@main
3939
with:
4040
basedir: ./src
41-
javahome: /usr/lib/jvm/java-11-openjdk-amd64
4241
patchdir: ./out
4342
buildtool: maven
4443
githubtoken: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/yetus.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,9 @@ jobs:
4848
--console-report-file="${GITHUB_WORKSPACE}/out/console.txt"
4949
--csv-report-file="${GITHUB_WORKSPACE}/out/report.csv"
5050
--docker
51-
--docker-cache-from=ghcr.io/apache/yetus-base:main
51+
--docker-cache-from=ghcr.io/apache/yetus:main
5252
--github-token="${{ secrets.GITHUB_TOKEN }}"
5353
--html-report-file="${GITHUB_WORKSPACE}/out/report.html"
54-
--java-home=/usr/lib/jvm/java-11-openjdk-amd64
5554
--junit-report-xml="${GITHUB_WORKSPACE}/out/junit-report.xml"
5655
--patch-dir="${GITHUB_WORKSPACE}/out"
5756
--plugins=all

.gitlab-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@
1818
buretoolbox-job:
1919
image: ghcr.io/apache/yetus:main
2020
allow_failure: true
21+
variables:
22+
JAVA_HOME: /usr/lib/jvm/default-java
2123
script:
2224
- >
2325
precommit/src/main/shell/test-patch.sh
2426
--patch-dir=/tmp/yetus-out
2527
--plugins=all
26-
--java-home=/usr/lib/jvm/java-11-openjdk-amd64
2728
--html-report-file=/tmp/yetus-out/report.html
2829
--csv-report-file=/tmp/yetus-out/report.csv
2930
--console-report-file=/tmp/yetus-out/console.txt

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ script:
3030
precommit/src/main/shell/test-patch.sh
3131
--docker
3232
--patch-dir=/tmp/yetus-out
33-
--java-home=/usr/lib/jvm/java-11-openjdk-amd64
3433
--plugins=all,-detsecrets
3534
--docker-cache-from=ghcr.io/apache/yetus:main
3635
--html-report-file=/tmp/yetus-out/report.html

Jenkinsfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ pipeline {
9595
# enable writing back to Github
9696
YETUS_ARGS+=(--github-token="${GITHUB_TOKEN}")
9797
98-
YETUS_ARGS+=(--java-home=/usr/lib/jvm/java-11-openjdk-amd64)
9998
10099
# enable writing back to ASF JIRA
101100
YETUS_ARGS+=(--jira-issue-re='^YETUS-[0-9]*$')
@@ -133,10 +132,10 @@ pipeline {
133132
# run in docker mode and specifically point to our
134133
# Dockerfile since we don't want to use the auto-pulled version.
135134
if [[ "${USE_DOCKER_FLAG}" == true ]]; then
136-
docker pull ubuntu:jammy
135+
docker pull ubuntu:noble
137136
YETUS_ARGS+=("--docker")
138137
YETUS_ARGS+=("--dockerfile=${YETUS_DOCKERFILE}")
139-
YETUS_ARGS+=("--docker-cache-from=ghcr.io/apache/yetus-base:main")
138+
YETUS_ARGS+=("--docker-cache-from=ghcr.io/apache/yetus:main")
140139
else
141140
# need to figure this out programmatically; hard-coded for now
142141
export JAVA_HOME=/home/jenkins/tools/java/latest1.8

asf-site-src/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ RUN apt-get -q update \
4848
RUN echo "export GPG_TTY=\$(tty)" >> /root/.bashrc
4949
# hadolint disable=DL3059
5050
RUN groupadd --non-unique -g "${GROUP_ID}" "${USER_NAME}" \
51-
&& useradd -l -g "${GROUP_ID}" -u "${USER_ID}" -k /root -m "${USER_NAME}"
51+
&& useradd --non-unique -l -g "${GROUP_ID}" -u "${USER_ID}" -k /root -m "${USER_NAME}"
5252
# hadolint disable=DL3059,SC2039,SC1117
5353
RUN echo -e "${USER_NAME}\\tALL=NOPASSWD: ALL" > "/etc/sudoers.d/yetus-build-${USER_ID}" # pragma: allowlist secret
5454
ENV HOME=/home/${USER_NAME}
@@ -79,10 +79,9 @@ ENV GEM_HOME=${BUNDLE_PATH}
7979
# pre-install most of the middleman stack to save time
8080
# on re-launches
8181
# hadolint ignore=DL3028
82-
RUN gem install bundler \
83-
middleman:'4.5.0' \
82+
RUN gem install bundler:'4.0.8' \
83+
middleman:'4.6.3' \
8484
middleman-syntax \
85-
nokogiri:1.15.4 \
8685
sassc:2.4.0 \
8786
tzinfo-data
8887

asf-site-src/Gemfile.lock

Lines changed: 53 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
GIT
22
remote: https://github.com/middleman/middleman-syntax.git
3-
revision: 2d44853d28766850db2ca800e880270fa7dd8ad6
3+
revision: 89aab5386c40bb99cfe670396e53c334d7ea3460
44
specs:
5-
middleman-syntax (3.4.0)
5+
middleman-syntax (3.6.1)
66
middleman-core (>= 3.2)
7-
rouge (~> 3.2)
7+
rouge (>= 3.2, < 5)
88

99
GEM
1010
remote: https://rubygems.org/
1111
specs:
12-
activesupport (7.2.3.1)
12+
activesupport (8.1.3)
1313
base64
14-
benchmark (>= 0.3)
1514
bigdecimal
1615
concurrent-ruby (~> 1.0, >= 1.3.1)
1716
connection_pool (>= 2.2.5)
1817
drb
1918
i18n (>= 1.6, < 2)
19+
json
2020
logger (>= 1.4.2)
21-
minitest (>= 5.1, < 6)
21+
minitest (>= 5.1)
2222
securerandom (>= 0.3)
2323
tzinfo (~> 2.0, >= 2.0.5)
24-
addressable (2.8.7)
25-
public_suffix (>= 2.0.2, < 7.0)
24+
uri (>= 0.13.1)
25+
addressable (2.8.9)
26+
public_suffix (>= 2.0.2, < 8.0)
2627
base64 (0.3.0)
27-
benchmark (0.5.0)
2828
bigdecimal (4.1.0)
2929
coffee-script (2.4.1)
3030
coffee-script-source
3131
execjs
3232
coffee-script-source (1.12.2)
3333
concurrent-ruby (1.3.6)
3434
connection_pool (3.0.2)
35-
contracts (0.16.1)
36-
dotenv (3.1.7)
35+
contracts (0.17.3)
36+
dotenv (3.2.0)
3737
drb (2.2.3)
3838
em-websocket (0.5.3)
3939
eventmachine (>= 0.12.9)
@@ -42,26 +42,32 @@ GEM
4242
eventmachine (1.2.7)
4343
execjs (2.10.0)
4444
fast_blank (1.0.1)
45-
fastimage (2.4.0)
46-
ffi (1.17.1)
45+
fastimage (2.4.1)
46+
ffi (1.17.4-aarch64-linux-gnu)
47+
ffi (1.17.4-arm64-darwin)
48+
ffi (1.17.4-x86_64-darwin)
49+
ffi (1.17.4-x86_64-linux-gnu)
4750
haml (5.2.2)
4851
temple (>= 0.8.0)
4952
tilt
5053
hamster (3.0.0)
5154
concurrent-ruby (~> 1.0)
52-
hashie (3.6.0)
53-
http_parser.rb (0.8.0)
55+
hashie (5.1.0)
56+
logger
57+
http_parser.rb (0.8.1)
5458
i18n (1.14.8)
5559
concurrent-ruby (~> 1.0)
56-
kramdown (2.5.1)
57-
rexml (>= 3.3.9)
60+
json (2.19.3)
61+
kramdown (2.5.2)
62+
rexml (>= 3.4.4)
5863
kramdown-parser-gfm (1.1.0)
5964
kramdown (~> 2.0)
60-
libv8-node (21.7.2.0-aarch64-linux)
61-
libv8-node (21.7.2.0-arm64-darwin)
62-
libv8-node (21.7.2.0-x86_64-darwin)
63-
libv8-node (21.7.2.0-x86_64-linux)
64-
listen (3.9.0)
65+
libv8-node (24.12.0.1-aarch64-linux)
66+
libv8-node (24.12.0.1-arm64-darwin)
67+
libv8-node (24.12.0.1-x86_64-darwin)
68+
libv8-node (24.12.0.1-x86_64-linux)
69+
listen (3.10.0)
70+
logger
6571
rb-fsevent (~> 0.10, >= 0.10.3)
6672
rb-inotify (~> 0.9, >= 0.9.10)
6773
logger (1.7.0)
@@ -99,45 +105,49 @@ GEM
99105
toml
100106
uglifier (>= 3, < 5)
101107
webrick
102-
middleman-livereload (3.4.7)
108+
middleman-livereload (3.5.0)
103109
em-websocket (~> 0.5.1)
104110
middleman-core (>= 3.3)
105-
rack-livereload (~> 0.3.15)
106-
mini_racer (0.12.0)
107-
libv8-node (~> 21.7.2.0)
108-
minitest (5.27.0)
109-
padrino-helpers (0.15.3)
111+
rack-livereload (~> 0.6.1)
112+
mini_racer (0.20.0)
113+
libv8-node (~> 24.12.0.1)
114+
minitest (6.0.2)
115+
drb (~> 2.0)
116+
prism (~> 1.5)
117+
padrino-helpers (0.16.1)
110118
i18n (>= 0.6.7, < 2)
111-
padrino-support (= 0.15.3)
112-
tilt (>= 1.4.1, < 3)
113-
padrino-support (0.15.3)
114-
parallel (1.26.3)
119+
padrino-support (= 0.16.1)
120+
tilt (>= 2.1, < 3)
121+
padrino-support (0.16.1)
122+
parallel (1.27.0)
115123
parslet (2.0.0)
116-
public_suffix (6.0.1)
117-
rack (3.2.6)
118-
rack-livereload (0.3.17)
119-
rack
124+
prism (1.9.0)
125+
public_suffix (7.0.5)
126+
rack (3.1.20)
127+
rack-livereload (0.6.1)
128+
rack (>= 3.0, < 3.2)
120129
rackup (2.3.1)
121130
rack (>= 3)
122131
rb-fsevent (0.11.2)
123132
rb-inotify (0.11.1)
124133
ffi (~> 1.0)
125-
rexml (3.4.2)
126-
rouge (3.30.0)
134+
rexml (3.4.4)
135+
rouge (4.7.0)
127136
sassc (2.4.0)
128137
ffi (~> 1.9)
129138
securerandom (0.4.1)
130139
servolux (0.13.0)
131-
temple (0.10.3)
132-
thor (1.2.2)
140+
temple (0.10.4)
141+
thor (1.5.0)
133142
tilt (2.7.0)
134143
toml (0.3.0)
135144
parslet (>= 1.8.0, < 3.0.0)
136145
tzinfo (2.0.6)
137146
concurrent-ruby (~> 1.0)
138-
uglifier (3.2.0)
147+
uglifier (4.2.1)
139148
execjs (>= 0.3.0, < 3)
140-
webrick (1.9.1)
149+
uri (1.1.1)
150+
webrick (1.9.2)
141151

142152
PLATFORMS
143153
aarch64-linux
@@ -156,4 +166,4 @@ DEPENDENCIES
156166
wdm (~> 0.1.0)
157167

158168
BUNDLED WITH
159-
2.5.23
169+
4.0.8

asf-site-src/config.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
# limitations under the License.
1818
#
1919

20-
require 'ruby27_fix_uri'
2120
require 'kramdown-parser-gfm'
2221

2322
set :markdown_engine, :kramdown

0 commit comments

Comments
 (0)