Commit Graph

34 Commits

Author SHA1 Message Date
Robert Parker
1fa4f6f148 fix gosec failures 2019-03-08 12:59:54 +00:00
Arthur Barr
cc0f072908 Change for running as a non-root user (#276)
* Enable running container as mqm

* Fix merge problem

* Don't force root usage

* RHEL image runs as mqm instead of root

* Build on host with SELinux enabled

* Enable building on node in an OpenShift cluster

* Enable running container as mqm

* Fix merge problem

* Don't force root usage

* Merge lastest changes from master

* RHEL image runs as mqm instead of root

* Fix merge issues

* Test changes for non-root

* Make timeout properly, and more non-root test fixes

* Run tests with fewer/no capabilities

* Correct usage docs for non-root

* Add security docs

* Add temporary debug output

* Remove debug code

* Fixes for termination-log

* Allow init container to run as root

* Fixes for CentOS build

* Fixes for RHEL build

* Logging improvements

* Fix Dockerfile RHEL/CentOS build

* Fix bash error

* Make all builds specify UID

* Use redist client for Go SDK

* Inspect image before running tests

* New test for init container

* Log container runtime in runmqdevserver

* Add extra capabilities if using a RHEL image
2019-02-27 15:32:34 +00:00
Robert Parker
9c8b3825be Add image tag into info output, add ability to print info output on demand and prevent multiple instances of runmqserver being run 2018-12-12 13:11:47 +00:00
Rob Parker
78ce84b3a1 Implement GOSec for security scanning Fix vulnerabilities (#227)
* Implement GOSec for security scanning Fix vulnerabilities

* Fix lint failure

* address PR comments and fix build break

* Fix test break in mqsc
2018-10-11 15:39:22 +01:00
Rob Parker
3989661778 Add Diagnostics (#203)
* Add container suplimentary groups support

* Add diagnostic gathering

* Fix incorrect userid group searching

* one last tiny fix

* one last tiny fix
2018-09-03 17:08:26 +01:00
Robert Parker
9a7d44fef6 Add container suplimentary groups support 2018-09-03 15:01:26 +01:00
Rob Parker
7822c2c3bc Add basic versioning into main golang file (#151)
* Add basic versioning into main golang file

* Add versioning set test

* address Arthur's comments
2018-07-05 11:44:16 +01:00
Stephen Marshall
a4b9a9abaf Initial delivery of metrics code (#81)
* Initial delivery of metrics code

* Fix build issues

* Fix build issue with go vet
2018-05-24 09:15:12 +01:00
Riccardo Biraghi
2397966a86 Remove log.Fatal() calls and bubble up errors 2018-04-10 13:27:24 +01:00
Arthur Barr
4fc5460ac8 Log termination errors 2018-03-14 14:20:32 +00:00
Arthur Barr
d495b3640e Add extra fields to runmqserver JSON log 2018-03-12 16:27:57 +00:00
Arthur Barr
10e448056b Add web server to dev image 2018-03-12 11:14:59 +00:00
Arthur Barr
e07110108f Mirror MQ system logs 2018-03-05 10:57:05 +00:00
Arthur Barr
91bf65ab57 Remove logrus to allow for easier customization 2018-02-22 17:29:06 +00:00
Arthur Barr
b497a04dcb Update to use LOG_FORMAT environment variable 2018-02-22 13:21:16 +00:00
Arthur Barr
c9cc1741c7 Write termination message 2018-02-22 11:31:42 +00:00
Arthur Barr
02cce7ab96 Tidy up debug logging 2018-02-21 09:58:49 +00:00
Arthur Barr
05d1c6f0de Move qmgr code to its own file 2018-02-20 14:41:35 +00:00
Arthur Barr
ace6e6364c Use context and waitgroup for mirroring 2018-02-20 14:35:58 +00:00
Arthur Barr
b62a883d4c Improvements to log mirroring 2018-02-15 14:59:14 +00:00
Arthur Barr
4cdf03a77c Mirror error logs by default 2018-02-14 14:16:00 +00:00
Arthur Barr
911f9db2fd Update readiness check 2018-02-14 11:18:20 +00:00
Arthur Barr
47c865d497 Simplify text log output 2018-02-13 12:49:49 +00:00
Arthur Barr
48185668af Only mirror messages, not whole error log 2018-02-06 12:00:05 +00:00
Arthur Barr
81bba0db32 Add mirrorFunc to handle mirrored messages 2018-01-29 17:05:19 +00:00
Arthur Barr
ed1154c881 Alpha logging support (JSON+mirroring) 2018-01-29 11:04:01 +00:00
Arthur Barr
a80b839c14 Add TestZombies and improve exec output handling 2017-11-29 15:50:10 +00:00
Arthur Barr
4200d9df1b Enable coverage for failure cases 2017-11-22 17:20:57 +00:00
Arthur Barr
fef9ab4f06 Fix runmqserver error handling 2017-11-22 16:13:30 +00:00
Arthur Barr
099397442b Restructure packages for reuse 2017-11-21 14:32:09 +00:00
Arthur Barr
0ffa87be31 Remove unused commented code 2017-10-30 16:40:29 +00:00
Arthur Barr
c7c1db9b1a Log when qmgr started 2017-10-30 16:04:15 +00:00
Arthur Barr
18284a5580 Remove log mirroring 2017-10-05 15:11:05 +01:00
Arthur Barr
ec68367227 Initial commit 2017-09-07 13:39:11 +01:00