Skip to content

Commit 2d99568

Browse files
committed
Merge remote-tracking branch 'origin/main' into fix-account-secondary-storage-config
2 parents 6212271 + caaf25b commit 2d99568

1,446 files changed

Lines changed: 29087 additions & 10151 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.

.asf.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,16 @@ github:
2727
- infrastructure
2828
- java
2929
- python
30-
- hosting
3130
- kvm
31+
- libvirt
3232
- vsphere
33+
- vmware
3334
- xenserver
3435
- xcp-ng
36+
- orchestration
37+
- virtualization
38+
- virtual-machine
39+
- kubernetes
3540

3641
features:
3742
wiki: true
@@ -44,6 +49,11 @@ github:
4449
rebase: false
4550

4651
collaborators:
52+
- kiranchavala
53+
- rajujith
54+
- alexandremattioli
55+
- vishesh92
56+
- soreana
4757
- acs-robot
4858

4959
protected_branches: ~

.github/linters/.flake8

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
# E242 Tab after ','
2121
# E273 Tab after keyword
2222
# E274 Tab before keyword
23+
# E742 Do not define classes named 'I', 'O', or 'l'
24+
# E743 Do not define functions named 'I', 'O', or 'l'
2325
# E901 SyntaxError or IndentationError
2426
# E902 IOError
2527
# W291 Trailing whitespace
@@ -28,4 +30,4 @@
2830
# W391 Blank line at end of file
2931

3032
[flake8]
31-
select = E223,E224,E242,E273,E274,E901,E902,W291,W292,W293,W391
33+
select = E223,E224,E242,E273,E274,E742,E743,E901,E902,W291,W292,W293,W391

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ jobs:
6363
run: |
6464
git clone https://github.com/shapeblue/cloudstack-nonoss.git nonoss && cd nonoss && bash -x install-non-oss.sh && cd ..
6565
rm -fr nonoss
66-
mvn -B -P developer,systemvm -Dsimulator -Dnoredist clean install
66+
mvn -B -P developer,systemvm -Dsimulator -Dnoredist clean install -T$(nproc)

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ jobs:
8080
smoke/test_metrics_api
8181
smoke/test_migration
8282
smoke/test_multipleips_per_nic
83-
smoke/test_nested_virtualization",
83+
smoke/test_nested_virtualization
84+
smoke/test_set_sourcenat",
8485
"smoke/test_network
8586
smoke/test_network_acl
8687
smoke/test_network_ipv6
@@ -124,6 +125,7 @@ jobs:
124125
smoke/test_usage
125126
smoke/test_usage_events
126127
smoke/test_vm_deployment_planner
128+
smoke/test_vm_schedule
127129
smoke/test_vm_life_cycle
128130
smoke/test_vm_lifecycle_unmanage_import
129131
smoke/test_vm_snapshot_kvm
@@ -238,7 +240,7 @@ jobs:
238240
239241
- name: Build with Maven
240242
run: |
241-
mvn -B -P developer,systemvm -Dsimulator clean install -DskipTests=true
243+
mvn -B -P developer,systemvm -Dsimulator clean install -DskipTests=true -T$(nproc)
242244
243245
- name: Setup Simulator Prerequisites
244246
run: |

.github/workflows/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
run: |
4646
git clone https://github.com/shapeblue/cloudstack-nonoss.git nonoss
4747
cd nonoss && bash -x install-non-oss.sh && cd ..
48-
mvn -P quality -Dsimulator -Dnoredist clean install
48+
mvn -P quality -Dsimulator -Dnoredist clean install -T$(nproc)
4949
5050
- uses: codecov/codecov-action@v3
5151
with:

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ on:
2222
branches:
2323
- main
2424

25+
permissions:
26+
contents: read # to fetch code (actions/checkout)
27+
pull-requests: write # for sonar to comment on pull-request
28+
2529
jobs:
2630
build:
2731
if: github.repository == 'apache/cloudstack'
@@ -61,4 +65,4 @@ jobs:
6165
run: |
6266
git clone https://github.com/shapeblue/cloudstack-nonoss.git nonoss
6367
cd nonoss && bash -x install-non-oss.sh && cd ..
64-
mvn -P quality -Dsimulator -Dnoredist clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apache_cloudstack
68+
mvn -T$(nproc) -P quality -Dsimulator -Dnoredist clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apache_cloudstack

.github/workflows/sonar-check.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ name: Sonar Quality Check
2020
on: [pull_request]
2121

2222
permissions:
23-
contents: read
23+
contents: read # to fetch code (actions/checkout)
24+
pull-requests: write # for sonar to comment on pull-request
2425

2526
concurrency:
2627
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -69,4 +70,4 @@ jobs:
6970
run: |
7071
git clone https://github.com/shapeblue/cloudstack-nonoss.git nonoss
7172
cd nonoss && bash -x install-non-oss.sh && cd ..
72-
mvn -P quality -Dsimulator -Dnoredist clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apache_cloudstack -Dsonar.pullrequest.key="$PR_ID" -Dsonar.pullrequest.branch="$HEADREF" -Dsonar.pullrequest.github.repository=apache/cloudstack -Dsonar.pullrequest.provider=GitHub -Dsonar.pullrequest.github.summary_comment=true
73+
mvn -T$(nproc) -P quality -Dsimulator -Dnoredist clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apache_cloudstack -Dsonar.pullrequest.key="$PR_ID" -Dsonar.pullrequest.branch="$HEADREF" -Dsonar.pullrequest.github.repository=apache/cloudstack -Dsonar.pullrequest.provider=GitHub -Dsonar.pullrequest.github.summary_comment=true

.pre-commit-config.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,18 @@ repos:
2626
- id: identity
2727
- id: check-hooks-apply
2828
- repo: https://github.com/pre-commit/pre-commit-hooks
29-
rev: v4.1.0
29+
rev: v4.4.0
3030
hooks:
3131
#- id: check-added-large-files
32-
#- id: check-case-conflict
32+
- id: check-case-conflict
3333
#- id: check-executables-have-shebangs
3434
#- id: check-merge-conflict
35-
#- id: check-vcs-permalinks
35+
- id: check-vcs-permalinks
3636
#- id: check-yaml
3737
#- id: detect-private-key
38-
#- id: end-of-file-fixer
38+
- id: end-of-file-fixer
39+
files: \.(java|md|py|txt|yaml|yml)$
3940
#- id: fix-byte-order-marker
4041
- id: mixed-line-ending
41-
files: \.(java|py)$
42+
files: \.(java|md|py|txt|yaml|yml)$
4243
# - id: trailing-whitespace

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Fork the repository by clicking on the 'Fork' button on the top right hand side.
4242

4343
On your computer, follow these steps to setup a local repository for working on ACS:
4444

45-
``` bash
45+
```bash
4646
$ git clone https://github.com/YOUR_ACCOUNT/cloudstack.git
4747
$ cd cloudstack
4848
$ git remote add upstream https://github.com/apache/cloudstack.git
@@ -60,7 +60,7 @@ It is important that you create a new branch to make changes on and that you do
6060

6161
It is best practice to create a new branch each time you want to contribute to the project and only track the changes for that pull request in this branch.
6262

63-
``` bash
63+
```bash
6464
$ git checkout -b feature_x
6565
(make your changes)
6666
$ git status
@@ -82,7 +82,7 @@ This process will do the following:
8282
2. Synchronize your local `main` branch with the `upstream/main` so you have all the latest changes from the project
8383
3. Rebase the latest project code into your `feature_x` branch so it is up-to-date with the upstream code
8484

85-
``` bash
85+
```bash
8686
$ git checkout main
8787
$ git fetch upstream
8888
$ git rebase upstream/main
@@ -102,7 +102,7 @@ Please include JIRA id, detailed information about the bug/feature, what all tes
102102

103103
> **IMPORTANT:** Make sure you have rebased your `feature_x` branch to include the latest code from `upstream/main` _before_ you do this.
104104
105-
``` bash
105+
```bash
106106
$ git push origin main
107107
$ git push origin feature_x
108108
```
@@ -128,7 +128,7 @@ Once the `feature_x` branch has been committed into the `upstream/main` branch,
128128
129129
You can delete these deprecated branches with the following:
130130

131-
``` bash
131+
```bash
132132
$ git checkout main
133133
$ git branch -D feature_x
134134
$ git push origin :feature_x

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ This distribution includes cryptographic software. The country in which you curr
135135
reside may have restrictions on the import, possession, use, and/or re-export to another
136136
country, of encryption software. BEFORE using any encryption software, please check your
137137
country's laws, regulations and policies concerning the import, possession, or use, and
138-
re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/
138+
re-export of encryption software, to see if this is permitted. See [The Wassenaar Arrangement](http://www.wassenaar.org/)
139139
for more information.
140140

141141
The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has

0 commit comments

Comments
 (0)