Marcus Holl
ad467a6ead
Merge remote-tracking branch 'github/master' into HEAD
2019-03-14 13:21:19 +01:00
Marcus Holl and GitHub
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 and GitHub
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
Marcus Holl and GitHub
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 Holl and GitHub
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
Marcus Holl
4e54032478
fix typo in error message
2019-03-07 14:09:12 +01:00
Marcus Holl and Daniel Kurzynski
a7bc198342
neo toolset not configurable ( #484 )
2019-03-07 12:53:25 +01:00
Marcus Holl
42d57479d9
Verbose flag for transport request release
2019-03-05 12:35:28 +01:00
Marcus Holl
ad3e0f86d1
Verbose flag for transportRequestCreate
2019-03-05 10:29:23 +01:00
Marcus Holl
9efa21f2f6
trap the heartbeat thread
2019-03-01 15:19:36 +01:00
Marcus Holl
aac570c5ef
fix cc issues
2019-03-01 15:16:49 +01:00
Marcus Holl
1b6ed24b8c
filter branch for integration tests.
2019-03-01 14:28:32 +01:00
Marcus Holl
ffb04e8948
fix: TEST_CASE_ROOT not updated after first loop
...
afterwards the same directory was used for all test cases.
2019-03-01 14:18:12 +01:00
Marcus Holl
31a10bc522
introduce function for notifying github
2019-03-01 14:18:11 +01:00
Marcus Holl
e69a690614
In case of PR: PR Hash, if not HEAD commit used for notification
2019-02-28 08:07:18 +01:00
Marcus Holl
2d583b1af4
commit hash used for status api was wrong
...
TRAVIS_COMMIT is the merge commit between base branch and PR HEAD, but here we need the
commit hash of the PR HEAD.
2019-02-27 16:59:07 +01:00
Marcus Holl
baad41167a
Merge remote-tracking branch 'github/master' into HEAD
2019-02-27 16:02:45 +01:00
Marcus Holl and GitHub
23e91a4298
Merge pull request #525 from marcusholl/pr/removeJenkinsFile
...
Remove unused Jenkinsfile
2019-02-27 16:01:18 +01:00
Marcus Holl
18cb767cee
Provide build status
2019-02-27 15:55:54 +01:00
Marcus Holl
5452dd514d
[fix] dont provide the same log twice.
2019-02-27 14:25:08 +01:00
Marcus Holl
f10f23bc4c
Provide the log for the individual tests.
2019-02-27 13:09:06 +01:00
Marcus Holl
78dbbb751d
Launch additional thread informing from time to time about still running integration tests.
2019-02-27 13:08:12 +01:00
Marcus Holl
0a6064745c
Suspress output from cd -
2019-02-27 13:06:41 +01:00
Marcus Holl
caa5c588c5
finding test cases within any level inside test case folder
2019-02-27 09:18:02 +01:00
Marcus Holl
cb9dbc9c4c
Move test cases into dedicated testCase folder
2019-02-27 09:12:38 +01:00
Marcus Holl
f09c243193
Avoid green test in case no test case has been found.
2019-02-27 08:56:09 +01:00
Marcus Holl
9a028e18dd
Troubleshoot find command
2019-02-27 08:55:44 +01:00
Marcus Holl
fe28a9d07d
remove type from find command
...
since this makes trouble during the central build.
2019-02-27 08:46:08 +01:00
Marcus Holl
f7e82ecd49
cc: fix code climate || exit message
2019-02-26 16:56:44 +01:00
Marcus Holl
050170036d
cc: fix code climate comments
2019-02-26 16:51:47 +01:00
Marcus Holl
13f8a7d21d
cc: fix indents.
2019-02-26 16:47:31 +01:00
Marcus Holl
407eca2714
Invoke integration test controller script from travis.yml
2019-02-26 16:17:03 +01:00
Marcus Holl
197e9263f1
Execute the test cases in parallel.
2019-02-26 16:10:13 +01:00
Marcus Holl
52400d0760
touch flag file in case of test cases succeds
2019-02-26 14:09:06 +01:00
Marcus Holl
1da57c47d5
Deliver log in test case root folder
2019-02-26 13:59:52 +01:00
Marcus Holl
5e0148238f
variables for some files and folders & keep stdout/stderr clear
2019-02-26 13:36:50 +01:00
Marcus Holl
9558858626
Adjust naming exampleProjectName -> testCase
2019-02-26 13:03:30 +01:00
Marcus Holl
8543873a12
Move files controlling integration tests
...
Before: files contained inside s4sdk folder
Now: file resides one level higher
Reason: open integration test framework for other use cases,
not related to s4sdk. Idea: teams providing use cases provides
a corrsponding folder which hosts the test cases.
2019-02-26 12:59:31 +01:00
Marcus Holl
d60bb9f58c
Remove redundant docker call in integration tests
2019-02-26 10:43:50 +01:00
Marcus Holl and GitHub
000b1b4b33
Merge branch 'master' into pr/removeJenkinsFile
2019-02-25 12:44:09 +01:00
Marcus Holl
e8baa5b732
fix: forward clientOpts
2019-02-21 11:12:25 +01:00
Marcus Holl
cb31e173fe
Remove unused pipeline script
2019-02-20 09:29:33 +01:00
Marcus Holl
827d8aa32d
imagePull --> pullImage
2019-02-19 11:35:03 +01:00
Marcus Holl
15102feec2
provide defaults for unixLineEnding, codePage
2019-02-19 11:22:33 +01:00
Marcus Holl
05438943ba
Allow fileUrl, applicationUrl in project config.
2019-02-19 11:22:33 +01:00
Marcus Holl
5c6f57f3cb
Check for credentials id as part of input validation
2019-02-15 14:15:58 +01:00
Marcus Holl
546db7f3f3
Provide verbose flag.
2019-02-15 13:58:11 +01:00
Marcus Holl
a375cc75a5
Provide flag failUploadOnWarning
...
in order to be able to survive uploads which are basically successful, but
with warning(s).
2019-02-15 13:58:11 +01:00
Marcus Holl
0ea6bdc05c
Accept unix style line endings.
2019-02-14 13:52:06 +01:00
Marcus Holl
66fbed80ba
Test for rfc create transport sanity checks.
2019-02-14 12:29:13 +01:00
Marcus Holl
d5707db38b
Test for rfc create transport requets fails.
2019-02-14 12:22:45 +01:00
Marcus Holl
8aa22d179a
Denote use case in test name for creating transport request
2019-02-14 12:04:45 +01:00
Marcus Holl
02e832b008
Test for RFC transportRequestCreate
2019-02-14 12:01:28 +01:00
Marcus Holl
80bd4cf11c
Support code page parameter
2019-02-14 09:36:51 +01:00
Marcus Holl
af5d67aaf7
docker params as map when releasing tr via rfc
2019-02-13 14:58:46 +01:00
Marcus Holl
11812f5c09
Merge remote-tracking branch 'github/master' into HEAD
2019-02-13 09:15:32 +01:00
Marcus Holl and GitHub
56d3a6ed97
Merge pull request #496 from marcusholl/pr/removePrintlnFromTests
...
Remove println statements from tests
2019-02-13 09:10:11 +01:00
Marcus Holl
2d7079a8c9
Merge remote-tracking branch 'github/master' into HEAD
2019-02-13 09:05:28 +01:00
Marcus Holl and GitHub
befe786596
Merge pull request #495 from marcusholl/pr/noPrintlnInDefaultSHClosures
...
Remove println statements from default registered sh closure
2019-02-13 09:03:10 +01:00
Marcus Holl
ff88bfa79f
Merge remote-tracking branch 'github/master' into HEAD
2019-02-13 08:51:26 +01:00
Marcus Holl
0ae673c021
docker params as map when creating tr via rfc
2019-02-12 15:35:27 +01:00
Marcus Holl
dc1dfd622c
docker params as map for fileUpload
2019-02-12 15:22:22 +01:00
Marcus Holl
2aa9f5215a
fix code climate issues
2019-02-11 11:53:01 +01:00
Marcus Holl
9305a52d0f
Merge remote-tracking branch 'github/master' into HEAD
2019-02-08 12:38:59 +01:00
Marcus Holl
91785a3c74
Fix log message when an upload has been performed
2019-02-08 12:19:20 +01:00
Marcus Holl and Christopher Fenner
8b13164d74
[fix] remove inapproriate package statement ( #497 )
...
The test class is in the default package and not in a package 'steps'.
2019-02-08 12:03:41 +01:00
Marcus Holl
fe147eff81
Handle parameters as env vars instead of options for RFC upload
...
options are not supported for dockerExecuteOnKubernetes, but
environment variables are. Hence we switch to environment variables
which works on both, plain docker and on kubernetes.
Using env vars is the cleaner approach anyway.
2019-02-08 12:03:05 +01:00
Marcus Holl and Christopher Fenner
3a8bd80f09
fix: table not generated by mkdocs due to wrong syntax ( #498 )
2019-02-08 11:35:58 +01:00
Marcus Holl and Christopher Fenner
df90255739
publish docu for step uiVeri5ExecuteTests ( #499 )
2019-02-08 11:15:32 +01:00
Marcus Holl
d369d3cd4a
Remove println statements from tests
...
Nobody will have a look at println statements emitted by tests. Proper way is to assert.
* log is empty, not sure if it makes sense to assert that the log is empty.
* result is already asserted, so everything is fine there ...
2019-02-07 17:03:32 +01:00
Marcus Holl
6b4d2ba33e
Remove println statements from default registered sh closure
...
We should try to avoid promting statements to the log during tests. This is basically
some kind of manual/visual checking of conditions. This does not work since in most cases
nobody scans test logs manually/visually. I think this is often a smell for missing assertions.
2019-02-07 16:58:49 +01:00
Marcus Holl
8d1786fa8d
DevelopmentInstance for upload file rfc
2019-02-07 11:46:45 +01:00
Marcus Holl
3a982a8f04
provide developent instance for transportRequest release RFC
2019-02-07 11:24:39 +01:00
Marcus Holl
54018be2f0
Provide developmentInstance for transportRequestCreate RFC
2019-02-07 11:18:32 +01:00
Marcus Holl
e9c1834f9d
Provide development instance for create transport request RFC
2019-02-07 11:12:17 +01:00
Marcus Holl
d8d2d8b1fd
abap development client always under changeManagement.rfc
2019-02-07 10:11:22 +01:00
Marcus Holl
fb9ec4992f
development client not via flat parameter
2019-02-07 09:44:17 +01:00
Marcus Holl
074929a6ac
echo command line also in case of RFC related tasks
2019-02-07 09:25:56 +01:00
Marcus Holl
5aecea02b6
control flow: Replace if with case
2019-02-07 09:21:50 +01:00
Marcus Holl
a4f879ea62
[refactoring] get ride of uploadFiletoTransport method.
...
We can also call executeWithCredentials directly.
2019-02-07 08:48:49 +01:00
Marcus Holl
fd5a07d403
applicationId -> applicationName for RFC file upload
2019-02-07 08:29:53 +01:00
Marcus Holl
200e18f468
transportRequestRelease sanity checks for CTS case.
2019-02-06 15:31:50 +01:00
Marcus Holl
608b76f1c8
transportRequestRelease sanity checks for SOLMAN case.
2019-02-06 15:16:27 +01:00
Marcus Holl
663b840dee
Add test for release transport CTS success
2019-02-06 14:23:00 +01:00
Marcus Holl and GitHub
00e8ad180b
Merge pull request #479 from marcusholl/pr/seeAnnotationInDocu
...
implement @see strategy
2019-02-06 10:50:03 +01:00
Marcus Holl and weloli
1b202f879a
Provide flag for skipping docker image pulls ( #407 )
...
* Provide flag for skipping docker image pulls
Usefull for testing while developing images. Without pulling images it is possible to
use images available in the local registry only.
2019-02-06 08:48:33 +01:00
Marcus Holl
d8b0de3735
Add step test: transportRequestRelease for CTS fails
2019-02-05 17:29:45 +01:00
Marcus Holl
34b7c24faf
Merge remote-tracking branch 'github/master' into HEAD
2019-02-05 16:37:49 +01:00
Marcus Holl and GitHub
5bb495b389
Merge pull request #482 from marcusholl/pr/allowSingleLineDocuComments
...
allow single line comments
2019-02-05 16:07:33 +01:00
Marcus Holl
afc6158ba4
Merge remote-tracking branch 'github/master' into HEAD
2019-02-05 15:41:52 +01:00
Marcus Holl
534cb1471d
Merge remote-tracking branch 'github/master' into HEAD
2019-02-05 09:25:50 +01:00
Marcus Holl
22340ebb25
allow single line comments
...
like this /** short comment */
rather than
/**
* short comment
*/
2019-02-04 12:41:38 +01:00
Marcus Holl and Christopher Fenner
b7deda1964
dockerExecute: make javadoc comment to 'normal' comment ( #481 )
...
since it is not intendend to expose the method docu as api doc.
2019-02-04 10:53:20 +01:00
Marcus Holl
89fd30e84c
implement @see strategy
...
in case there is a pseudo annotation '@see' found in a step docu the docu is retrived from
the parameter with the same name in the other step. Format is:
'@see <OTHER_STEP_NAME>'
This simplifies documentation for parameters with same name and same
semantics used in more than one step.
2019-02-01 16:59:54 +01:00
Marcus Holl
6f96f3d87b
Add test for transportRequestRelease failure for type RFC
2019-02-01 13:29:41 +01:00
Marcus Holl
59bff987d7
Test for releaseTransportRequest RFC sanity checks
2019-02-01 13:23:08 +01:00