Marcus Holl
0c90da6638
Simplify code: failExecution can be replaced by closure raising exception ( #795 )
2019-08-06 13:12:59 +02:00
Marcus Holl
56b651dbe9
Merge remote-tracking branch 'github/master' into HEAD
2019-05-24 14:26:07 +02:00
Marcus Holl
c053dbca17
Add test null provided via signatur for extensions (also inside collection)
2019-05-24 13:55:29 +02:00
Marcus Holl
4b61f362d2
Removing syntactically not needed commas which helps keeping diff smaller
2019-05-23 09:23:36 +02:00
Marcus Holl
ed155ece63
rename mtaExtensionDescriptos to extensions
2019-05-23 09:20:10 +02:00
Marcus Holl
f87349e0fe
Condence dupliate code in test (file exists closure)
2019-05-22 08:49:27 +02:00
Marcus Holl
f6b165052a
Remove not needed test setup wrt file exists check
2019-05-22 08:11:28 +02:00
Marcus Holl
74af6bab5f
Add extensions to neoDeploy
...
Extensions can be provided via --extension --e to the neo deploy command
line for deploy-mta. This commits adds support for providing extension files.
2019-05-16 09:13:23 +02:00
Marcus Holl
abdfa7b201
[refactoring] Increase readabiliy: inline rules without references
2019-05-15 17:03:41 +02:00
Marcus Holl
fb22711c2a
Merge remote-tracking branch 'github/master' into HEAD
2019-05-09 15:29:45 +02:00
Alejandra Ferreiro Vidal
043c228115
fix wrong message
2019-05-09 13:35:36 +02:00
Alejandra Ferreiro Vidal
15cfed66a4
remove parameters not related to warPropertiesFile
2019-04-30 13:36:07 +02:00
Marcus Holl
862729a703
Adjust test after merging early check for the deployable
...
In the meantime we check earlier if the deployable exists. Up to now the test used that late check. Now, as that
check happens earlier in the code we have to tune here. Now we assume a failure inside neo deploy instead.
2019-04-12 13:13:25 +02:00
Marcus Holl
28fa30fc8f
Do not swallow original excpetion when we have trouble to cat the logs
2019-04-12 10:06:18 +02:00
Alejandra Ferreiro Vidal
6b98d642da
removes toolValidate
2019-03-29 08:44:36 +01:00
Alejandra Ferreiro Vidal
8e59531789
format: add new lines following format
2019-03-28 14:10:32 +01:00
Alejandra Ferreiro Vidal
060c5066e8
remove deprecated code
2019-03-28 14:10:32 +01:00
Alejandra Ferreiro Vidal
e55ccc3fe9
add JenkinsFileExistsRule
2019-03-28 14:10:32 +01:00
Alejandra Ferreiro Vidal
1a1a7559d5
rename war properties file
2019-03-28 14:10:32 +01:00
Marcus Holl
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
Marcus Holl
4d4b9de660
Merge remote-tracking branch 'github/master' into HEAD
2019-03-19 09:06:15 +01:00
Daniel Kurzynski
af740e1092
Make source for neo deployments configurable in the config file ( #564 )
2019-03-18 14:55:51 +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 Holl
a7bc198342
neo toolset not configurable ( #484 )
2019-03-07 12:53:25 +01:00
Daniel Kurzynski
09a2e3f090
Remove compatibility for neoDeploy
2019-01-28 12:35:35 +01:00
Daniel Kurzynski
6e26d78047
Improve neo deploy ( #440 )
...
The following features were added:
Lock resources for deployment
New parameters: environment, vmArguments
Assert password does not start with @
Link to cloud cockpit
Only execute rolling update if app is running
Show logs if deployment failed
Restart app after normal deployment
Use neo namespace for parameters
Align parameter names with neo sdk: size, application, source
Remove vmSize check as done by the tool itself
2019-01-28 11:32:24 +01:00
Marcus Holl
b486f32dc1
Better readable rule names: stepRule
2019-01-23 14:54:50 +01:00
Marcus Holl
9b1397e998
Better readable rule names: loggingRule
2019-01-23 14:54:50 +01:00
Marcus Holl
994e1f1692
Better readable rule names: shellRule
2019-01-23 14:54:49 +01:00
Marcus Holl
7063aa1249
set build to unstable in case old config framework is used.
...
protected by feature flag (so we can test it manually already).
2018-11-08 13:11:24 +01:00
Marcus Holl
b3c5cba707
Notify about old config framework from neo deploy.
2018-11-08 12:18:49 +01:00
Christopher Fenner
10ec0473c1
correct step invokation in tests ( #368 )
...
* correct step invokation in tests
* correct step invokation in tests
* correct step invokation in tests
2018-11-07 11:45:38 +01:00
Marcus Holl
9cd31e7236
Merge remote-tracking branch 'github/master' into HEAD
2018-09-21 13:27:29 +02:00
Marcus Holl
5cca5fddbb
Tests: make use of JenkinsCredentialsRule
...
JenkinsCredentialsRule now closer to reality since it mimics
the bevavior or the credentials plugin in case a credential
is not known.
2018-09-03 12:28:08 +02:00
Marcus Holl
8a019f5b86
Remove read yaml rule from common rules
...
read yaml rule is a very frequently used rule. But having the rule in the common rules
means we cannot register text or files to that rule, which makes it less handy to work
with yaml files in the tests.
2018-08-31 10:22:46 +02:00
Marcus Holl
3a72d16185
neoDeploy with archvive from CPE
2018-08-17 15:46:46 +02:00
Marcus Holl
d49a9ad68c
Revert "remove the tool descriptor from neo deploy"
...
This reverts commit c3c7d8b142
.
2018-07-27 14:09:08 +02:00
Roland Stengel
c3c7d8b142
remove the tool descriptor from neo deploy
2018-07-25 15:23:56 +02:00
Marcus Holl
dd36e6ea5b
Merge pull request #152 from marcusholl/pr/neoDeployTestMoreTolerantWrtArgOrder
...
Make neo command line tests more tolerant wrt to order of args
2018-06-11 09:49:08 +02:00
Oliver Nocon
f8e5733486
speed up tests
...
* use new base class for testing
* initialize jenkins unit test framework only once for all test classes
* minor test cleanups
2018-06-06 11:19:19 +02:00
Marcus Holl
8f1e3dfa8f
Make neo command line tests more tolerant wrt to order of args
2018-05-28 13:34:19 +02:00
Marcus Holl
62fee7a63c
[refactoring] increase readability: warAction
2018-04-20 12:25:15 +02:00
Marcus Holl
73abb0ee99
[refactoring] increase readability: vmSize
2018-04-20 12:24:37 +02:00
Marcus Holl
39d23d29fd
[refactoring] increase readability: deployMode
2018-04-20 12:23:26 +02:00
Alejandra Ferreiro Vidal
64b45a13c4
review
2018-04-12 14:25:28 +02:00
Alejandra Ferreiro Vidal
2eafecf38d
check tool on PATH
2018-04-10 10:26:55 +02:00
Alejandra Ferreiro Vidal
60d1b007a8
add JavaArchiveDescriptor
2018-04-10 10:26:45 +02:00
Alejandra Ferreiro Vidal
f29734c6da
validate JAVA if it is in PATH
2018-04-10 10:20:43 +02:00
Alejandra Ferreiro Vidal
66c60b4f26
validate NEO if it is in the PATH or current dir
2018-04-10 10:20:42 +02:00
Alejandra Ferreiro Vidal
6f1e2cd205
add verifyTool to mtaBuild and neoDeploy
2018-04-10 10:20:37 +02:00