57 Commits

Author SHA1 Message Date
Daniel Augusto Veronezi Salvador
84538da27c Updating pom.xml version numbers for release 4.18.2.5
Signed-off-by: Daniel Augusto Veronezi Salvador <gutoveronezi@apache.org>
2024-11-05 00:54:55 -03:00
Wei Zhou
ea2b537985
fix tools/build/setnextversion.sh: do not update tools/apidoc/pom.xml (#7163)
Steps to reproduce the issue

(1) on ubuntu server, run "git checkout 4.17.2.0"
(2) packaging
cd packaging/
./build-deb.sh -b test1

expected result: succeed
actual result:

[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.cloudstack:cloud-apidoc:4.17.2.0-test1-test1 (/data/cloudstack/tools/apidoc/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.apache.cloudstack:cloud-apidoc:4.17.2.0-test1-test1: Could not find artifact org.apache.cloudstack:cloud-tools:pom:4.17.2.0-test1-test1 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 25, column 13 -> [Help 2]
2023-05-08 13:00:36 +02:00
Suresh Kumar Anaparti
958182481e cloudstack: make code more inclusive
Inclusivity changes for CloudStack

- Change default git branch name from 'master' to 'main' (post renaming/changing default git branch to 'main' in git repo)
- Rename some offensive words/terms as appropriate for inclusiveness.

This PR updates the default git branch to 'main', as part of #4887.

Signed-off-by: Suresh Kumar Anaparti <suresh.anaparti@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-06-08 15:47:20 +05:30
Rohit Yadav
0a401eb92d Merge remote-tracking branch 'origin/4.14' into 4.15
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-03-05 10:48:26 +05:30
Rohit Yadav
370d3f2e8e
build: deprecate and remove md5 from releases (#4751)
This removes MD5 checksum created as part of release work due to ASF
infra policy to deprecate MD5:
https://infra.apache.org/release-distribution#sigs-and-sums

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-03-05 10:46:52 +05:30
dahn
6f361c3760
tools: format of checksum files convenient for automated checking (#4688)
Co-authored-by: Daan Hoogland <dahn@onecht.net>
2021-02-23 16:25:06 +05:30
Rohit Yadav
89053c7612
packaging: deprecate el6 and add 4.13-4.14 upgrade path (#3591)
- Removes CentOS6/el6 packaging (voting thread reference https://markmail.org/message/u3ka4hwn2lzwiero)
- Add upgrade path from 4.13 to 4.14
- Enable live storage migration support for KVM by default as el6 is deprecated
- PRs using live storage migration
  #2997 KVM VM live migration with ROOT volume on file storage type
  #2983 KVM live storage migration intra cluster from NFS source and destination
  #2298 CLOUDSTACK-9620: Enhancements for managed storage

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2019-09-19 10:01:08 +05:30
Abhishek
d0fbd00e9b tools: Added '-B' flag for mvn current version cmd (#2910) (#2914)
maven command for finding current version might need to download packages and without batch mode it will end in variable. Added '-B' to enable batch mode.
2018-10-22 22:04:42 +05:30
Khosrow Moossavi
56f918583d Remove 'iam' projects (#2817)
* Remove 'iam' projects

* Drop corresponding tables
2018-09-11 13:06:20 -03:00
Khosrow Moossavi
7c6630bca7 Cleanup POMs (#2613)
* Cleaup and code-formatting POM files

* Remove obsolete mycila license-maven-plugin

* Remove obsolete console-proxy/plugin project

* Move console-proxy-rdbconsole under console-proxy parent

* Use correct parent path for rdpconsole

* Order alphabetally items in setnextversion.sh

* Unifiy License header in POMs

* Alphabetic order of modules definition

* Extract all defined versions into parent pom

* Remove obsolete files: version-info.in, configure-info.in

* Remove redundant defaultGoal

* Remove useless checkstyle plugin from checkstyle project

* Order alphabetally items in pom.xml

* Add aditional SPACEs to fix debian build

* Don't execute checkstyle on parent projects

* Use UTF-8 encoding in building checkstyle project

* Extract plugin versions into properties

* Execute PMD plugin on all the projects with -Penablefindbugs

* Upgrade maven plugins to latest version

* Make sure to always look for apache parent pom from repository

* Fix incorrect version grep in debian packaging

* Fix rebase conflicts

* Fix rebase conflicts

* Remove PMD for now to be fixed on another PR
2018-07-25 14:39:37 -03:00
Khosrow Moossavi
1708838518 CLOUDSTACK-10268: Fix and enhance package script (#2433)
- new flag `-T, --use-timestamp` to use `timestamp` when POM version contains SNAPSHOT
  - in the final artifacts (jar) name
  - in the final package (rpm, deb) name
  - in `/etc/cloudstack-release` file of SystemVMs
  - in the Management Server > About dialog
- if there's a "branding" string in the POM version (e.g. `x.y.z.a-NAME[-SNAPSHOT]`),
the branding name will be used in the final generated pacakge name such as following:
  - `cloudstack-management-x.y.z.a-NAME.NUMBER.el7.centos.x86_64`
  - `cloudstack-management_x.y.z.a-NAME-NUMBER~xenial_all.deb`
- branding string can be overriden with newly added `-b, --brand` flag
- handle the new format version for VR version
- fix long opts (they were broken)
- tolerate and show a warning message for unrecognized flags
- usage help reformat

* Deprecate Version class in favor or CloudStackVersion
2018-03-15 10:55:29 +00:00
Rohit Yadav
a90b60063e Merge branch '4.9' into 4.10 2017-09-11 12:41:14 +05:30
Rohit Yadav
85e57d1155 CLOUDSTACK-10069: Add sha512 suffix to SHA 512 checksum (#2262)
Per http://www.apache.org/dev/release-distribution#sigs-and-sums
This will add `.sha512` to the SHA 512 checksum file in the
release/candidate tarball.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-11 12:40:06 +05:30
Rohit Yadav
f2798403b5 Merge pull request #1815 from pdion891/dockerfile4.10.0
Fix docker image build for cloudstack-managementCLOUDSTACK-9651

Fix Docker images build for 4.10.0.0:
- simulator
- marvin
- management_centos6

Squashed version of #1435.

* pr/1815:
  CLOUDSTACK-9651; fix docker image build for cloudstack-management, simulator and marvin for 4.10.0.0 close #1435

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-12-09 13:34:27 +05:30
Pierre-Luc Dion
f88a1082c2 CLOUDSTACK-9651; fix docker image build for cloudstack-management, simulator and marvin for 4.10.0.0
close #1435
2016-12-02 17:39:16 -05:00
Rohit Yadav
77d2984494 CLOUDSTACK-9648: Fix release script to update checkstyle pom
This fixes build_asf.sh release script to update checkstyle pom.xml with the
provided new version.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-12-02 13:23:41 +05:30
Remi Bergsma
97b5e12704 build_asf.sh: fix debian changelog altering
The script already adds a new entry so we shouldn't replace the
previous one. That is done only in the next version script.
2015-12-13 20:41:56 +01:00
Remi Bergsma
7d7420fd1e Use version for RC branch name instead of branch
4.6.1-RC20151130T2142 versus 4.6-RC20151130T2142
2015-11-30 22:21:04 +01:00
Remi Bergsma
df3ce171e8 make sure all files are updates with new version 2015-11-30 21:39:02 +01:00
Rohit Yadav
f7778194f0 tools: fix build_asf.sh release script to remove -SNAPSHOT from bunch of files
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit cc63611cc24f67fcfa8d8cd13e9da445d9220c1e)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-14 13:55:18 +05:30
Daan Hoogland
797a7f05ff use version in branchname if branch is master 2015-06-19 00:01:43 +02:00
David Nalley
d161642f69 make the date command actually work 2015-01-12 17:46:12 -05:00
Daan Hoogland
dd508b3b9f sign release branch instead of release tree
edit checkstyle pom on rc creation
xapi release version dep
update debian package changelog on version upgrade

sign release branch instead of release tree
2014-11-25 15:09:04 +01:00
Daan Hoogland
7ccf4bd169 release branch fix
(cherry picked from commit c6e00c6825509bb56dcafea2947e89b7b9e396b3)
2014-06-04 15:04:58 +02:00
Daan Hoogland
3da5de545e create a (mini-)branch instead of creating a commit to revert 2013-12-23 14:35:29 +01:00
Darren Shepherd
23ddf29532 Fix vmware code inclusion into systemvm.iso and other random nonoss->noredist 2013-10-07 09:20:41 -07:00
Chip Childers
86aafa2db6 Fixing setnextversion.sh 2013-07-31 11:08:43 -04:00
Chip Childers
7df0d3a23b Updating build_asf from the 4.1 branch, where I fixed a couple of things 2013-07-25 12:30:21 -04:00
Chip Childers
c064afe069 Adding new release manager scripts to master (used for 4.1.0 RCs)
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-22 12:48:44 -04:00
Chip Childers
ce8c2eb8a5 Removing 'incubator' from the default source dir
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-04-18 14:54:42 -04:00
Joe Brockmeier
51b4ee26ec Updating build_asf.sh to remove incubating references. 2013-04-15 22:35:52 -05:00
Wido den Hollander
c5b10a71df tools: Add option to specify publican configuration file for building the docs 2013-04-13 11:13:01 +02:00
Wido den Hollander
0f8a46c580 tools: Allow setting the output format for the docs 2013-04-12 15:07:54 +02:00
Wido den Hollander
6d4b035f2c tools: A small fix for the script to build the docs with 2013-04-12 15:07:53 +02:00
Wido den Hollander
5e44e61127 docs: Build the installation guide instead of "all"
It seems that all the work is going into the installation guide instead
of the "-all" docs.

With this commit we build the installation guide documentation.
2012-10-22 12:08:11 +02:00
Chip Childers
a82761dfe3 Removed KEYS file copy operation from the source build script.
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-10-12 15:38:52 -04:00
Chip Childers
8c31af0e1c Source build modified to produce *.tar.bz2 instead of *.tar.gz
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-10-12 14:06:53 -04:00
Chip Childers
578bca08cb Dropping .zip archive format from the source build
This is due to the nature of ASF release votes,
and the desire to see each individual artifact be tested.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-10-12 11:08:12 -04:00
Edison Su
f78d9783f1 CLOUDSTACK-248: install cloud-scripts twice during upgrade 2012-10-05 12:02:10 -07:00
David Nalley
bae835d6c3 adding an option to the build script to permit setting a pgp key with which to sign 2012-10-05 00:27:58 -04:00
Alex Huang
02ca9c25b3 Applied patch to get rid of cloud-premium 2012-10-01 17:16:09 -07:00
Wido den Hollander
77d74c65d9 Add license header for build_docs.sh 2012-09-24 15:30:23 +02:00
Wido den Hollander
a7b82f7b0b docs: Add build script
There is currently no script to build the docs with, this is an easy script
to build them.

An example how I use it:
$ cd ~wido/repos/cloudstack
$ tools/build/build_docs.sh -s $(echo ~wido/repos/cloudstack)
2012-09-24 14:40:00 +02:00
Edison Su
14dd9cd197 CLOUDSTACK-75: Modified installer text from 'Cloud.com CloudStack' to 'Apache CloudStack 2012-09-20 14:37:44 -07:00
Chip Childers
d501b34b09 Fixed some file name issues for the build_asf.sh script 2012-09-19 14:16:16 -04:00
Edison Su
cc92a4ce78 add deb/rpm install.sh 2012-09-18 15:55:43 -07:00
Chip Childers
ff81d0000e Resolving CLOUDSTACK-49 : Correct the source tar.gz and zip extract folder names to match the release artifact name. 2012-09-07 14:15:54 -04:00
Chip Childers
6ec623d2d5 Fixed file names in the build_asf.sh script 2012-09-07 13:36:09 -04:00
Chip Childers
975b16775d Fixed artifact names in build_asf script 2012-09-07 12:05:23 -04:00
Chip Childers
19a3037325 ASF build process improvements. 2012-09-04 16:24:19 -04:00