Commit Graph

46 Commits

Author SHA1 Message Date
Alex Mirski-Fitton
9eeab37e32 Handle window between cont. start & port binding 2022-01-27 11:26:18 +00:00
Arthur Barr
e8d26aa79e Don't use setuid on chkmq*
Also add new tests for chkmqhealthy and privileges
2020-11-12 17:41:05 +00:00
Luke J Powlett
c9bac5b544 MQ 9.1.5 image changes (#62)
* Upgraded to MQ 9.1.5, upgraded to unzippable install, run as random UID (1001 by default)

* Updated docker tests for MQ 915 random UID

* Added warning to crtmqdir for 10 rc, added trace option to crtmqdir

* Removed dev users from dockerfile
2020-03-24 12:54:58 +00:00
Luke J Powlett
1f4528d597 Pipeline changes for Entitled Registry (#38)
* Added makefile targets/variables to pull mq archive from remote

* Updated makefile and travis build for multi arch dev/prod builds

* Updated build deps to use arch specific dep

* Removed glide for dependency management

* Removed `MQ_SDK_ARCHIVE` download target

* Make ARCH overridable in makefile

* Only run golden path test on Power and Z builds

* Only run gosec on amd64 build

* Increased go to 1.12 in travis
2019-12-03 13:16:30 +00:00
Stephen Marshall
6c72c894f7 add multi-instance Queue Managers (#307)
* Initial code to implement multi-instance queue manager

* alter default mqsc to prevent race between listeners on standby startup

* Updates to multi-instance queue manager code

* initial multi instance test

* Multi-instance code improvements

* Multi instance fixes and first test

* configure queue manager

* Add mirror log filtering for mult-instance QMs

* Add log message for multi-instance enabled

* Improvements to container runtime logging

* refactor test

* Test active standby switch

* Improve createQueueManager function

* Test multi instance race

* wait

* multi instance mount tests

* skip race test

* mount tests

* no mount test

* single instance split mount tests

* readiness check

* More updates for handling standby queue manager

* Improve standby checks

* Minor fixes to miqm

* Fix logging of JSON errors

* Update copyrights

* Fix log includes
2019-05-01 14:42:25 +01:00
Robert Parker
d4df05fd2a Add test fixes and fix mq-explorer build 2019-03-08 11:07:44 +00:00
Arthur Barr
c441de7d26 Fixes for tests on RHEL and test log output 2019-02-27 15:32:34 +00:00
Arthur Barr
4f57d1bae2 Tidy up commented code 2019-02-27 15:32:34 +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
Riccardo Biraghi
16e244427b Fix timing in execContainer 2018-06-14 11:55:15 +01:00
Rob Parker
f0faac6af7 Merge branch 'master' into master 2018-06-14 10:12:26 +01:00
Riccardo Biraghi
b887c1a277 Fix ExecContainer executing commands twice 2018-06-13 17:45:27 +01:00
Arthur Barr
63ce0b3377 Add timeout while waiting for ready in tests 2018-06-13 16:42:00 +01:00
Rob Parker
2af6953b2b Add more metric tests for value testing (#104) 2018-06-04 14:56:18 +01:00
Rob Parker
143649deb6 More metric tests and fix reconnect
* more metric test and fix reconnect

* remove build-devjmstest as dependency
2018-05-31 11:56:39 +01:00
Arthur Barr
6996f2b9b3 Make metrics tests use a host port (#94)
* Make metrics tests use a host port

* fix port forwarding in devconfig tests
2018-05-30 15:38:19 +01:00
Riccardo Biraghi
d7633d8313 Fix test coverage in docker containers 2018-04-24 16:31:21 +01:00
Riccardo Biraghi
831f0695a9 Add vetting, formatting and vetting make commands and fix related errors 2018-04-11 13:43:57 +01:00
Riccardo Biraghi
9851743ae2 Fix TLS directory path on WSL 2018-04-11 09:25:08 +01:00
Riccardo Biraghi
f9ef635f37 Merge branch 'master' of https://github.com/ibm-messaging/mq-container 2018-04-09 11:51:05 +01:00
Rob Parker
b02d8d27b2 Fix intermittant docker exec already running problem. Move to docker api 17.03.02 2018-03-28 15:57:07 +01:00
13e41aeb37 Tidy up code 2018-03-28 11:47:59 +01:00
96311df366 Fix build and test in WSL 2018-03-28 11:15:51 +01:00
Arthur Barr
54885597fa Build JMS tests from Makefile 2018-03-21 10:12:36 +00:00
Arthur Barr
913465620b Fix test logs appearing twice 2018-03-19 17:12:04 +00:00
Arthur Barr
b240a84ce0 Fix occasional timing error in tests 2018-03-12 16:28:40 +00:00
Arthur Barr
10e448056b Add web server to dev image 2018-03-12 11:14:59 +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
3600841e2b Clean up commented code 2018-02-20 14:44:24 +00:00
Arthur Barr
ed1154c881 Alpha logging support (JSON+mirroring) 2018-01-29 11:04:01 +00:00
Arthur Barr
238529918c Switch from Moby to Docker import 2018-01-02 13:52:20 +00:00
Arthur Barr
b938a5eb95 Updates for coverage 2017-12-18 15:38:05 +00:00
Arthur Barr
b6b72952e4 Add TestMQSC 2017-12-18 12:00:19 +00:00
Arthur Barr
a2326dc0f6 Add ability to use different base image 2017-12-11 09:12:39 +00:00
Arthur Barr
d6182bf2fc Fix build problems 2017-12-06 10:19:47 +00:00
Arthur Barr
176543e100 Run Docker tests in parallel 2017-12-05 10:27:36 +00:00
Arthur Barr
f5515d72a3 Test for security vulnerabilities 2017-12-05 10:17:31 +00:00
Arthur Barr
a80b839c14 Add TestZombies and improve exec output handling 2017-11-29 15:50:10 +00:00
Arthur Barr
0823fd1cea Add TestVolumeUnmount 2017-11-29 12:29:31 +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
4874483f9c Get code coverage working 2017-11-08 16:46:14 +00:00
Arthur Barr
bf9a9b8cb5 Dynamically set test image name 2017-09-26 12:36:20 +01:00
Rob Parker
7274792039 Split tests for dev and advanced 2017-09-13 14:39:29 +01:00
Arthur Barr
ec68367227 Initial commit 2017-09-07 13:39:11 +01:00