tiloKo
a2c0f89222
remove obscuring log output ( #4320 )
2023-04-05 15:39:56 +02:00
Christopher Fenner
bee1ffe4f1
feat(golangBuild): create test report json file ( #4306 )
...
* feat(golangBuild): create test report json file
* Update golangBuild_test.go
* Update golangBuild_test.go
* Update integration_golang_test.go
* Update integration_golang_test.go
* Update golangBuild.go
* rename test files
* rename
2023-04-05 15:07:54 +02:00
Daria Kuznetsova
47c5a16cc0
fix(codeqlExecuteStep): parsing git url with dots in repo name ( #4318 )
...
* change regexp to parse repo URL with dots in repo name
* added regex to cut off username and token from URL & added test cases
2023-04-04 21:16:15 +02:00
Marco Rosa
6b18448124
Add credentialdiggerScan step ( #4141 )
...
* Add credentialdiggerScan metadata
* Integrate new step into piper process
* Add credentialdiggerScan implementation and tests
* Remove duplicated code
* Add doc file for credentialdiggerScan step
* Regenerate metadata
* Fix return type in tests
* Add credentialdiggerScan to CommonStepsTest
* Fix typo
* Improve code style
* Add support for custom rules file in stash
* Regenerate metadata for credentialdiggerScan
---------
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
Co-authored-by: Anil Keshav <anil.keshav@sap.com>
2023-04-04 16:57:15 +02:00
larsbrueckner
489adaaf99
Blackduck toolrecord file: add Blackduck projectVersion name and href ( #4303 )
...
* Blackduck toolrecord file: add Blackduck projectVersion name and href
* fix codestyle
* fix build error
2023-04-04 14:17:13 +02:00
Daniel Mieg
7147209e3e
Improve logging for ABAP steps ( #4316 )
...
* Fix logs
* Increase number of entries
2023-04-04 12:46:03 +02:00
Daniel Mieg
549b32c675
Adapt to backend API changes ( #4309 )
...
* Remove legacy logging
* Implement new requests
* Improve Tests
* Adapt tests
* Refactor
* Fix tests
2023-03-31 15:26:38 +02:00
Pavel Busko
81d9a0ac8c
feat(cnbBuild): support Vault general purpose secrets as a binding content source ( #4281 )
...
* feat(cnbBuild): support Vault general purpose secrets as a binding content source
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
* fix npm project integration test
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
---------
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
Co-authored-by: Sumit Kulhadia <sumit.kulhadia@sap.com>
2023-03-31 09:36:59 +02:00
Anke Ravalitera
ba58d72022
Update texts of gCTS steps and scenario for SSL and queryP ( #4282 )
...
* Update texts of gCTS steps and scenario for SSL and queryP
* delete a trailing space
2023-03-29 12:31:27 +02:00
Andrei Kireev
ba761f0fc4
fix(detectExecuteScan): Fixed issue with duplication of parameters when specifying them in scanProperties ( #4304 )
...
* Fixed issue with duplication of parameters search.depth/search.continue/excluded.directories
2023-03-28 09:10:54 +02:00
Vyacheslav Starostin
d6e72995b0
githubPublishRelease: fix the link which points to changes between the last release and the new one ( #4296 )
2023-03-27 21:39:46 +06:00
gerstneralex
f5c33d51bb
Tms export ( #4160 )
...
* Change parameter type of nodeExtDescriptorMapping
(cherry picked from commit ca7ce0485a
)
* Remove usage of the depricated ioutil package
(cherry picked from commit 9821915b33
)
* Fix cmd failure if neither git/commitId nor customDescription are
provided
(cherry picked from commit c362681e45
)
* Fix unit test
(cherry picked from commit 53a90aabb5
)
* Step metadata, step code generation
* change type of nodeExtDescriptorMapping for export
* Refactoring and export implementation
* integration test
* Add export step
* Integration test
* format
* discard piper.go
* Review related changes
* restore piper.go
* remove unused method
* Extend documentation
* Add parameter useGoStep to tmsUpload.groovy
* Regenerate steps
* Rename function
* refactor constants
* Add error path tests
* Move some code to tms package
* Move more code to tms
* Combine tmsUpload, tmsUtils
* Add groovy wrapper
* add parameters to groovy step
* add import
* jenkinsUtils instance
* comment namedUser logic in groovy
* namedUser param
* remove logic for namedUser param
* Remove TMS integration tests
* discard changes in tmsUpload.groovy
* Remove parameters
* Restore parameters
* Change type of NodeExtDescriptorMapping to map[string]interface{}
* tmsUpload: Change type of NodeExtDescriptorMapping to map
* Resolve ioutil deprecation
* Review related changes
* Formatting
* Review related improvements
* Add tmsUtils test
* Formatting tmsUtils_test
* Remove parameters from groovy wrapper
* Remove tmsUtils_test
* Add TMS steps to fieldRelatedWhitelist
* Add integration test
* Add test to github_actions_integration_test_list.yml
* Move test helper method
* Step documentation placeholder
* Remove parameter StashContent
* Restore cmd/integrationArtifactTransport.go
---------
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2023-03-27 16:55:29 +02:00
Oliver Feldmann
92a782a6c3
[Integration Suite] Store response in CPE ( #4277 )
...
* Store response body in CPE
* Also store response headers in CPE
2023-03-27 14:34:59 +00:00
Andrei Kireev
e55c2f857c
feat(detectExecuteScan) enabling possibility to scan MTA projects ( #4300 )
...
* feat(detectExecuteScan) enabling possibility to scan MTA projects
2023-03-27 10:42:39 +02:00
Marcus Holl
d76246d781
dockerExecuteOnKubernetes: return result of body closure ( #4301 )
2023-03-27 09:42:04 +02:00
Marcus Holl
b0f578a5a9
dockerExecuteOnKubernetes: log the first two level of the file system in verbose mode ( #4293 )
2023-03-23 09:27:13 +01:00
sumeet patil
d5d486ae3f
docs(codeqlExecuteScan): Improve codeqlExecuteScan githubToken docs ( #4292 )
2023-03-22 18:14:04 +05:30
Ashly Mathew
60f9d55bda
Add Step scope for mavenBuild ( #4291 )
2023-03-21 14:17:07 +01:00
Oliver Nocon
7c4262b0c6
chore (containerExecuteStructureTests): switch default container ( #4288 )
2023-03-21 08:06:22 +01:00
Marcus Holl
b835498449
invalidate default stash only if it has been created ( #4273 )
2023-03-17 08:52:00 +01:00
Vyacheslav Starostin
eeea501bc6
golangBuild: Update golangci-lint version ( #4279 )
...
* Update golangci-lint version
* go generate
2023-03-16 18:53:24 +06:00
Daria Kuznetsova
d6d1265eb9
feat(codeqlExecuteScan): added logging codeql version ( #4271 )
...
* added printing codeql version
* refactored duplicated code
* added else for logging codeql version
2023-03-14 13:48:42 +01:00
Daria Kuznetsova
9774eaab86
fix(codeqlExecuteScan): added parameters threads and ram ( #4269 )
2023-03-13 19:17:16 +05:30
Daniel Mieg
8084ce1a94
Change to default cf create-service implementation ( #4224 )
...
* Change to default cf create-service
* Adapt test
* Adapt tests
* Remove comment
---------
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2023-03-08 09:44:00 +01:00
gerstneralex
cfe21ebb7e
it test ( #4134 )
...
* it test
* transfer credentials
* Change parameter type of nodeExtDescriptorMapping
* Extend test
* Fix unit test
* Remove usage of the depricated ioutil package
* Fix cmd failure if neither git/commitId nor customDescription are
provided
* Extend test
* Add TMS test to the job matrix
* Map env. variable
* Remove usage of the env. TMS_UPLOAD_IT_KEY
* remove os
* update test
* use os.Gerenv
* test fix
* Update integration-tests.yml
* env mapping in it pr workflow
* print tmsServiceKey
* read env with upper case
* Update integration-tests.yml
* Update integration-tests.yml
* Update integration-tests-pr.yml
* Delete cover.out
* Remove TMS service key from environment in integration test workflow job
* Extend integration tests
* Revert change parameter type of nodeExtDescriptorMapping
* Extend tests
* Extend tests
* Remove unused method
* Change default TR description
* Add check for custom description
* Remove personal data from MTARs
* Register client secret to log as secret
* Move RegisterSecret to earlier point in runtime
* RegisterSecret for encodedUsernameColonPassword
* Update integration/integration_tms_upload_test.go
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
* Use one test data directory
* Add a negative test
* fix config file name
---------
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2023-03-07 17:49:28 +01:00
Andrei Kireev
22f61be2c4
Removed downloading of detect script version 6 ( #4261 )
...
Co-authored-by: ffeldmann <f.feldmann@sap.com>
2023-03-07 14:43:14 +01:00
gerstneralex
34fc844ac0
Tms upload fixes ( #4204 )
...
* Fix proxy usage in tmsUpload
* Fix no default description if custom description is not provided
2023-03-03 18:23:40 +01:00
Akramdzhon Azamov
f4fbf0f1ed
feat(detectExecuteScan) execution of rapid scans ( #4211 )
...
Co-authored-by: akram8008 <900658008.akram@email.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
Co-authored-by: Andrei Kireev <andrei.kireev@sap.com>
Co-authored-by: ffeldmann <f.feldmann@sap.com>
Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2023-03-02 11:04:21 +01:00
Philipp Stehle
cc3bc76943
Use floating tag for helm images ( #4236 )
...
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
2023-03-01 09:26:26 +01:00
dependabot[bot]
bb0da58cf9
build(deps): bump golang.org/x/net ( #4254 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20220722155237-a158d28d115b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 09:05:33 +01:00
dependabot[bot]
ffffb23dc5
build(deps): bump github.com/containerd/containerd from 1.6.6 to 1.6.18 ( #4234 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.6 to 1.6.18.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.6.6...v1.6.18 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 08:54:29 +01:00
Vyacheslav Starostin
9aac0ae06c
GHActions: Add the possibility to fetch logs ( #4250 )
...
* Initial commit
* getStageId added
* setting token for orchestrator
* Add possibility to fetch logs (GHActions)
* Update
* Clean up: delete test log file
* go mod tidy
* Rename token
* Rename token
* Apply suggestion from code review
* Update
* Correct err msg
* Add new line
* Update pkg/orchestrator/gitHubActions.go
Co-authored-by: ffeldmann <f.feldmann@sap.com>
* Update pkg/orchestrator/gitHubActions.go
Co-authored-by: ffeldmann <f.feldmann@sap.com>
* Update pkg/orchestrator/gitHubActions.go
Co-authored-by: ffeldmann <f.feldmann@sap.com>
* Add httpHeader variable && little updates
* Clean up
* Make structs unexported
---------
Co-authored-by: Aibyn Sadu <aibaend@yandex.ru>
Co-authored-by: ffeldmann <f.feldmann@sap.com>
2023-03-01 10:38:40 +06:00
sumeet patil
b171b82640
fix(codeql): fix toolrecord report link ( #4252 )
2023-02-24 18:12:26 +05:30
Akramdzhon Azamov
9151fef53b
documentation for the upcoming rapid scan in pull requests in the detectExecuteScan step ( #4249 )
...
Co-authored-by: Andrei Kireev <andrei.kireev@sap.com>
2023-02-24 13:18:15 +01:00
Srinikitha Kondreddy
1536362a50
Fix mta buildtool error ( #4243 )
...
* Fix indentation
* Fix type
* Exclude mta build tool from throwing error
* Update log message
* Add test case
2023-02-24 11:09:42 +01:00
Vyacheslav Starostin
7e7182d3fe
fix(containerPushToRegistry): Add possibility to copy image from private registry ( #4247 )
...
* fix(containerPushToRegistry): Add possibility to copy image from private registry
* Clean up
2023-02-24 15:08:05 +06:00
Vyacheslav Starostin
dcc688f9be
containerPushToRegistry: Add possibility to copy image from private registry ( #4242 )
...
* Add possibility to copy image from private registry
* Fix tests
2023-02-23 19:32:41 +06:00
Daria Kuznetsova
cea2a6e290
feat(codeql): added generating file toolrun_codeql.json ( #4240 )
...
* added generating toolrun file for codeql
2023-02-22 22:30:53 +05:30
Christopher Fenner
31ee45ad30
fix(sonar): archive result file via handleStepResults ( #4227 )
...
* Update sonarExecuteScan.groovy
* Update sonarExecuteScan.go
2023-02-22 12:28:17 +01:00
Vyacheslav Starostin
1e242a7fd6
Orchestrator/GHActions: fix pr-number determination ( #4237 )
...
* Orchestrator/GHActions: fix pr-number determination
* Apply suggestions from code review
* go fmt
---------
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2023-02-22 15:38:33 +06:00
Christopher Fenner
278c5a7125
fix(sonar): update integration test ( #4241 )
...
* Update integration_sonar_test.go
* Disable TestNexusIntegration
---------
Co-authored-by: Vyacheslav Starostin <32613074+vstarostin@users.noreply.github.com>
2023-02-22 15:19:56 +06:00
Ralf Pannemans
906512a162
feat(cnbbuild): allow bindings to have multiple keys ( #4231 )
...
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
2023-02-16 15:29:08 +01:00
tiloKo
9e9b402b49
Variable dotted version string fix #2 ( #4233 )
2023-02-16 12:47:02 +01:00
Rinita Asani
eecddf689c
New Configuration Parameters for gCTS steps ( #4214 )
...
* Adding new query configuration parameter for gCTS Piper steps
* Add skipSSLVerification parameter to gCTSExecuteQualityChecks
* Add skipSSLVerification to gCTSDeploy
* Add SkipSSLVerification for pull by commit
* Add SkipSSLVerification to rollback
* Add SkipSSLVerification parameter to rollback
* Handling maximum number of charachter for the queryParameter
* Remove extra new lines in yaml files
* Add new line yaml files
2023-02-14 11:38:46 +01:00
Vyacheslav Starostin
d7e0bfe4f9
Revert "artifactPrepareVersion: Add usage of gradle docker image if buildTool is gradle ( #4226 )" ( #4230 )
...
This reverts commit 7c7dcbf910
.
2023-02-13 17:55:25 +01:00
Daria Kuznetsova
2191e2d458
fix(codeqlExecuteScan): fixed duplication of language flag in codeql ( #4229 )
2023-02-13 21:14:25 +05:30
Vyacheslav Starostin
7c7dcbf910
artifactPrepareVersion: Add usage of gradle docker image if buildTool is gradle ( #4226 )
2023-02-13 19:49:26 +06:00
Daniel Mieg
54d0c68feb
Add parameter for async execution (cfCreateServiceKey) ( #4209 )
...
* Add parameter for async execution
* Add default
* Adapt tests
* Add defaults for ABAP
---------
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2023-02-08 14:51:52 +00:00
Ralf Pannemans
f2c6cf7d47
fix(kubernetesDeploy): Escape imageAliases in valueMapping ( #4210 )
...
Co-authored-by: Johannes Dillmann <j.dillmann@sap.com>
2023-02-08 13:41:26 +01:00
Andrei Kireev
4098e70742
Added audit information in Sarif file in detectExecuteStep ( #4198 )
...
* Added audit information in sarif file in blackduck step
---------
Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2023-02-07 17:02:28 +01:00