Commit Graph
1454 Commits
Author SHA1 Message Date
Marcus HollandChristopher Fenner 1a36a775f4 Fix sanity checks for warPropertiesFile deploy mode. (#574)
* Fix sanity checks for warPropertiesFile deploy mode.

* improve tests for the sanity checks

The sanity checks are performed per deploy mode.
All parameters are checked at once.

* Explict check for host, account not found by sanity checks for deploy mode war properties
2019-03-20 12:14:57 +01:00
Christopher FennerandGitHub 80d288ae57 handlePipelineStepError: use ConfigurationHelper (#556)
* use ConfigurationHelper in handlePipelineStepError

* externalise help url
2019-03-20 11:21:06 +01:00
Holger PartschandOliver Nocon 94957e2b54 Make K8S integration more configurable (#552)
* Define pod using k8s yaml manifest

The Kubernetes plugin allows to define pods directly via the Kubernetes
API specification:
https://github.com/jenkinsci/kubernetes-plugin#using-yaml-to-define-pod-templates

This has the advantage of unlocking Kubernetes features which are not
exposed via the Kubernetes plugin, including all Kubernetes security
featues.

Using the Kubernetes API directly is also better from development
point of view because it is stable and better desgined then the API the
plugin offers.

* Make the Kubernetes ns configurable

If one Jenkins Master is used by multiple Teams, it is desirable to
schedule K8S workloads in seperatae workspaces.

* Add securityContext to define uid and fsGroup

In the context of the Jenkins k8s plugin it is uids and fsGroups play an
important role, because the containers share a common file system.

Therefore it is benefical to configure this data centraly.

* fix indention

* Undo format changes

* Extend and fix unit tests

* Fix port mapping

* Don't set uid globally

This does not work with jaas due to permissions problems.

* Fix sidecar test

* Make security context configurable at stage level

* Extract json serialization

* Cleanup unit tests
2019-03-20 10:07:37 +01:00
Christopher FennerandGitHub 7177954e80 seleniumExecuteTests & uiVeri5ExecuteTests: improve documentation (#568)
* generate docs for seleniumExecuteTests

* inherit docs for uiVeri5ExecuteTests

* add description for failOnError
2019-03-19 15:38:52 +01:00
Christopher FennerandGitHub 60cbd2cd57 seleniumExecuteTests: fix type (#569) 2019-03-19 12:07:05 +01:00
Marcus HollandGitHub d4d68a7a2b Merge pull request #561 from marcusholl/pr/neoDeployParamChecksEarly
Perform parameter validation early, do not truncate parameters
2019-03-19 10:26:43 +01:00
Marcus Holl 4d4b9de660 Merge remote-tracking branch 'github/master' into HEAD 2019-03-19 09:06:15 +01:00
Daniel KurzynskiandGitHub af740e1092 Make source for neo deployments configurable in the config file (#564) 2019-03-18 14:55:51 +01:00
Daniel KurzynskiandGitHub 9f4a597778 Wait for sidecar container to be ready (#567) 2019-03-18 14:05:42 +01:00
Daniel KurzynskiandGitHub 95af03279a Show correct logs in integration tests (#571) 2019-03-18 13:17:11 +01:00
Christopher FennerandGitHub 7069f29ec5 snykExecute: add missing documentation (#570)
* add docs for snykExecute

* add link to new docs page
2019-03-18 11:08:41 +01:00
Marcus HollandGitHub 86dcf17ef0 Merge pull request #560 from marcusholl/pr/documentIntegrationTestTrigger
Document how to trigger integration tests.
2019-03-18 09:21:38 +01:00
benheiandGitHub e2fc53eaf2 Merge branch 'master' into pr/documentIntegrationTestTrigger 2019-03-15 17:53:19 +01:00
benheiandGitHub 8113b20db1 Update CONTRIBUTING.md 2019-03-15 17:48:36 +01:00
SarahNoackandGitHub 39c8b6f808 Make minor linguistic changes 2019-03-15 16:53:13 +01:00
Marcus HollandGitHub 98c919c1a4 Merge pull request #565 from marcusholl/pr/docuNeoDeploy
Update docu for neoDeploy: neo.sh needs to be contained in path
2019-03-15 16:21:06 +01:00
Marcus Holl a1d8ea51f5 Merge remote-tracking branch 'github/master' into HEAD 2019-03-15 16:13:55 +01:00
Marcus Holl e8b4225749 Incorporate review feedback 2019-03-15 15:45:09 +01:00
Marcus HollandGitHub e874e40b9c Merge pull request #500 from weloli/pr/fixStageDoc
Fix generation of stage scope documentation
2019-03-15 15:30:48 +01:00
Marcus Holl bf48f18f3e take parameters keys into account again.
was removed since parameter keys does not appear anymore in the table denoting the
level where a parameter can be configured.

Nevertheless we need to take that parameter into account. We need to add the description for
that parameter, even if it cannot be configured on general or stage level.
2019-03-15 15:24:06 +01:00
Marcus Holl 52f3287cb3 Merge remote-tracking branch 'github/master' into HEAD 2019-03-15 15:01:12 +01:00
Marcus HollandGitHub b2b96b6367 Merge pull request #523 from weloli/pr/reduceRedundancies
Reduce redundancies in md files
2019-03-15 14:56:37 +01:00
Marcus Holl 17419f91d0 Merge remote-tracking branch 'github/master' into HEAD 2019-03-15 14:46:20 +01:00
Marcus Holl d8159e70d0 Adjust docu for npmExecute wrt docu generation 2019-03-15 14:14:15 +01:00
Marcus Holl 9a75c4a728 Update docu for neoDeploy: neo.sh needs to be contained in path 2019-03-15 08:23:47 +01:00
Marcus Holl 721aae4a8b configure docu generation for karmaExecuteTests 2019-03-14 14:01:48 +01:00
Marcus Holl 2b36909f38 Merge remote-tracking branch 'github/master' into HEAD 2019-03-14 13:53:18 +01:00
Christopher FennerandGitHub 851e98aef8 handlePipelineStepErrors: add error data to influx measurement (#563) 2019-03-14 13:51:00 +01:00
Marcus Holl 9cf49a51cb Merge remote-tracking branch 'github/master' into HEAD 2019-03-14 13:36:10 +01:00
Marcus HollandGitHub 466cee5e1d Merge pull request #512 from marcusholl/pr/unstashSkipNull
Unstash in loop only if identifier is available
2019-03-14 13:32:45 +01:00
Marcus Holl ad467a6ead Merge remote-tracking branch 'github/master' into HEAD 2019-03-14 13:21:19 +01:00
Marcus Holl d4b0549f74 Merge remote-tracking branch 'github/master' into HEAD 2019-03-14 13:07:30 +01:00
Daniel KurzynskiandGitHub 9055dd1ea0 Merge branch 'master' into pr/neoDeployParamChecksEarly 2019-03-14 12:52:55 +01:00
Christopher FennerandGitHub 4953a894c5 uiVeri5ExecuteTests: add testServerUrl (#543) 2019-03-13 17:45:41 +01:00
Marcus Holl adafab91e2 Perform parameter validation early, do not truncate parameters
In case of a mis-configuration we get a hint like "host is missing".
Actually it should be "neo/host is missing" since the parameter "host" is nested inside "neo".

Having simply "host" confuses the person troubleshooting this issue.

With this change the input validation is performed right at the beginning of the step.
The NeoCommandLine helper does not check a second time now.
2019-03-13 15:44:57 +01:00
Marcus HollandGitHub 7e1c171685 Merge branch 'master' into pr/fixStageDoc 2019-03-13 15:36:28 +01:00
Marcus HollandGitHub 4d5dd2963f Merge pull request #449 from marcusholl/pr/rfc-upload
Upload binaries to transport requests via RFC
2019-03-13 15:09:22 +01:00
Marcus Holl 201b075cb5 Merge remote-tracking branch 'github/master' into HEAD 2019-03-13 14:36:34 +01:00
Marcus Holl fb6edfc233 Document how to trigger integration tests. 2019-03-13 14:28:53 +01:00
Thorsten DudaandMarcus Holl 28cf46a2fc fix parameter order for instance and client 2019-03-13 14:20:25 +01:00
Marcus HollandGitHub 513ceee8cf Merge branch 'master' into pr/fixStageDoc 2019-03-13 12:39:59 +01:00
Alejandra Ferreiro VidalandOliver Nocon cf44e18c69 Remove outdated log message (#550) 2019-03-13 12:38:04 +01:00
Christopher FennerandOliver Nocon 6d7205377c generate karma docs (#555) 2019-03-13 12:01:05 +01:00
Marcus HollandGitHub e9b7075630 Merge pull request #468 from SAP/remove-compatability
Remove compatibility for neoDeploy
2019-03-12 16:54:47 +01:00
Marcus Holl 5afaf9cb06 Merge remote-tracking branch 'github/master' into HEAD 2019-03-12 16:08:15 +01:00
Christopher FennerandGitHub 57911a5835 Merge branch 'master' into pr/fixStageDoc 2019-03-12 11:26:42 +01:00
Marcus HollandGitHub d3bf402621 Merge pull request #471 from marcusholl/pr/removeNeoCredentialsCheck
Removing check for neo deploy credentials id
2019-03-12 10:15:19 +01:00
Marcus Holl a11a9e5fc2 Merge remote-tracking branch 'github/master' into HEAD 2019-03-12 09:52:36 +01:00
Marcus HollandGitHub 4918a5c941 Merge pull request #540 from SAP/marcusholl/integrationtests/removeRedundanciesInIntegrationTests
Provide integration test controller
2019-03-12 09:17:13 +01:00
Marcus Holl af625bb2d0 Merge remote-tracking branch 'github/master' into HEAD 2019-03-12 09:10:21 +01:00