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
Marcus Holl
9529954acd
Disable tool validation inside neoDeploy and mtaBuild
...
We know about two issues:
1.) groovy based file systems checks seems to be executed on Jenkins
master even if there is a node which is dispatched to a slave.
2.) Environment variable contained in the value of a provided
variable are not expanded. Example: In case we describe neoHome like
"$JENKINS_HOME/tools/neo" we do not expand $JENKINS_HOME. Hence the
file exists check for file '$JENKINS_HOME/tools/neo' fails.
2018-03-08 11:23:56 +01:00
Marcus Holl
86ab0e04c3
Merge remote-tracking branch 'mholl/pr/javaHomeValidationInsideNeoDeploy' into HEAD
2018-03-06 17:24:31 +01:00
Marcus Holl
23e6e87b75
Validation of neo toolset inside neoDeploy
2018-03-06 16:12:53 +01:00
Marcus Holl
bc9298738b
Make validation of shell calls more tolerant.
...
Needed in order to deal with new shell calls wrt 'which neo.sh'.
2018-03-06 16:02:49 +01:00
Marcus Holl
1c45b043e5
java home validation inside neoDeploy
2018-03-06 15:37:52 +01:00
Marcus Holl
048e004ca7
Make validation of shell calls more tolerant.
...
Needed in order to deal with new shell calls wrt 'which neo.sh'.
2018-03-06 15:37:52 +01:00
Christopher Fenner
158a60aecc
use new rules
2018-02-28 13:11:09 +01:00