storpool: fix pom.xml which caused docker image build failures#7845
Conversation
steps to reproduce the issue: - git clone https://github.com/apache/cloudstack.git - cd cloudstack - rm -rf .git/ - run `mvn -P developer,systemvm clean install` Without this PR, it fails with error ``` > [ 8/10] RUN mvn -Pdeveloper -Dsimulator -DskipTests clean install: 668.1 [ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:4.9.10:revision (get-the-git-infos) on project cloud-plugin-storage-volume-storpool: .git directory is not found! Please specify a valid [dotGitDirectory] in your pom.xml -> [Help 1] ```
|
@blueorangutan package |
|
@weizhouapache a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov Report
@@ Coverage Diff @@
## 4.18 #7845 +/- ##
=========================================
Coverage 13.02% 13.02%
Complexity 9032 9032
=========================================
Files 2720 2720
Lines 257076 257076
Branches 40088 40088
=========================================
Hits 33475 33475
Misses 219397 219397
Partials 4204 4204 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6737 |
|
change looks sane, but does the docker build need to delete the .git directory @weizhouapache ? |
@DaanHoogland |
ok, if it is otherwise out of our control let's merge |
slavkap
left a comment
There was a problem hiding this comment.
LGTM but didn't tested it with docker
yes. |
|
thanks @DaanHoogland @slavkap |
|
the latest build succeeded. |
Description
This PR fixes the issue which can be reproduced by steps below:
mvn -P developer,systemvm clean installWithout this PR, it fails with error
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?