Commit Graph

286 Commits

Author SHA1 Message Date
Peter Keresztes Schmidt 3011fc3e18 utils: update packpack to current RtspServer commit 2021-04-11 00:22:38 +02:00
Andrew Bauer 23bd9d7dc1
update RTSPServer commit hash for packpack 2021-04-08 09:05:01 -05:00
Andrew Bauer 5684413eaa packpack - download and unpack rtspserver tarball correctly 2021-04-07 13:10:53 -05:00
Isaac Connor b71db319a0 need to rm -r RtspServer 2021-03-18 17:56:39 -04:00
Isaac Connor 65ed17ab76 fix dest of clone of RtspServer 2021-03-18 17:46:00 -04:00
Isaac Connor 86e7c44087 add missing [] 2021-03-18 16:48:26 -04:00
Isaac Connor dd714a018f add populating RtspServer 2021-03-18 16:48:26 -04:00
Isaac Connor 7889b515d3 Add groovy and hirsuit builds 2021-03-18 16:48:26 -04:00
Isaac Connor 2308bfab8e Add groovy and hirsute to ubuntu builds 2021-02-09 23:32:27 -05:00
Isaac Connor df783f4835 Merge branch 'master' into zma_to_thread 2020-11-12 12:53:55 -05:00
Isaac Connor 645dca6bc9 Use FriendsOfCake 3.2.0 Crud 2020-11-12 09:59:32 -05:00
Isaac Connor a39a656373 Merge branch 'master' into zma_to_thread 2020-09-29 11:02:40 -04:00
Isaac Connor 64d05394dd Merge branch 'release-1.34' 2020-09-16 15:29:50 -04:00
Isaac Connor f86e83b4c4 Indicate default action 2020-09-16 15:29:42 -04:00
Isaac Connor a39adbd2d8 Use git fetch instead of pull. Pull doesn't always get the tags. Die if checkout failed 2020-09-16 15:23:47 -04:00
Andrew Bauer 70bca3b18b second attempt to fix build issue 2020-09-16 14:09:19 -05:00
Isaac Connor d93e9e351b Introducing a simple script that we can use in a filter to change the fps of a recording 2020-09-14 13:47:46 -04:00
Peter Keresztes Schmidt ad90dba0ae Utils: Remove scripts related to Travis which are now handled by packpack 2020-08-25 16:47:32 +02:00
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
Isaac Connor 3641797500 Merge branch 'master' into zma_to_thread 2020-07-22 13:14:40 -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