Sven Merk
ce06b82450
fix(protecodeExecuteScan): Handling of empty findings ( #2818 )
...
* Don't fail if components list is empty. Resolves failures when scanning images from Crossplane.
* Update formatting with go fmt
* Update pkg/protecode/protecode.go
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
* Update pkg/protecode/protecode.go
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
* Fix change, make consistent
Co-authored-by: d.small@sap.com <d.small@sap.com>
Co-authored-by: dee0 <dsmallzero@gmail.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2021-05-17 13:38:17 +02:00
ffeldmann
b88ebdad6c
feat(splunk) Sending telemetry and logging information to Splunk ( #2796 )
...
* Adds inital splunk hook and logCollector
* Adds documentation of the Splunk hook
* Fixes markdown lint issues and removes comment from telemetry.go file
* Fixes markdown lint issues and adds missing generated file
* Markdown linting
* Changes documentation according to review, adds Splunk token automatically during init
* Adds error handling for marshalling hook config
* Markdown lint und correct Splunk token in httpclient
* Registeres Splunk token as secret and adjusts test cases
* Adds missing error handling and removes unnecessary comments
* Creates new function readPipelineEnvironment, adds tests
* Moves MonitoringData struct, edits defaults for json fields
* Adds gitRepository and gitOwner to telemetry information
* Simplifies readCommonPipelineEnvironment function, adds more descriptive errors, adds automated adding of Splunk prefix token
* Adjusts error handling
* Cleaner error logging
2021-05-17 12:14:04 +02:00
Christopher Fenner
3a14a91ae5
refactor(versioning): simplify versioning model method ( #2825 )
...
* rename artifactVersion to version
* simplify versioningModel
2021-05-14 09:35:31 +02:00
tiloKo
56ef1201b9
enforce CommitID ( #2830 )
...
* enforce CommitID
2021-05-12 19:59:48 +02:00
Peter Persiel
77fee02319
Replace S-User with correct term technical communication user ( #2828 )
2021-05-11 16:28:17 +02:00
Oliver Nocon
4b666003c8
feat(reporting) update markdown reports ( #2819 )
2021-05-11 08:01:02 +02:00
Christopher Fenner
98fac0a455
chore(deprecation): change format of deprecation notice from config command ( #2822 )
...
* Update config.go
* Update config.go
* add library name
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-05-10 19:18:16 +02:00
Oliver Nocon
5899746767
chore: update error categories ( #2827 )
2021-05-10 17:44:28 +02:00
Sarat Krishnan
77557c41c3
Fix(gctsDeploy) Refactoring gctsDeploy step ( #2789 )
...
* Changed gcts deploy step to include create, clone and switching branches
* Added create only flag for repository
* Changed the logic of Rollback
* Added more logs to deployCommitToAbapSystem
* Changes to deploy to abap system
* Changes to deploy to abap system
* Changes to condition for pullbycommit
* Added Current commit deploy scope handling
* Changed VCS_NO_IMPORT to take abap bool
* Added delete config functionality
* Functionality to parse boolean configuration
* Fix to get config metadata url
* Added additional error messages for switch branch
* Better error dump handling
* Better error dump handling contd
* Added dump errors to all http requests
* Error logging changes
* More Unit Tests
* Added more logs
* Updated docs for gCTS deploy
* Added scope in documentation
* Removal of some nested loops, fix of unit tests
* Documentation changes and more comments in the code
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2021-05-10 14:05:21 +02:00
Peter Persiel
c43afe1355
Update limitations in abapEnvironmentAddons ( #2821 )
...
* Update limitations in abapEnvironmentAddons
* Update abapEnvironmentAddons.md
2021-05-07 13:46:21 +02:00
Marcus Holl
aafda73f41
Let docu for cloudFoundryDeploy generate by go ( #2605 )
...
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-05-06 12:23:33 +02:00
Christopher Fenner
1cbc40f3d0
claim code ownership for Sonar ( #2812 )
...
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-05-06 11:39:07 +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
Sacha Droste
8a111fbe40
Update helm3 version ( #2810 )
...
* update minor version of helm3
* regenerate go files
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-05-06 11:02:27 +02:00
Siarhei Pazdniakou
0673d3fed6
Writing secrets to vault ( #2770 )
...
Co-authored-by: Kevin Stiehl <kevin.stiehl@numericas.de>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-05-06 10:27:23 +02:00
Sven Merk
4ffd61d34c
docs: Improve guidance for testOptions migration ( #2815 )
...
* Update uiVeri5ExecuteTests.yaml
* Update uiVeri5ExecuteTests.yaml
* Update uiVeri5ExecuteTests.yaml
* Update uiVeri5ExecuteTests.yaml
* Update uiVeri5ExecuteTests.yaml
* Add generated artifact
2021-05-06 10:12:17 +02:00
Sven Merk
c34da3c9a8
Removed obsolete scanTape, changed to buildTool ( #2816 )
...
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-05-06 09:33:05 +02:00
Christopher Fenner
aaa1869ec0
feat(protecode): rename artifactVersion to version ( #2813 )
...
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
2021-05-05 19:52:13 +02:00
Sven Merk
534cba767c
fix(whitesourceExecuteScan): Add retry capability for download operations ( #2808 )
...
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-05-05 15:49:28 +02:00
Peter Persiel
b488409f62
AddonBuild = deprecated ( #2817 )
...
* AddonBuild = deprecated
AddonBuil strategy is deprecated and should be removed from documentation
* Remove AddonBuild strategy
2021-05-05 15:20:21 +02:00
Christopher Fenner
804e66d4cd
feat(detect): add customScanVersion to detect scan ( #2790 )
...
* add versioningModel parameter
* extract versioning model to own package
* move log message
* use versioning method
* add customScanVersion parameter
* use customScanVersion
* adjust docs on other steps
* add customScanVersion parameter
* use customScanVersion
* adjust docs on other steps
* change log message
* update test case
* fix typo
* correct variable name
2021-05-05 10:24:05 +02:00
Christopher Fenner
2426486e7b
feat(sonar): add versioningModel and customScanVersion to sonar scan ( #2787 )
...
* add versioningModel parameter
* extract versioning model to own package
* move log message
* use versioning method
* add customScanVersion parameter
* use customScanVersion
* adjust docs on other steps
* update test case
2021-05-05 09:02:19 +02:00
Srinikitha Kondreddy
dd64672f5d
Fix docu typos ( #2807 )
2021-05-04 16:14:40 +02:00
Christopher Fenner
4603bf3c0e
refactor(protecode): rename parameter reuseExisting ( #2809 )
...
* rename parameter
* update code
* correct tests
2021-05-04 15:03:43 +02:00
Florian Wilhelm
83651b750f
update maven-pmd-plugin to 3.14.0 ( #2803 )
...
Fixes #2766
Co-authored-by: Thomas Hoffmann <tho.hoffmann@sap.com>
2021-05-04 14:43:40 +02:00
Peter Persiel
d34d897691
Fix limitation abapEnvironmentAddons ( #2801 )
...
* Fix indention abapEnvironmentAddons
* Update abapEnvironmentAddons.md
* Update abapEnvironmentAddons.md
Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com>
2021-05-04 09:36:04 +02:00
pkrasnousov
e9464b2594
feat(whitesourcescan): add param workDir to whitesourcescan ( #2791 )
...
* Add dir to whitesource scan
* Add default for "dir" option
* Change param name to workDir
* Change param name WorkDir to ScanPath
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-05-03 10:53:16 +02:00
Christopher Fenner
a91f1f7597
docs(vault): add note about vault auth env vars ( #2795 )
...
* Update vault.md
* fix code climate findings
2021-05-03 08:50:06 +02:00
Peter Persiel
100fb76067
Update abapEnvironmentAddons.md regarding limitations ( #2769 )
...
* Update abapEnvironmentAddons.md regarding limitations
* Update abapEnvironmentAddons.md
* Update abapEnvironmentAddons.md
* Update abapEnvironmentAddons.md
* Update abapEnvironmentAddons.md
* Update documentation/docs/scenarios/abapEnvironmentAddons.md
Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com>
* Update documentation/docs/scenarios/abapEnvironmentAddons.md
Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com>
Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com>
2021-04-30 15:01:59 +02:00
Srinikitha Kondreddy
363600ce9f
Introduce new flag to run artifact versioning on a pod for maven projects ( #2788 )
...
* Introduce new flag to run artifact versionining for maven on pod
* Add code review changes
2021-04-30 10:14:14 +02:00
Mayur Belur Mohan
05973a8fcd
Help document fixes ( #2793 )
...
* byte code Fix
* Help Url Fixes
* Yaml Changes
* Error Message changes
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2021-04-30 09:43:25 +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
Dominik Lendle
b37f356eac
Docu changes for ATC step ( #2792 )
...
* Docu changes
* Linting changes
* Formatting changes
* Remove trailing spaces
* Add extensibility page to index
2021-04-29 15:47:11 +02:00
tiloKo
9ac29fd8e6
set User-Agent Header ( #2797 )
2021-04-29 13:30:25 +02:00
Oliver Feldmann
d766f6befe
dockerExecuteOnKubernetes: Add capability for volume mounts ( #2784 )
...
* Remove unused container variable
* Add volume mounts functionality
* Make volume mounts optional
* Replace placeholder with {}
* Don't provide sidecar volume mounts
* Remove unnecessary parameter volumeName
* Add documentation for new parameter
* Use empty map for {}
* Update vars/dockerExecuteOnKubernetes.groovy
Co-authored-by: Srinikitha Kondreddy <srinikitha.kondreddy@sap.com>
* Improve documentation
Co-authored-by: Srinikitha Kondreddy <srinikitha.kondreddy@sap.com>
2021-04-29 11:39:34 +02:00
Sven Merk
bf428d1ef9
Fix project lookup query ( #2785 )
...
* Fix project lookup
* Added test for space
* Update pkg/fortify/fortify.go
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-04-28 13:59:59 +02:00
Oliver Nocon
b9cd425091
fix(whitesource) proper error message when tokens are not found ( #2786 )
2021-04-23 11:33:10 +02:00
Christopher Fenner
e11de9dbeb
chore(ci): add yamllint action ( #2774 )
...
* chore(ci): add yamllint action
* Create .yamllint.yml
* Update verify-yaml.yml
* Update verify-yaml.yml
* Update verify-yaml.yml
* Update verify-yaml.yml
* Update verify-yaml.yml
* correct yaml format
* correct yamllint findings
* disable truthy rule
* add pattern for workflows yamls
* fix c&p issue
2021-04-22 12:55:35 +02:00
Roland Stengel
478a73f8f3
Add documentation for transportRequestUploadSOLMAN ( #2754 )
2021-04-22 09:40:26 +02:00
Dominik Lendle
9168757810
Add Html output to ATC step ( #2761 )
...
* Adding HTML Output
* testing
* testing
* change logging
* change logging
* change logging
* Refactoring
* Add metadata to HTML file
* Change parameter name from sendEmail to generateHTML
* Add sorting and test
* Increasing sorting performance
2021-04-21 20:13:02 +02:00
Andre
e5dcc21bad
feat(mta): update MBT build tool to latest release 1.1.1 ( #2777 )
2021-04-21 14:01:03 +02:00
Sven Merk
2af512e12e
Update configHelper.go ( #2768 )
2021-04-19 12:01:24 +02:00
Fabian Reh
44ca6db57c
Fix checkmarx execute scan ( #2765 )
...
* Remove error check on preset conversion
Signed-off-by: Fabian Reh <fabian.reh@sap.com>
2021-04-19 10:15:07 +02:00
Christopher Fenner
5b4b5518c8
fix(karma): provide env parameters for port and host name ( #2763 )
...
* add env vars for piper-karma-config
* update generated code
2021-04-16 15:18:34 +02:00
Andre
559bcd1ef2
fix(whitesource) use mta image without npm.sap.com ( #2760 )
...
* fix npm.sap.com issue
* use latest
* go generate
* use fixed version 1.0.16.1
* mbt version for tests also changed
2021-04-16 13:40:10 +02:00
Christopher Fenner
b531c2a017
docs(whitesource): correct description ( #2762 )
...
* Correct description
* update generated code
2021-04-15 19:15:59 +02:00
Mikalai Dzemidzenka
61f4c5245a
feat(karma): migrate karmaExecuteTests to go implementation ( #2695 )
...
* convert karmaExecuteTests to go implementation
* removed KarmaExecuteTestsTest.groovy
* added KarmaExecuteTests to fieldRelatedWhiteList
* Update vars/karmaExecuteTests.groovy
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
* Update resources/metadata/karmaExecuteTests.yaml
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
* Update resources/metadata/karmaExecuteTests.yaml
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
* added reference seleniumHubCredentialsId to yaml file, fixed modules code
* karmaExecuteTests.yaml renamed to karma.yaml
Co-authored-by: lndrschlz <leander.schulz01@sap.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2021-04-15 13:58:23 +02:00
Oliver Nocon
d04a7c2eb3
feat(pipelineCreateScanSummary) Create groovy wrapper ( #2743 )
...
* feat(pipelineCreateScanSummary) Create groovy wrapper
* add command to binary
* stash step reports
* update stash
* fix typo
* unstash reports first
* update reporting
* update json reporting
* update tests & enhance logging
* update md report
* update md reporting
* fix rendering
* update tests
2021-04-15 07:45:06 +02:00
Daniel Mieg
3c9f993101
Fix step not showing error status ( #2758 )
...
* Expose error to step
* Adapt to codeclimate
2021-04-14 09:31:50 +02:00
lndrschlz
b8e9201df5
feat(vault): provide test credentials from vault in every piper go step ( #2715 )
...
* added support for test credentials
Co-authored-by: Kevin Stiehl <kevin.stiehl@numericas.de>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-04-09 10:04:35 +02:00