Skip to content

Commit 7940a7c

Browse files
committed
Resolve conflicts
2 parents acde1d9 + dbda673 commit 7940a7c

File tree

3,187 files changed

+293373
-134384
lines changed

Some content is hidden

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

3,187 files changed

+293373
-134384
lines changed

.asf.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,20 @@ github:
5151

5252
collaborators:
5353
- acs-robot
54-
- rajujith
55-
- GaOrtiga
56-
- SadiJr
57-
- winterhazel
5854
- gpordeus
5955
- hsato03
60-
- bernardodemarco
61-
- abh1sar
6256
- FelipeM525
57+
- lucas-a-martins
58+
- nicoschmdt
59+
- abh1sar
60+
- rosi-shapeblue
61+
- sudo87
62+
- erikbocks
6363

6464
protected_branches: ~
6565

6666
notifications:
67-
68-
67+
68+
6969
pullrequests: [email protected]
70-
discussions: [email protected]
70+
discussions: [email protected]

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with 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,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
description: "Thank you for reporting a bug!"
18+
name: bug
19+
title: "[SHORT PROBLEM DESCRIPTION]"
20+
labels: bug, needs-triageing
21+
body:
22+
- type: markdown
23+
attributes:
24+
value: "## Welcome, please describe your problem below;"
25+
- type: textarea
26+
attributes:
27+
label: problem
28+
value: The long description of your problem
29+
- type: markdown
30+
attributes:
31+
value: "## What versions of cloudstack and any infra components are you using"
32+
- type: textarea
33+
attributes:
34+
label: versions
35+
value: The versions of ACS, hypervisors, storage, network etc..
36+
- type: textarea
37+
attributes:
38+
label: The steps to reproduce the bug
39+
value: |
40+
1.
41+
2.
42+
3.
43+
...
44+
- type: textarea
45+
attributes:
46+
label: "What to do about it?"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with 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,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
description: "Thank you for your new feature idea!"
18+
name: feature
19+
title: "[SHORT FUNCTIONAL DESCRIPTION]"
20+
labels: new
21+
body:
22+
- type: textarea
23+
attributes:
24+
label: "The required feature described as a wish"
25+
value: As a User/Admin/Operator I would like to , ... have the system make my morning coffee.

.github/linters/.markdown-lint.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,36 +18,21 @@
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

2724
# MD007/ul-indent Unordered list indentation
2825
MD007: false
2926

30-
# MD009/no-trailing-spaces Trailing spaces
31-
MD009: false
32-
3327
# MD010/no-hard-tabs Hard tabs
3428
MD010: false
3529

36-
# MD012/no-multiple-blanks Multiple consecutive blank lines
37-
MD012: false
38-
3930
# MD013/line-length Line length
4031
MD013: false
4132

4233
# MD014/commands-show-output Dollar signs used before commands without showing output
4334
MD014: false
4435

45-
# MD018/no-missing-space-atx No space after hash on atx style heading
46-
MD018: false
47-
48-
# MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading
49-
MD019: false
50-
5136
# MD022/blanks-around-headings Headings should be surrounded by blank lines
5237
MD022: false
5338

@@ -98,3 +83,6 @@ MD046: false
9883

9984
# MD052/reference-links-images Reference links and images should use a label that is defined
10085
MD052: false
86+
87+
# MD059/descriptive-link-text Link text should be descriptive
88+
MD059: false

.github/linters/.yamllint.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with 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,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
---
18+
extends: relaxed
19+
20+
rules:
21+
line-length:
22+
max: 400 # Very forgiving for GitHub Actions and infrastructure files
23+
indentation: disable # Disable indentation checking for existing files
24+
comments: disable # Disable comment formatting checks
25+
brackets: disable # Disable bracket spacing checks
26+
colons:
27+
max-spaces-after: -1 # Allow any number of spaces after colon
28+
max-spaces-before: 0
29+
document-start: disable # Many files don't have ---
30+
truthy:
31+
allowed-values: ['true', 'false', 'on', 'off', 'yes', 'no']

.github/linters/codespell.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,12 @@ encryted
183183
enebled
184184
enmpty
185185
entires
186-
enviornment
187186
environmnet
188187
equivalant
189188
erro
190189
erronous
191190
everthing
192191
everytime
193-
excetion
194-
excption
195192
excute
196193
execept
197194
execption
@@ -378,6 +375,7 @@ propogate
378375
provison
379376
psudo
380377
pyhsical
378+
re-use
381379
readabilty
382380
readd
383381
reccuring
@@ -414,7 +412,6 @@ retriving
414412
retrun
415413
retuned
416414
returing
417-
re-use
418415
rever
419416
rocessor
420417
runing

.github/workflows/build.yml

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

35-
- name: Set up JDK 11
36-
uses: actions/setup-java@v4
35+
- name: Set up JDK 17
36+
uses: actions/setup-java@v5
3737
with:
38-
java-version: '11'
39-
distribution: 'adopt'
40-
architecture: x64
41-
cache: maven
38+
distribution: 'temurin'
39+
java-version: '17'
40+
cache: 'maven'
4241

4342
- name: Set up Python
44-
uses: actions/setup-python@v5
43+
uses: actions/setup-python@v6
4544
with:
4645
python-version: '3.10'
4746
architecture: 'x64'

.github/workflows/ci.yml

Lines changed: 36 additions & 14 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
@@ -89,7 +89,10 @@ jobs:
8989
smoke/test_nested_virtualization
9090
smoke/test_set_sourcenat
9191
smoke/test_webhook_lifecycle
92-
smoke/test_purge_expunged_vms",
92+
smoke/test_purge_expunged_vms
93+
smoke/test_extension_lifecycle
94+
smoke/test_extension_custom_action_lifecycle
95+
smoke/test_extension_custom",
9396
"smoke/test_network
9497
smoke/test_network_acl
9598
smoke/test_network_ipv6
@@ -137,6 +140,7 @@ jobs:
137140
smoke/test_vm_deployment_planner
138141
smoke/test_vm_strict_host_tags
139142
smoke/test_vm_schedule
143+
smoke/test_deploy_vgpu_enabled_vm
140144
smoke/test_vm_life_cycle
141145
smoke/test_vm_lifecycle_unmanage_import
142146
smoke/test_vm_snapshot_kvm
@@ -165,7 +169,8 @@ jobs:
165169
component/test_cpu_limits
166170
component/test_cpu_max_limits
167171
component/test_cpu_project_limits
168-
component/test_deploy_vm_userdata_multi_nic",
172+
component/test_deploy_vm_userdata_multi_nic
173+
component/test_deploy_vm_lease",
169174
"component/test_egress_fw_rules
170175
component/test_invalid_gw_nm
171176
component/test_ip_reservation",
@@ -212,32 +217,49 @@ jobs:
212217
smoke/test_list_volumes"]
213218

214219
steps:
215-
- uses: actions/checkout@v4
220+
- uses: actions/checkout@v5
216221
with:
217222
fetch-depth: 0
218223

219-
- name: Set up JDK
220-
uses: actions/setup-java@v4
224+
- name: Set up JDK 17
225+
uses: actions/setup-java@v5
221226
with:
222-
java-version: '11'
223-
distribution: 'adopt'
224-
architecture: x64
225-
cache: maven
227+
distribution: 'temurin'
228+
java-version: '17'
229+
cache: 'maven'
226230

227231
- name: Set up Python
228-
uses: actions/setup-python@v5
232+
uses: actions/setup-python@v6
229233
with:
230234
python-version: '3.10'
231235
architecture: 'x64'
232236

233237
- name: Install Build Dependencies
234238
run: |
235239
sudo apt-get update
236-
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
240+
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
241+
242+
- name: Setup IPMI Tool for CloudStack
243+
run: |
244+
# Create cloudstack-common directory if it doesn't exist
245+
sudo mkdir -p /usr/share/cloudstack-common
246+
247+
# Copy ipmitool to cloudstack-common directory if it doesn't exist
248+
if [ ! -f /usr/share/cloudstack-common/ipmitool ]; then
249+
sudo cp /usr/bin/ipmitool /usr/share/cloudstack-common/ipmitool
250+
sudo chmod 755 /usr/share/cloudstack-common/ipmitool
251+
fi
252+
253+
# Create ipmitool-C3 wrapper script
254+
sudo tee /usr/bin/ipmitool > /dev/null << 'EOF'
255+
#!/bin/bash
256+
/usr/share/cloudstack-common/ipmitool -C3 $@
257+
EOF
258+
sudo chmod 755 /usr/bin/ipmitool
237259
238260
- name: Install Python dependencies
239261
run: |
240-
python3 -m pip install --user --upgrade urllib3 lxml paramiko nose texttable ipmisim pyopenssl pycrypto mock flask netaddr pylint pycodestyle six astroid
262+
python3 -m pip install --user --upgrade urllib3 lxml paramiko nose texttable ipmisim pyopenssl pycryptodome mock flask netaddr pylint pycodestyle six astroid pynose
241263
242264
- name: Install jacoco dependencies
243265
run: |
@@ -272,7 +294,7 @@ jobs:
272294
- name: Setup Simulator Prerequisites
273295
run: |
274296
sudo python3 -m pip install --upgrade netaddr mysql-connector-python
275-
python3 -m pip install --user --upgrade tools/marvin/dist/Marvin-*.tar.gz
297+
python3 -m pip install --user --upgrade tools/marvin/dist/[mM]arvin-*.tar.gz
276298
mvn -q -Pdeveloper -pl developer -Ddeploydb
277299
mvn -q -Pdeveloper -pl developer -Ddeploydb-simulator
278300

.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'

0 commit comments

Comments
 (0)