Skip to content

Commit 257598a

Browse files
authored
[CI] Disable Mimir JGroups node (#2212)
We do not utilize LAN sharing on CI, caches are "local" only. Also, as can be seen, Jgroups may fail to start on Windoze.
1 parent 3c6b91b commit 257598a

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/ci-mimir-daemon.properties

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
# Mimir Daemon properties
19+
20+
# Disable JGroups; we don't want/use LAN cache sharing
21+
mimir.jgroups.enabled=false

.github/workflows/maven.yml

+6
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ jobs:
4545
shell: bash
4646
run: |
4747
mkdir -p ~/.m2
48+
mkdir -p ~/.mimir
4849
cp .github/ci-extensions.xml ~/.m2/extensions.xml
50+
cp .github/ci-mimir-daemon.properties ~/.mimir/daemon.properties
4951
5052
- name: Handle Mimir caches
5153
uses: actions/cache@v4
@@ -112,7 +114,9 @@ jobs:
112114
shell: bash
113115
run: |
114116
mkdir -p ~/.m2
117+
mkdir -p ~/.mimir
115118
cp .github/ci-extensions.xml ~/.m2/extensions.xml
119+
cp .github/ci-mimir-daemon.properties ~/.mimir/daemon.properties
116120
117121
- name: Handle Mimir caches
118122
uses: actions/cache@v4
@@ -193,7 +197,9 @@ jobs:
193197
shell: bash
194198
run: |
195199
mkdir -p ~/.m2
200+
mkdir -p ~/.mimir
196201
cp .github/ci-extensions.xml ~/.m2/extensions.xml
202+
cp .github/ci-mimir-daemon.properties ~/.mimir/daemon.properties
197203
198204
- name: Handle Mimir caches
199205
uses: actions/cache@v4

0 commit comments

Comments
 (0)