Rinita Asani
cd2ae89229
Local scopeg cts execute abap unit test ( #3563 )
...
* Adjust local changed objects with commit history
* fix the righ history entry
* fix for local packages commit history
* Adapt unit tests and fix for retry after 500
* Rename gctsExecuteABAPUnitTests to gctsExecuteABAPQualityChecks
* Add unit test file for gCTSExecuteABAPUnitTest
* add a test step
* gcts Test change files
* Add unit test for gCTS test
* adapt gctsTEST
* deletegcts
* command
* maintain old step
* Adapt changes to documentation
* fix for go generate
2022-02-22 09:58:22 +01:00
Daniel Bernd
dbb8173be8
Config & Documentation ATC System Configuration Steps/Stage ( #3552 )
2022-02-17 17:33:12 +01:00
Linda Siebert
480d1c260f
Add testing for helm during acceptance stage ( #3402 )
...
* Add kubernetesDeploy to Acceptance
* Add more kubernetesDeploy
* Add helm tests
* Change documentation
* Fix docu
* Change generated
* Add tests
* Add groovy tests
* Fix tests
* Change tests
Co-authored-by: Thorsten Duda <thorsten.duda@sap.com>
2022-01-25 10:42:42 +01:00
Jesse Awan
265d749469
fix stash and adapt unit tests accordingly ( #3403 )
2022-01-05 13:09:08 +01:00
Mayur Belur Mohan
f27cb4e482
ApiProxyUpload Command ( #3295 )
...
* ApiProxyUpload Command
* Code Review Fixes
* CodeReview Changes
* CodeReview Fixes
* YAML fixes
* CodeReview Fix
* Code Review Fixes
* CodeReview Fixes
* Code Climate Fixes
* Code Review Fixes
* Code Review Fixes
Co-authored-by: Roland Stengel <r.stengel@sap.com>
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2021-12-28 09:31:50 +01:00
Jesse Awan
9a387561b2
remove docker native buildtool check ( #3336 )
...
* remove docker native buildtool check
2021-12-22 16:51:06 +01:00
Eugene Kortelyov
4d787ded6d
gradleExecuteBuild initial commit ( #3337 )
...
* gradleExecuteBuild initial commit
* fmt fixes for metadata_generated
* flow updates, some tests were added
* add gradle path alias, add stage scope to task parameter
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-12-22 15:34:36 +01:00
Roland Stengel
47d8d2c357
GPP Init Stage needs to consider mta yaml path ( #3305 )
...
mtaBuild - support config.source to yaml path
2021-12-14 14:43:02 +01:00
Eugene Kortelyov
e727601ea4
feat(shellExecute): cleanup, Jenkins step, docs … ( #3313 )
...
* remove functionality with script downloading (security issue), clean up code
* remove vault client creating, remove vault params
* fix go generate issue
* error handling and test updated
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-12-13 12:31:31 +01:00
Ralf Pannemans
0c79b84d51
fix(cnbBuild): failOnError ( #3344 )
2021-12-08 17:13:20 +01:00
Oliver Nocon
9a78fabc89
feat(golangBuild): add new step for building go ( #3178 )
...
* feat(golangBuild): add new step for building go
* chore(golangBuild): increase test coverage
* remove indirect dependencies
* cleanup go.sum
* chore: remove trailing spaces
* chore(golangBuild): cleanup params, add groovy wrapper
* fix: update docker options
* update docs
* update installation according to https://golang.org/doc/go-get-install-deprecation
* fix: update installation
* update groovy test exclusion
* Update vars/golangBuild.groovy
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
* update branch
* address PR feedback
* fix compilation error
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2021-12-06 16:17:59 +01:00
rosemarieB
e90856d5bf
Generic build step ( #3323 )
...
* new step abapEnvironmentBuild
* Update piper.go
* Update abapEnvironmentBuild.go
* update yaml file
* Logging for debugging
* Update abaputils.go
* Update connector.go
* assigning connector
* delete debugging logging
* Update abapEnvironmentBuild.go
* certificate to yaml
* Update abapEnvironmentBuild.go
* add scope
* Update abapEnvironmentBuild.go
* Update abapEnvironmentBuild.yaml
* change certificate name in yaml
* test my new gitscript
* logging for debugging
* debugging...
* adding options to client.
* skip verification
* debugging
* debugging...
* switch of transportskipverification
* changing connector return
* deleting additional set options
* fixed timeout error
* adding certificate
* testing without certificate set
* testing with certificate set
* download, publish and value logic
* write values to cpe
* logging
* adding condition on string length
* change publishmethod and some logging
* change download method -> using references
* evaluation of parameter for download
* add case for empty string
* adding unittests
* Update mockClient.go
* make abapEnvironmentBuildUtilsBundle powerful
* refactor abapEnvironmentBuild into pieces
* check error message
* check error message 2
* check error message 3
* check error message 4
* remove check error message
* cleanup
* adding unittests
* unittests and docu
* docu
* docu
* Update abapEnvironmentBuild.md
* removing trailing spaces and adding empty lines in docu
* Update abapEnvironmentBuild.md
* fixing unittest and PR recommen
* Update abapEnvironmentPipelineStageBuild.groovy
* Update abapEnvironmentPipelineStageBuild.groovy
* Update abapEnvironmentPipelineStageBuild.groovy
* Update abapEnvironmentPipelineStageBuild.groovy
* changes derived from pull request
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2021-12-06 14:43:37 +01:00
Daniel Mieg
50b36794b1
Fail properly in Integration Tests ( #3282 )
...
* Require success for publish
* Echo and tets
* Fix test
* Improve test
* Update docu
* Let Integration Test throw
* Update publish.md
* Remove condition for publish
* Update docu
2021-11-16 09:32:09 +01:00
Philipp Stehle
f9f0cbfd33
enforce that step metadata yaml file is called <step>.yaml ( #3226 )
...
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
2021-11-15 14:20:20 +01:00
Mayur Belur Mohan
d3b090e63e
ApiKeyValueMapDownload Command ( #3245 )
...
* ApiKeyValueMapDownload Command
* CodeReview Fixes
2021-11-15 13:48:14 +01:00
Daniel Mieg
2e77dff4f0
Add debug flag ( #3267 )
...
* Add debug flag
* Move debug flag to general keys
* Add Tests
2021-11-11 18:29:24 +01:00
Dominik Lendle
f67cbbe0a7
A unit step integration ( #3120 )
...
* Add AUnit stage
* Add AUnit stage to ABAP Pipeline
* Add Groovy Tests
* surround header with space line
* correct class name
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* adapt Pipeline Tests
* Update tests & docu
* adapt tests
* Fix Pipeline Tests
* adapt tests
* Adapt tests
* Adapt tests
* docu fixes
* Adapt tests
* Improve Tests
* Adapt tests
* Adapt tests
* Adapt tests
* Adapt tests
* Adapt tests
* Adapt tests
* Adapt host config
* Adapt tests
* Adapt tests
* Adapt tests
* Adapt tests
* Adapt tests
* Adapt tests
* Adapt tests
* Adapt tests
* Adapt tests
* Adapt tests
* Adapt tests
* adapt docu links
* adapt docu links
* adapt docu links
* adapt docu links
* Add example to config docu
* change docu
* Change host check
* Adapt tests
* Add Prepare System defaults
* Change Prepare System defaults
* return after writing xml results
* change logging
* return after results have been persisted
* Change host check
* echo test
* echo test
* echo test
* echo test
* echo test
* config host checker working
* Enable host groovy test
* remove duplicates
* docu extension AUnit extension stage
* Remove trailing spaces
* package restrictions added to docu
* correct to type
* correct type aunit tests
* add capital letters to docu examples
* remove escape
* adapt unit tests
Co-authored-by: Daniel Mieg <daniel.mieg@sap.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-11-11 15:10:14 +01:00
Oliver Nocon
b4d314215e
chore(cloudFoundryDeploy): remove deprecated groovy-based part ( #3242 )
...
* chore(cloudFoundryDeploy): remove deprecated groovy-based part
* chore: update test due to different step logic
* chore: update documentation
* fix yaml issue
2021-11-09 07:44:31 +01:00
Mayur Belur Mohan
3ee4339af1
ApiProxyDownload Command ( #3197 )
...
* ApiProxyDownload Command
* Lint Fixes
* Lint Fixes
* codereview fixes
* Code Review Fixes
* CodeReview Fixes
* CodeReview Fixes
* Code Review Fixes
* Code Review Changes
* CodeReview Fixes
* CodeReview Fixes
* CodeReview Fix
* CodeReview Fixes
* CodeReviw Fixes
* CodeReview Changes
* CodeReview Fixes
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2021-11-02 10:30:08 +01:00
Thorsten Duda
014739451b
add annotations ( #3207 )
...
* add annotations
* adding utils
* fix test
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2021-11-02 10:00:38 +01:00
Daniel Mieg
0d7d4f22c8
Add skipCheckout Flag ( #3210 )
...
* Add skipCheckout Flag
* Add tests
2021-10-27 13:30:44 +02:00
Roland Stengel
41ed285afa
isChangeInDevelopment creation ( #3139 )
...
* checkChangeInDevelopment to GO
- add groovy step isChangeInDevelopment
- direct to new Groovy
- direct to GO
2021-10-04 14:35:38 +02:00
Pavel Busko
87162284e7
cnbBuild: buildEnvVars argument for setting custom build env vars ( #3136 )
2021-09-29 18:21:13 +02:00
Linda Siebert
54f55f7388
Add kubernetesDeploy to Release ( #3126 )
...
* Add kubernetesDeploy to Release
* Add dockerConfigJSON to STEPS
* Generate go
* Fix removed code
* Generated
* Add debugging
* Change for debugging
* Try this
* Debugging
* Try reading file
* Fix log
* See files
* Add debugging
* Remove debugging here
* Remove debug
* Remove some debugging
* Apply suggestions from code review
* Add tests
* Format
2021-09-29 15:01:40 +02:00
Linda Siebert
ca2a753e9c
Pass in custom stash settings to Init ( #3119 )
...
* Add customStashSettings parameter
* Add test for customStashSettings
* Remove file
* Fix tests
* Remove unnecessary rule
* Remove assert
* Apply suggestions from code review
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
* Update vars/piperPipelineStageInit.groovy
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2021-09-27 13:36:55 +02:00
Roland Stengel
f88751feb1
TransportRequestUploadFile migration to Go - Git commit scan ( #3094 )
...
UploadFile requestid/changedocid retrieval
- migrate Git commit history traversal to GO code
2021-09-27 11:57:20 +02:00
Roland Stengel
893edfe4d6
transportRequestUploadFile - consider changemanagement.[solman|cts|rfc].docker ( #3112 )
...
Pass docker parameters to the new transport request steps.
Fixes Issue 3110 and 3111.
2021-09-21 10:29:43 +02:00
Dominik Lendle
09f5c0a524
AUnit step ( #3075 )
...
* Add AUnit step
* Add Groovy File
* Update metadata
* Add groovy test config
* Add Unit tests
* Add Documentation
* Docu fixes
* change docu
* change docu
* change logging level & remove sleep
* change docu
* change docu
* Update documentation/docs/steps/abapEnvironmentRunAUnitTest.md
Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com>
2021-09-20 11:14:13 +02:00
Roland Stengel
cacdb2b867
TransportRequestUploadFile migration to Go - CTS ( #3098 )
...
* UploadFile CTS
- migrate to GO implementation
2021-09-16 13:18:03 +02:00
Pavel Busko
cba94dcb35
Cnb build custom buildpacks ( #3090 )
...
* [WIP] cnbBuild custom buildpacks draft
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
* Store custom buildpacks in the dedicated tmp folder
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
* added test
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
* updated documentation
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
* use Files for toml files cleanup
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
* Add missing function to the FileUtils interface
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
2021-09-14 16:14:50 +02:00
Roland Stengel
bd8ca941b6
TransportRequestUploadFile migration to Go - RFC ( #3097 )
...
* UploadFile RFC
- migrate to GO code
2021-09-13 14:14:38 +02:00
Roland Stengel
45b55254b9
TransportRequestUploadFile migration to Go - SOLMAN ( #3078 )
...
* UploadFile SOLMAN
- migrate to GO code
2021-09-13 13:31:43 +02:00
Linda Siebert
fa95bcc8a9
Match documentation of buildExecute ( #3095 )
...
* Match documentation
* Move comment
* Don't pass containerImageNameAndTag
* Change kaniko tests
* Move code in
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2021-09-10 16:25:44 +02:00
Thorsten Duda
6c339b8aed
Enables skipping the checkout in piperPipelineInitStage step by providing stashes ( #3085 )
...
* enable unstashing for initial content
* syntax fix
* beatufy unstashing
* Apply suggestions from code review
Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com>
* fix tests
* fix tests
* avoid npe
* Fix syntax
Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com>
* Update vars/piperPipelineStageInit.groovy
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
* add unit tests
* Update vars/piperPipelineStageInit.groovy
Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com>
Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com>
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2021-09-08 08:13:32 +02:00
Pavel Busko
01c687bbdc
Broken single containerImage argument has been removed ( #3065 )
...
* Broken single containerImage argument has been removed
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
* revert containerRegistryUrl param name
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
* mark containerImageName, containerImageTag and containerRegistryUrl as mandatory arguments
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
Co-authored-by: Benjamin Haegenlaeuer <benjamin.haegenlaeuer@sap.com>
2021-08-26 14:26:54 +02:00
Haegi
3f4b32f7ba
cnbBuild step MVP ( #3021 )
...
* Implement cnbBuild step
Co-authored-by: Benjamin Haegenlaeuer <benjamin.haegenlaeuer@sap.com>
* Add cnbBuild groovy test
Co-authored-by: Benjamin Haegenlaeuer <benjamin.haegenlaeuer@sap.com>
* Add basic documentation template
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
* Support specifiying name, tag and registry
Co-authored-by: Pavel Busko <pbusko@users.noreply.github.com>
Co-authored-by: Johannes Dillmann <j.dillmann@sap.com>
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
Co-authored-by: Pavel Busko <pbusko@users.noreply.github.com>
2021-08-18 12:10:55 +02:00
Mayur Belur Mohan
2d412d9f3c
IntegrationArtifactResource Command ( #3027 )
...
* IntegrationArtifactResource Command
* Remove unused code
* Formatting fix
* formatting fix
* formatting fix
* formatting fix
* formatting fix
* CodeReview Fixes
* Code Review Fix
* Code Review Fixes
* Code Review Fixes
* Format fix
* format fix
* format fix
* format fix
* Code Review Fix
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2021-08-12 09:11:02 +02:00
Mayur Belur Mohan
c283b9319d
IntegrationArtifactUnDeploy Command ( #3018 )
...
* IntegrationArtifactUnDeploy Command
* formatting fix
* Code Review Fixex
* Code Review Fixes
* remove unused code
* Formating fixes
* formatting fixes
* formatting fix
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2021-08-02 16:27:16 +02:00
Marcus Holl
a1823aeb98
checksPublishResults: prepare reports only if the reporting is active ( #2971 )
...
* checksPublishResults: prepare reports only if the reporting is active
* test
* remove un-used import
* dummy in order to trigger checks
2021-07-12 10:02:09 +02:00
Roland Stengel
e025c1d774
CTS Upload Groovy ( #2970 )
...
CTS Upload Groovy
- add step
2021-07-08 16:37:39 +02:00
Roland Stengel
d38a0f8430
RFC Upload Groovy ( #2920 )
...
* RFC Upload Groovy
- add step
- test step
2021-07-06 10:09:41 +02:00
Thorsten Duda
7910df0e8c
new step integrationArtifactTriggerIntegrationTest ( #2951 )
...
* new step integrationArtifactTriggerIntegrationTest
* add new step into allow list
* add the new step to main command
* refer cpe
* remove unused unit tests
* Check methods and URLs of http request
* Add TriggerIntegration to mockingutils
* Format code
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
Co-authored-by: Linda Siebert <linda.siebert@sap.com>
2021-06-29 14:50:19 +02:00
Hans Schulz
d2f75044d0
Add option to tag artifact version to containerPushToRegistryStep ( #2859 )
...
* Add option to tag artifact version to containerPushToRegistryStep
* Update vars/containerPushToRegistry.groovy
Co-authored-by: breuerjo <36748317+breuerjo@users.noreply.github.com>
* commonPipelineEnvironment instead of globalPipelineEnvironment
Co-authored-by: breuerjo <36748317+breuerjo@users.noreply.github.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-06-28 08:02:06 +02:00
Kevin Stiehl
eb6ffc334a
[CPE] write commonPipelineEnvironment even when it's empty ( #2904 )
...
* writePipelineEnv even when map is empty
* mock write and read PipelineEnv calls
2021-06-15 18:42:04 +02:00
Kevin Stiehl
d1c8abc6b3
refactor: move common pipeline environment handling to golang ( #2823 )
...
* make use of new read,writePipelineEnv Steps in groovy
* remove unused cat
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2021-06-15 14:34:56 +02:00
Roland Stengel
e794d4884b
solman upload split git groovy ( #2782 )
...
* Split git commit message scan from solman upload - groovy part
2021-06-07 10:34:36 +02:00
Mikalai Dzemidzenka
c38d231820
feat(gauge): migrate gaugeExecuteTests to go implementation ( #2775 )
...
* gaugeExecuteTests converted to golang
* rewrited gaugeExecuteTests to cross-platform implementation. Now gauge uses npm
* regenerated
* groovy file import fix
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-06-01 13:15:10 +02:00
Jesse Awan
3b2e7dc53d
add initContainer capabilities ( #2820 )
...
* set init container capabilities
* set init container capabilities
* correct parameter definition + change assertThat
Co-authored-by: Adnan Awan <adnan.awan@sap.com>
Co-authored-by: Thorsten Duda <thorsten.duda@sap.com>
2021-06-01 09:59:49 +02:00
Maximilian Braun
9d82bdcd20
feat(ContainerPushToRegistry): add authentication for source registry ( #2798 )
...
* feat(ContainerPushToRegistry): add authentication for source repository
* Adjust mocking to reflect a source and a target registry instead of an anonymous and an authenticated
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-05-06 11:17:02 +02:00
Mikalai Dzemidzenka
b82ecb0ff7
convert batsExecuteTests to go implementation ( #2737 )
...
* convert batsExecuteTests to go implementation
* added additional test cases, added container definition to batsExecuteTests.yaml
* added influx, for junit added container definition
* added parameter envVars
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-04-29 16:50:23 +02:00