Commit Graph

267 Commits

Author SHA1 Message Date
Isaac Connor 6e32e86f10
Merge pull request #3019 from Carbenium/ci-packpack-exit-code
CI: Make sure the Travis build fails if packpack exits with an error code
2020-08-24 18:06:59 -04:00
Isaac Connor 2e4baba740 I have deprecated support for trusty, precise, really old debian. 2020-08-24 18:06:14 -04:00
Peter Keresztes Schmidt 409f740623 CI: Make sure the Travis build fails if packpack exits with an error code 2020-08-24 23:11:36 +02:00
Isaac Connor 2a7ea52330 Merge branch 'release-1.34' 2020-08-23 11:51:54 -04:00
Isaac Connor cf63cc65c8 eoan is deprecated. 2020-08-23 11:42:08 -04:00
Isaac Connor d42424d6d8 Merge branch 'release-1.34' 2020-08-11 11:41:11 -04:00
Isaac Connor 12dbd267bf Add devuan beowulf support 2020-08-11 09:21:48 -04:00
Joseph Yasi cc93d553d8 Quote some more MySQL8 Reserved keywords
See:
https://bugs.launchpad.net/ubuntu/+source/zoneminder/+bug/1859295/comments/1
https://github.com/ZoneMinder/zoneminder/issues/2659
https://bugs.launchpad.net/ubuntu/+source/zoneminder/+bug/1859295
2020-07-10 23:11:59 +02:00
Isaac Connor 2db65d3821 Merge branch 'release-1.34' 2020-07-04 09:09:24 -04:00
Isaac Connor 88f3565c0a reduce verbosity of rsync 2020-07-02 17:17:44 -04:00
Isaac Connor 9b4a753194 deprecate ubuntu disco 2020-06-09 14:20:35 -04:00
Isaac Connor 4cf7c1a16e deprecate trusty and precise. Use new cleaned up rules for focal and buster 2020-04-23 15:02:00 -04:00
Isaac Connor fc5080d9c7 deprecate support for trusty and disco 2020-04-14 17:30:16 -04:00
Isaac Connor 2f0b991761 If can't determine latest stable release, then quit 2020-03-30 10:05:19 -04:00
Isaac Connor 0b5ebbbe59 add focal to ubuntu builds 2020-03-24 14:56:25 -04:00
Isaac Connor 4479029e27 When doing a release, reploy to debian/release-VERSION instead of master. 2020-02-06 14:46:26 -05:00
Isaac Connor 83411cd6f2 fix zmrepo dest dir when doing a proper release 2020-02-06 14:45:38 -05:00
Isaac Connor 8e604afb58 actually copy *.buildinfo when deploying 2020-01-21 17:21:43 -05:00
Isaac Connor c0443f694a I think we need .buildinfo as well 2020-01-07 12:24:39 -05:00
Andrew Bauer 2956e5e156 use dnf rather than yum for newer redhat distros 2020-01-05 14:30:33 -06:00
Andrew Bauer 0fb806d9d7
Allow aarch64 as a valid build architecture 2020-01-04 15:30:32 -06:00
adam ce7b62c825 Fixed unquoted variable which was failing to correctly detect error case
This was discovered when there was a DNS failure (it's always DNS) and
it caused a syntax error on line 178.  I changed it to use -z to check
for a zero length string, as suggested by the man page.  Putting $VERSION
in double quotes would also be a valid fix.

Here's what the script looks like when it fails:

./do_debian_package.sh --snapshot=stable --type=local --interactive=no
Doing local build
Defaulting to bionic for distribution
Defaulting to ZoneMinder upstream git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Latest stable branch is
git clone https://github.com/ZoneMinder/ZoneMinder.git ZoneMinder_zoneminder_release
Cloning into 'ZoneMinder_zoneminder_release'...
fatal: unable to access 'https://github.com/ZoneMinder/ZoneMinder.git/': Could not resolve host: github.com
./do_debian_package.sh: line 172: cd: ZoneMinder_zoneminder_release: No such file or directory
fatal: not a git repository (or any of the parent directories): .git
cat: ZoneMinder_zoneminder_release/version: No such file or directory
./do_debian_package.sh: line 178: [: ==: unary operator expected
Doing local release zoneminder_
mv: cannot stat 'ZoneMinder_zoneminder_release': No such file or directory
Error status code is: 0
Setting up build dir failed.
2019-12-29 14:13:49 -06:00
Andrew Bauer 77f026a389 exclude external-repo.noarch.rpm during deployments 2019-12-27 09:12:49 -06:00
Andrew Bauer 28a6e71992 deploy raspbian builds to debian target folder 2019-12-27 09:04:02 -06:00
Andrew Bauer 3bc1543f9e build rpms on every commit 2019-12-26 19:36:33 -06:00
Andrew Bauer 5bd353928e update rsync text 2019-12-25 09:05:50 -06:00
Andrew Bauer aa0dc4729b exit immediately if deploy host does not respond 2019-12-25 08:45:10 -06:00
Andrew Bauer 73aba586d4 move eslint into env matrix + other build tweaks 2019-12-25 08:41:53 -06:00
Andrew Bauer 635988f0cc use quotes for correctness 2019-12-23 17:13:38 -06:00
Andrew Bauer f3116589e3 replace sshfs with rsync for all deployments 2019-12-23 17:08:57 -06:00
Isaac Connor 0f8d2faa6f Just use return code from rsync. We don't mind it's verbose output being always output. 2019-11-20 14:21:01 -05:00
Isaac Connor e4c23c3100 crank of the verbosity. Add another rsync call just to test if output is not being reported to travis 2019-11-19 09:36:43 -05:00
Isaac Connor 7868d969ce add -v to rsync 2019-11-18 17:59:10 -05:00
Isaac Connor d9e3f21ba1 Turn off controlmaster to see if that is what is causing us trouble with rsync 2019-11-18 17:02:30 -05:00
Isaac Connor 627adf5a1f do the .deb installation and test on xenial instead of trusty 2019-11-18 14:35:26 -05:00
Isaac Connor efdba5a50f add ssh -v to rsync command so we can figure out why it isn't working 2019-11-18 14:31:32 -05:00
Isaac Connor 2bf9852404 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2019-10-20 11:44:22 -04:00
Isaac Connor bf69e053b4 Add SNAPTSHOT=CURRENT to build with the commit # in the version string 2019-10-20 11:44:19 -04:00
Isaac Connor c240767727 Add eoan to distros 2019-10-20 11:41:55 -04:00
Isaac Connor 3b31381a57 remove unneeded quotes. 2019-10-12 11:15:20 -04:00
Isaac Connor 29a8cd3c91 use rsync instead of sftp 2019-10-09 13:00:29 -04:00
Isaac Connor af6ead60a5 Add USE_SFTP option to rsync_xfer to just use sftp install of sshfs to copy files over to zmrepo 2019-10-08 12:31:01 -04:00
Andrew Bauer 2c22a4727f
Update rsync_xfer.sh 2019-09-30 10:39:29 -05:00
Andrew Bauer 9ba8f5c7ff
Update rsync_xfer.sh 2019-09-30 10:31:21 -05:00
Isaac Connor d4a8c96ede Build and deploy packages for every commit for debian/ubuntu/raspbian 2019-09-23 13:10:14 -04:00
Isaac Connor 96024b518e Do per commit builds for debian and ubuntu 2019-09-22 13:02:13 -04:00
Isaac Connor 0ec215c95f Only try to install deb on trusty as that is the environment that travis is running 2019-09-22 12:52:46 -04:00
Isaac Connor cb194cc4d1 enable per commit builds for buster so I can test my docker image for it 2019-09-20 14:14:56 -04:00
Isaac Connor 16a7ab1392 Attempt to deploy any deb basesd distro, not just trusty 2019-09-13 08:21:19 -04:00
Isaac Connor e6351109b2 Now that we are using our fork of packpack, no longer need to patch it 2019-09-06 12:00:50 -04:00