Daniel Mieg
37a3504152
Adapt default ( #4066 )
2022-10-12 13:46:19 +02:00
Daniel Mieg
ebac0da332
Add create tag to abapEnvironmentPipeline ( #3870 )
...
* Add alias
* Add step and defaults
* Add closing }
* Add test
* Remove alias
* initial copy
* Change step activation
* Change test
* Read foreign config
* Fix Syntax
* Test
* Test
* Only consider stage config
* Test config
* Test
* Test
* Change echo
* Fix
* Test
* Default test
* Uncomment
* Test different outputs
* Adapt Config
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2022-10-12 10:20:13 +02:00
Ashly Mathew
b75d6cf9ed
Enable Jenkins to use checkIfStepActive go step ( #3931 )
...
* Extend checkIfStepActive
* adapt default format in abap Tests
Co-authored-by: dominiklendle <d.lendle@sap.com>
Co-authored-by: “Raman <“raman_susla@epam.com”>
2022-08-29 11:39:08 +02:00
Daniel Bernd
11e7b5e137
Feature usage com scen901 ( #3917 )
...
* Usage of Communication Scenario 901 (instead 510)
* Stage Defaults ATC - Com.Scen 901
* added missing step in Introduction docu
* Correct Link
* Link adapt 2 - generated
* remove Push ATC system configuration again (as only substep)
* feat: allow uploading multiple boms (#3900 )
* WIP: Adapt bom names
* + WIP: Adapt bom filenames
* Upgrade cyclonedx gradle plugin and use cyclonedxBom config parameters
* Fix unit tests - use correct name in bom creation
* Fix pythonBuild bom name
* introduce and use npmBomFilename const
* Introduce and use mvnBomFilename const
* Introduce and use gradleBomFilename const
* Use build-tool names for bom suffix
* + Adapt tests (build tool suffix)
* Use BOM schema version 1.2 in gradleExecuteBuild
* Pin version of cyclonedx-maven-plugin to 2.7.1
* Adapt generated files
* Fix integration tests
* Fix integration tests
* Fix gradle build integration tests
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
* fix(cnbBuild): Create separate temp folder for each creator call (#3910 )
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
* feat(fortifyExecuteScan): new spotcheck flags (#3923 )
* feat: improve vulnerability reporting via GitHub issues (#3924 )
* feat: improve vulnerability reporting via GitHub issues
* feat: update reports
* chore: add tls cert links
* only write log on error
* chore: update formatting
* chore: update handling of direct dependencies
* chore: fix linting issue
* chore: minor updates
* correct typo
Co-authored-by: Daniel Bernd <93763187+danManSAP@users.noreply.github.com>
Co-authored-by: R. Kloe <55529941+rkloe@users.noreply.github.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2022-08-15 10:56:08 +02:00
Daniel Mieg
cf617cb30e
Add stage default ( #3864 )
2022-06-29 15:02:32 +02:00
Peter Persiel
6ab3ab2841
Update abapEnvironmentPipelineStageDefaults.yml ( #3831 )
...
Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com>
2022-06-15 15:46:50 +02:00
rosemarieB
d30395931b
Do not merge before go live of steampunk 2205! Insert generic build step into abap environment pipeline ( #3507 )
...
* enhance build step
* Update abapEnvironmentBuild.go
* build with addonDescriptor
* use addondescriptor
* Use Addondescriptor
* add error
* improve logging
* rename intervall to interval
* update yaml
* Update abapEnvironmentBuild.go
* Update abapEnvironmentBuild.yaml
* insert generation phase
* we do not know what we have done
* Add createServiceKey to test
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
Co-authored-by: Daniel Mieg <daniel.mieg@sap.com>
2022-05-23 13:47:03 +02:00
Daniel Mieg
3f54eb74bc
ABAPEnvironmentPipeline: move cloudFoundryCreateServiceKey ( #3712 )
...
* Move cloudFoundryCreateServiceKey
* Adapt tests
* Update defaults
* Fix Unittest
* Fix test
* Adapt test
* Fix
* Adapt
2022-05-03 12:52:44 +02:00
Linda Siebert
8eb0c6aa48
Adjust sonarExecuteScan step ( #3527 )
...
* add check for instance parameter
* remove default from yaml
* adapt changes
* Update stashSettings.yml
* Unstash
* Add echo
* Stash changes
* Remove changes
* stash everything
* Change it up
* Change go
* Switch to new solution
* Try new stash
* Remove compliance
* Move Artifacts
* Change stashing
* Match others
* Remove space
* Test if warning goes away
Co-authored-by: Jesse Awan <jesse.awan@sap.com>
2022-02-25 13:09:50 +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
Daniel Mieg
ccdedd4599
Add stage defaults ( #2841 )
...
* Add stage defaults
* Adapt defaults
* Change default file
* Rename config files
* Add defaults for Build stage
* Change and escape cfServiceKeyConfig
* Remove service key config
* Fix typo
* Change quotes
* Add default for Publish
* Add cfDeleteServicesKeys to defaults
2021-06-23 10:04:15 +02:00
Florian Wilhelm
9d5bd8b09b
Remove references to cloud sdk ( #2418 )
...
Not required anymore as Cloud SDK was merged into General Purpose Pipeline
2020-11-23 17:48:53 +01:00
Stephan Aßmus
cb6b34f042
Unstash buildDescriptor where neoDeploy may need it ( #2408 )
2020-11-19 19:18:00 +01:00
Florian Wilhelm
647e1ef0bd
Add deployment to performance tests stage and enable stage ( #2370 )
...
Co-authored-by: Kevin Hudemann <kevin.hudemann@sap.com>
2020-11-13 16:31:45 +01:00
Kevin Hudemann
7a04bb9749
Add runStep conditions for mavenExecuteIntegration and npmExecuteScripts in Integration stage ( #2361 )
...
This change adds runStep conditions for the steps mavenExecuteIntegration and
npmExecuteScripts for the stage Integration.
2020-11-12 16:50:57 +01:00
Florian Wilhelm
5fa2985d31
Unstash sources in integration tests ( #2362 )
...
* Unstash sources in integration tests
* Use stashSettings.yml instead
2020-11-12 16:23:55 +01:00
Stephan Aßmus
23d378d4ce
Conditions for npmExecuteScripts in Additional Unit Tests ( #2357 )
2020-11-12 12:41:11 +01:00
Kevin Hudemann
8fd6927854
Add mavenExecuteIntegration, mavenExecuteStaticCodeChecks, npmExecuteLint and npmExecuteScripts to piperPipelineStagePRVoting ( #2352 )
...
This change adds the steps mavenExecuteIntegration, mavenExecuteStaticCodeChecks,
npmExecuteLint and npmExecuteScripts to the stage piperPipelineStagePRVoting.
2020-11-12 09:25:44 +01:00
Stephan Aßmus
115cfb5bae
Run nexusUpload in stage Promote ( #2349 )
2020-11-11 16:32:23 +01:00
Stephan Aßmus
87e8d5d160
Extend the legacy config check for "required" config keys ( #2332 )
2020-11-10 14:18:37 +01:00
Marcus Holl
76fddec4c0
introduce tmsUpload to stageDefaults ( #2321 )
...
Without that the release stage does not perform tms uploads
2020-11-10 10:00:44 +01:00
Christopher Fenner
b71825fac9
feat(pipeline): add sonar step to PR and Build stage ( #1651 )
...
* add sonar scan to build stage
* add sonar scan to PR stage
* add step activation condition
* adjust whitespaces
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-11-10 09:18:14 +01:00
Stephan Aßmus
14d7196495
Accumulate config validation errors ( #2323 )
...
* Instead of letting the pipeline fail for the first config validation error, accumulate all errors and output them to the log, then fail.
* Beginnings of a resource for validating a config.yml migrated to the GPP. Can be configured in the general section:
```yaml
general:
legacyConfigSettings: 'com.sap.piper/pipeline/cloudSdkToGppConfigSettings.yml'
```
2020-11-06 10:17:26 +01:00
Stephan Aßmus
e5c4bd6ba3
Add "checkGatling" to deprecated steps ( #2309 )
2020-11-04 10:53:38 +01:00
Stephan Aßmus
8007a1a6c6
New step gatlingExecuteTests, used in Performance stage ( #2298 )
...
Co-authored-by: Daniel Kurzynski <daniel.kurzynski@sap.com>
2020-11-03 17:42:02 +01:00
Stephan Aßmus
d1fedd9ba8
Remove "onlyInProductiveBranch" check ( #2253 )
2020-10-28 17:08:38 +01:00
Kevin Hudemann
228d1c1e82
Cloud SDK: Update legacy config with integration tests stage merge ( #2215 )
2020-10-22 09:52:19 +02:00
Kevin Hudemann
dc3bf0e68d
Cloud SDK: Update stash settings, stage defaults and containers map for a single call of integration stage ( #2212 )
...
This change updates the stash settings, stage defaults and the containers map to
allow a single call of `piperPipelineStageIntegration` in SAP Cloud SDK Pipeline.
2020-10-21 10:51:39 +02:00
Daniel Mieg
ae213a013e
Add stages for build process to ABAP Environment Pipeline ( #2052 )
...
* Add stages for build process
* fix typo
* Add createServiceKey to Build stage
* Fix typo
* Inital Checks is required when Build stage is exec
* Switch Order
* Fix Typo
* Add parameter for confirmation
* add "addIfEmpty"
* Add import
* revert
* revert2
* Remove import
* revert3
* Add stages to docu
* Update image
2020-10-02 17:03:43 +02:00
Kevin Hudemann
91067d219a
Fix Cloud SDK Pipeline stash settings for security stage ( #2114 )
...
This change fixes the stash settings for the security stage in Cloud
SDK Pipeline. Previously, the SOURCES stash was not unstashed, thus
potentially existing extensions could not be found.
2020-10-02 15:52:16 +02:00
Kevin Hudemann
08a5189f39
Update Cloud SDK stash settings and stage defaults ( #2105 )
...
This change updates and cleans up the Cloud SDK specific stash settings
and stage defaults.
2020-10-02 09:05:42 +02:00
Stephan Aßmus
fc55d02230
Fix conditions for whitesourceExecuteScan ( #2097 )
2020-09-30 12:37:01 +02:00
Florian Wilhelm
e8f49df6a3
Optionally use new go-based Whitesource step ( #2079 )
2020-09-30 08:56:16 +02:00
Stephan Aßmus
54ea3ed51a
whitesourceExecuteScan: bypass UA for mta, maven, npm and yarn ( #1879 )
...
Co-authored-by: Florian Wilhelm <florian.wilhelm02@sap.com>
2020-09-29 12:44:31 +02:00
Kevin Hudemann
e2aea73022
Preparation to switch to piperPipelineStageSecurity for Cloud SDK pipeline ( #2082 )
...
Updates containersMap, stash settings, stage defaults and legacy config settings.
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-09-29 12:25:57 +02:00
Kevin Hudemann
b3a5d1e55e
Update Cloud SDK documentation ( #2081 )
...
This change updates the Cloud SDK documentation with the changes of migrating to
the piperPipelineStageInit and update the legacy configuration settings accordingly.
In addition, it fixes the documentation of the step debugReportArchive and includes
it in the list of library steps.
2020-09-29 11:26:55 +02:00
Kevin Hudemann
80250ab2b9
Extend piperPipelineStageInit to support init of Cloud SDK ( #2062 )
...
This change adds necessary functionality to support initialization of
Cloud SDK pipelines. In addition, it adds the support to check the
pipeline configuration for legacy configuration parameters.
2020-09-28 10:44:56 +02:00
Kevin Hudemann
fda932aff5
Add capabilities to check for breaking changes in config ( #2045 )
...
This change adds the capabilities to check if the user still uses legacy
configuration parameters and allows to fail the pipeline in the
piperPipelineStageInit in case incompatible configuration is found.
Thus, it is now possible to describe breaking changes in the
configuration with the use of a yaml resource file. In this file, one can
describe the changes in configuration, e.g., when a configuration parameter
was replaced or removed. A concrete example for such a file for the Cloud
SDK Pipeline is part of this PR.
2020-09-21 14:29:07 +02:00
Kevin Hudemann
37b4af110c
Rename frontendUnitTests to additionalUnitTests stage ( #2011 )
2020-09-11 14:50:09 +02:00
Stephan Aßmus
e6534d0400
Run SonarQube scan in Compliance stage ( #1974 )
2020-09-08 17:28:29 +02:00
Kevin Hudemann
8d549a1f6c
Add npmExecuteLint and mavenExecuteStaticCodeChecks to build stage ( #1985 )
...
This change adds the support for executing maven static code checks and
linting using the mavenExecuteStaticCodeChecks and npmExecuteLint steps
as part of the piperPipelineStageBuild.
Co-authored-by: Florian Wilhelm <florian.wilhelm02@sap.com>
2020-09-07 16:57:01 +02:00
Kevin Hudemann
3caf401b79
Add npmExecuteScripts to piperPipelineStageAdditionalUnitTests ( #1978 )
...
This change adds the support for running frontend unit tests using the
npmExecuteScripts step in the piperPipelineStageAdditionalUnitTests.
2020-09-03 13:12:27 +02:00
Kevin Hudemann
ce48491a36
Fix stageDefaults fortify and mavenStaticCodeChecks ( #1962 )
2020-08-28 10:51:55 +02:00
Kevin Hudemann
a035690f3d
Update Cloud SDK stage defaults ( #1959 )
...
This change updates the Cloud SDK stage defaults, makes the piperPipelineStageMavenStaticCodeChecks use the step condition and adds the onlyRunInProductiveBranch configuration option to npmExecuteEndToEndTests step.
2020-08-27 16:17:06 +02:00
Kevin Hudemann
139e34cd37
Extend conditions for step and stage activation ( #1955 )
...
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-08-27 15:49:09 +02:00
Kevin Hudemann
ce96c379ef
Add mavenExecuteIntegration and writeTemporaryCredentials to piperPipelineStageIntegration ( #1927 )
...
This change add the support for running integration tests using the
recently introduced step mavenExecuteIntegration in
piperPipelineStageIntegration. In addition, capabilities to provide
temporary credentials to these tests is added using the
writeTemporaryCredentials step.
2020-08-14 15:22:05 +02:00
Kevin Hudemann
eea0c1f35e
Use npmExecuteEndToEndTests step in Release/Acceptance stage if it is configured ( #1813 )
...
This change enables the use of the new npmExecuteEndToEndTests in the
stages release and acceptance if it is configured. If it is not
configured, nothing should change.
2020-07-17 13:59:14 +02:00
Florian Wilhelm
68bfb02778
Create stage run defaults for the Cloud SDK Pipeline ( #1795 )
2020-07-15 08:23:10 +02:00
Florian Wilhelm
ccc77bbc11
Use multicloudDeploy step in Release/Acceptance Stage if it is configured ( #1789 )
...
The multicloudDeploy step is newer and more capable compared to the old steps. For pipelines that don't configure the multicloudDeploy step, nothing should change.
2020-07-13 14:26:26 +02:00
Daniel Mieg
f38a50739c
Fix extensions for Post stage of Abap Pipeline ( #1714 )
2020-06-24 17:44:15 +02:00