weloli
826e216cd5
Lookup mtar in the whole workspace ( #492 )
...
* allow mtar lookup in the whole workspace
* minor fixes
2019-02-07 08:58:00 +01:00
Florian Geckeler
a72e33f488
Stop old instance only if it exists in CloudFoundry
...
If there was no instance deployed in CF and blue-green deployment was activated stopping the old instance caused a failure of the pipeline, even if the application was deployed successfully.
With that change the failure of the pipeline will be avoided in case of no old application is available.
2019-01-30 10:07:00 +01:00
Oliver Nocon
27c3891685
deployToCloudFoundry - patch mta blue-green deployment ( #457 )
...
mta deploy plugin has flag:
` --no-confirm` which is described as _"Do not require confirmation for deleting the previously deployed MTA apps"_
This flag is essentials for performing fully automated blue-green deployments.
2019-01-22 16:13:59 +01:00
Christopher Fenner
10267ce7d1
Analytics: add step parameter keys ( #442 )
...
* add stepParamKey values
* camelCase
2019-01-21 08:47:34 +01:00
sbmaier
423c9f52ba
cloudFoundryDeploy: fix naming of Influx step ( #450 )
...
* fix naming Influx
* fix test for influx name change
2019-01-18 15:33:36 +01:00
Oliver Nocon
e11478ca00
cloudFoundryDeploy - add deployment reporting to Influx ( #421 )
...
Add reporting of operations-related data to Influx (if configured), like:
* Version of deployed artifact
* Deployment time
* Target infrastructure for deployment
2019-01-18 08:25:22 +01:00
Florian Wilhelm
db9ba38ed1
Fail CF Deployment Shell Script Early ( #426 )
...
Resolves #425
2019-01-07 12:54:00 +01:00
Marcus Holl
b7468a7ae4
Step name is not a string literal anymore
...
Having the step name always the same like the file name, which is in turn the class name is
redundant.
2018-11-29 09:54:05 +01:00
Oliver Nocon
6dc3ebe38c
cloudFoundryDeploy - fix stashing ( #398 )
2018-11-27 16:29:38 +01:00
Oliver Nocon
d1d07f241d
cloudFoundryDeploy - fix stashing behavior ( #396 )
...
This change fixes an error which only occurs in a Kubernetes landscape.
When initial stashes are filled, the deployment will fail since it misses the artifact to be deployed.
When providing an empty stash as default, Docker execution on Kubernetes will respect all content in the current workspace.
2018-11-27 16:02:06 +01:00
Florian Geckeler
32e20a7293
Provide option to Stop and not delete old instance on BlueGreenDeploy ( #394 )
...
* Provide option to Stop and not delete old instance on BlueGreenDeploy
* Default is still delete old instance
Closes #323
2018-11-27 11:47:44 +01:00
Oliver Nocon
db4e184967
cloudFoundryDeploy - adapt to changes in dockerExecute ( #390 )
...
pass script to call `dockerExecute`
2018-11-19 11:35:37 +01:00
Oliver Nocon
5ec37170fc
cloudFoundryDeploy - blue-green plugin extensions ( #355 )
...
* cloudFoundryDeploy - blue-green plugin extensions
* support blue-green application cleanup with new plugin flag
* enhance error reporting in case no app name is available
* include PR feedback
2018-11-07 10:39:30 +01:00
Marcus Holl
3cb958b740
Merge remote-tracking branch 'github/master' into HEAD
2018-11-05 13:30:43 +01:00
Marcus Holl
2e8a9db02c
script = this as fallback instead of map with cpe of current step
...
o The map does not provide access to e.g. sh, echo.
o this has the same cpe as property as it is constructed with the
current map approach.
2018-10-31 12:52:45 +01:00
Marcus Holl
ea23d65594
Merge remote-tracking branch 'github/master' into HEAD
2018-10-30 17:01:19 +01:00
Marcus Holl
11d34c2157
Step called without script: webanalytics
2018-10-30 16:24:48 +01:00
Marcus Holl
c03a75da9f
Ensure script is mandatory parameter
...
... only in case a step uses the script at all.
2018-10-30 16:24:47 +01:00
Marcus Holl
59d0c120f2
Adjust naming for config keys for step cloudFoundryDeploy
2018-10-26 10:10:24 +02:00
Marcus Holl
6653b68c0f
Merge remote-tracking branch 'github/master' into HEAD
2018-10-18 12:54:32 +02:00
Marcus Holl
d4f9171247
erge remote-tracking branch 'github/master' into HEAD
2018-10-18 11:02:09 +02:00
Christopher Fenner
dba20d496c
Merge branch 'master' into pr/stepReturnVoid
2018-10-17 11:50:58 +02:00
Marcus Holl
0831a244d3
switch to factory methods when a config is also provided.
2018-10-17 11:39:26 +02:00
Marcus Holl
f47d540aa3
Introduce dedicated factory method for configuration helper
2018-10-17 11:15:37 +02:00
Florian Wilhelm
7f7afdad1a
Implement workaround for incompatible change in cloud foundry API ( #343 )
2018-10-17 11:01:09 +02:00
Christopher Fenner
01365295cb
remove step return types
2018-10-11 09:10:26 +02:00
Marcus Holl
8db2aaf5f0
don't use load step defaults as implicit factory method.
2018-09-07 10:08:16 +02:00
Marcus Holl
5f66113c37
no script in method signatures.
2018-09-06 16:45:30 +02:00
Marcus Holl
2b95be12aa
Ensure proper initialization of ConfigurationHelper
...
Up to now we had two constructors, one with a Script and the other one with a map holding some defaults.
In case the constructor with the map was called the step name was uninitialized
2018-09-06 16:21:38 +02:00
Oliver Nocon
be1d97cb5a
cloudFoundryDeploy - update stshing behavior
...
adapt stashing behavior according to #230
2018-08-15 09:46:08 +02:00
Oliver Nocon
71f7f05427
add telemetry reporting to steps ( #243 )
...
add telemetry to all steps using ConfigurationHelper.
Other steps need to be switched to ConfigurationHelper first.
update docs
2018-08-09 11:35:33 +02:00
Oliver Nocon
745b6d471d
fix issue with resource naming conflict ( #234 )
2018-07-30 12:06:35 +02:00
Oliver Nocon
d844b23b90
add cloudFoundryDeploy step ( #173 )
...
* add cloudFoundryDeploy step
* added cf-cli docker image
* support existing parameters
* support check script with flexible STATUS_CODE
* add mandatory parameters
* fix compatibility handling
* address PR feedback
* fix access to smokeTest script
* make credentialsId mandatory to avoid NPE
2018-07-30 09:28:24 +02:00