15 Commits

Author SHA1 Message Date
Daniel Augusto Veronezi Salvador
c146449ab8
Create profiles to download systemvm-templates (#5602)
* Create profiles to download systemvm-templates

* Rename profiles

* Add support to pass necessary flags to the packaging jobs

* Escape flags

Co-authored-by: GutoVeronezi <daniel@scclouds.com.br>
Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>
2022-03-17 00:55:27 -03:00
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
Bruno P. Kinoshita
34ada079d3 s/pacakge/package (#2812) 2018-08-20 10:14:25 +02:00
Khosrow Moossavi
11075953f6 packaging: Catch error in packaging script and fail the build (#2627)
This is to fix the regression added in #2433. In this fix
we're going to fail the build early if --use-timestamp is
provided and working directory is *not* clean.
2018-05-09 21:43:07 +05:30
Khosrow Moossavi
af52b1a873 CLOUDSTACK-10268: Fix typo (#2495)
This fixes typo introduced in PR #2433
2018-03-19 11:46:29 +05:30
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
David Amorim Faria
adb0d3bb74 CLOUDSTACK-9065: fix bug when creating packaging with noredist flag 2015-11-25 01:41:22 +01:00
David Amorim Faria
e66dd8c1e0 Refactor package.sh:
* lint
 * adjust exit codes (1 for usage, 2 for maven, 3 for rpmbuild)
 * variable naming consistency
 * add option for package release version
 * revise synopsis and usage
2015-11-16 19:30:25 +01:00
ghxandsky
b6d9163ae2 Add distribution fedora21 in packaging/package.sh 2015-02-26 22:54:04 +08:00
Laszlo Hornyak
7340748b5c CLOUDSTACK-8163: added fedora 20 to the help text of the package script
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2015-02-21 18:41:52 +01:00
Daan Hoogland
ee82033da1 mvn on buildslaves that don't have it in path and then call it 2015-02-19 13:07:03 +01:00
Daan Hoogland
45a3ad2186 mvn on buildslaves that don't have it in path 2015-02-19 11:58:40 +01:00
Laszlo Hornyak
6b058b0203 removed -o|--operating-system from the package.sh help text
it does not handle the arguments, it warns for unknown option when using it

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-12-04 18:22:32 +01:00
Laszlo Hornyak
2fc3883ac0 syntax fix for packaging OSS
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-12-04 18:22:19 +01:00
Hugo Trippaers
870ede5a04 Add improved support for packaging CloudStack for CentOS 7 2014-11-24 18:14:26 +01:00