Skip to content

Commit c76a7f4

Browse files
authored
Merge branch 'main' into fix-spelling-grammar-case-whitespace
2 parents 3e90ab6 + b1851ba commit c76a7f4

File tree

189 files changed

+35968
-34047
lines changed

Some content is hidden

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

189 files changed

+35968
-34047
lines changed

.asf.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ github:
5959
- abh1sar
6060
- rosi-shapeblue
6161
- sudo87
62+
- erikbocks
6263

6364
protected_branches: ~
6465

.github/linters/.markdown-lint.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
# MD001/heading-increment Heading levels should only increment by one level at a time
1919
MD001: false
2020

21-
# MD003/heading-style Heading style
22-
MD003: false
23-
2421
# MD004/ul-style Unordered list style
2522
MD004: false
2623

.github/linters/codespell.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ propogate
375375
provison
376376
psudo
377377
pyhsical
378+
re-use
378379
readabilty
379380
readd
380381
reccuring
@@ -411,7 +412,6 @@ retriving
411412
retrun
412413
retuned
413414
returing
414-
re-use
415415
rever
416416
rocessor
417417
runing

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ jobs:
3030
build:
3131
runs-on: ubuntu-22.04
3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v5
3434

3535
- name: Set up JDK 17
36-
uses: actions/setup-java@v4
36+
uses: actions/setup-java@v5
3737
with:
3838
distribution: 'temurin'
3939
java-version: '17'
4040
cache: 'maven'
4141

4242
- name: Set up Python
43-
uses: actions/setup-python@v5
43+
uses: actions/setup-python@v6
4444
with:
4545
python-version: '3.10'
4646
architecture: 'x64'

.github/workflows/ci.yml

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ permissions:
2929
jobs:
3030
build:
3131
if: github.repository == 'apache/cloudstack'
32-
runs-on: ubuntu-22.04
32+
runs-on: ubuntu-24.04
3333

3434
strategy:
3535
fail-fast: false
@@ -216,27 +216,45 @@ jobs:
216216
smoke/test_list_volumes"]
217217

218218
steps:
219-
- uses: actions/checkout@v4
219+
- uses: actions/checkout@v5
220220
with:
221221
fetch-depth: 0
222222

223223
- name: Set up JDK 17
224-
uses: actions/setup-java@v4
224+
uses: actions/setup-java@v5
225225
with:
226226
distribution: 'temurin'
227227
java-version: '17'
228228
cache: 'maven'
229229

230230
- name: Set up Python
231-
uses: actions/setup-python@v5
231+
uses: actions/setup-python@v6
232232
with:
233233
python-version: '3.10'
234234
architecture: 'x64'
235235

236236
- name: Install Build Dependencies
237237
run: |
238238
sudo apt-get update
239-
sudo apt-get install -y git uuid-runtime genisoimage netcat ipmitool build-essential libgcrypt20 libgpg-error-dev libgpg-error0 libopenipmi0 ipmitool libpython3-dev libssl-dev libffi-dev python3-openssl python3-dev python3-setuptools
239+
sudo apt-get install -y git uuid-runtime genisoimage netcat-openbsd ipmitool build-essential libgcrypt20 libgpg-error-dev libgpg-error0 libopenipmi0 ipmitool libpython3-dev libssl-dev libffi-dev python3-openssl python3-dev python3-setuptools
240+
241+
- name: Setup IPMI Tool for CloudStack
242+
run: |
243+
# Create cloudstack-common directory if it doesn't exist
244+
sudo mkdir -p /usr/share/cloudstack-common
245+
246+
# Copy ipmitool to cloudstack-common directory if it doesn't exist
247+
if [ ! -f /usr/share/cloudstack-common/ipmitool ]; then
248+
sudo cp /usr/bin/ipmitool /usr/share/cloudstack-common/ipmitool
249+
sudo chmod 755 /usr/share/cloudstack-common/ipmitool
250+
fi
251+
252+
# Create ipmitool-C3 wrapper script
253+
sudo tee /usr/bin/ipmitool > /dev/null << 'EOF'
254+
#!/bin/bash
255+
/usr/share/cloudstack-common/ipmitool -C3 $@
256+
EOF
257+
sudo chmod 755 /usr/bin/ipmitool
240258
241259
- name: Install Python dependencies
242260
run: |
@@ -275,7 +293,7 @@ jobs:
275293
- name: Setup Simulator Prerequisites
276294
run: |
277295
sudo python3 -m pip install --upgrade netaddr mysql-connector-python
278-
python3 -m pip install --user --upgrade tools/marvin/dist/Marvin-*.tar.gz
296+
python3 -m pip install --user --upgrade tools/marvin/dist/[mM]arvin-*.tar.gz
279297
mvn -q -Pdeveloper -pl developer -Ddeploydb
280298
mvn -q -Pdeveloper -pl developer -Ddeploydb-simulator
281299

.github/workflows/codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
name: codecov
3333
runs-on: ubuntu-22.04
3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v5
3636
with:
3737
fetch-depth: 0
3838

3939
- name: Set up JDK 17
40-
uses: actions/setup-java@v4
40+
uses: actions/setup-java@v5
4141
with:
4242
distribution: 'temurin'
4343
java-version: '17'

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
language: ["actions"]
3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@v5
3939
- name: Initialize CodeQL
4040
uses: github/codeql-action/init@v3
4141
with:

.github/workflows/docker-cloudstack-simulator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Set Docker repository name
4848
run: echo "DOCKER_REPOSITORY=apache" >> $GITHUB_ENV
4949

50-
- uses: actions/checkout@v4
50+
- uses: actions/checkout@v5
5151

5252
- name: Set ACS version
5353
run: echo "ACS_VERSION=$(grep '<version>' pom.xml | head -2 | tail -1 | cut -d'>' -f2 |cut -d'<' -f1)" >> $GITHUB_ENV

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-22.04
3333
steps:
3434
- name: Check Out
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v5
3636
- name: Install
3737
run: |
3838
python -m pip install --upgrade pip

.github/workflows/main-sonar-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
name: Main Sonar JaCoCo Build
3333
runs-on: ubuntu-22.04
3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v5
3636
with:
3737
fetch-depth: 0
3838

3939
- name: Set up JDK17
40-
uses: actions/setup-java@v4
40+
uses: actions/setup-java@v5
4141
with:
4242
distribution: 'temurin'
4343
java-version: '17'

0 commit comments

Comments
 (0)