Commit Graph
68 Commits
Author SHA1 Message Date
Daniel Mieg 0d7d4f22c8 Add skipCheckout Flag (#3210)
* Add skipCheckout Flag

* Add tests
2021-10-27 13:30:44 +02:00
Daniel Mieg e9b3e79f3a Change loglevel to debug (#3107) 2021-09-23 10:05:44 +02:00
Daniel Mieg 9c76b89fb8 Add telemetry for abapEnvironment steps (#3016)
* Remove explicit telemetry from signature

* Set log level

* ATC set error category
2021-08-04 17:31:16 +02: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
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
Daniel MiegandtiloKo 9679d96e7b Update post.md (#2714)
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2021-03-25 14:59:26 +01:00
Daniel Mieg 0adca357da remove warnings (#2698)
* remove warnings

* fix markdown
2021-03-15 10:49:42 +01:00
Daniel Mieg 3f8a1f141b Update abapEnvironmentCloneGitRepo.go (#2656) 2021-02-26 09:27:22 +01:00
Daniel Mieg 43fa6634ee Updates for ABAP Environment release 2102 (#2621) 2021-02-21 20:19:42 +01:00
Daniel Mieg 484d9c2ec1 Increase cf-cli version for abap steps (#2613) 2021-02-16 18:03:29 +01:00
Daniel Mieg cb3ad328f5 test (#2611) 2021-02-15 11:06:07 +01:00
Daniel Mieg d610c96b63 Increase ppiper cf-cli version to v7 (#2590)
* Increase ppiper cf-cli version to v7

* Change v7 to 7
2021-02-11 12:54:11 +01:00
Daniel Mieg d23e26f87f Revert "Parallel test processing for abaputils (#2570)" (#2578)
This reverts commit e6086ad4a7.
2021-02-04 15:19:42 +01:00
Daniel Mieg e6086ad4a7 Parallel test processing for abaputils (#2570)
* add parallel test processing

* Add more t.Parallel

* add parallel to run

* Remove obsolete parallel statements
2021-02-03 17:31:49 +01:00
Daniel Mieg 2ee4a47d05 Add commitID to Add-on Doku (#2565) 2021-02-01 11:27:06 +01:00
Daniel Mieg 05b51d3e82 use compatible cf-cli (#2556) 2021-01-29 12:11:25 +01:00
Daniel Mieg 50ba60f078 Docu improvements (#2547)
* Add line breaks

* Introduce line breaks
2021-01-27 18:24:21 +01:00
Daniel Mieg cf69206a58 Docu updates (#2545)
* Docu updates

* Remove empty lines

* Add quotes

* Change to list
2021-01-27 17:18:28 +01:00
Daniel Mieg 273012ddfc Fix marshalling a boolean (#2521) 2021-01-18 11:14:55 +01:00
Daniel Mieg 44e7766e8f Add stage docu (#2460)
* Add stage docu

* Add table to configuration.md

* Add comment to clone repo stage

* Fix indentation errors

* Docu: commitID

* fix links
2020-12-10 14:28:03 +01:00
Daniel Mieg a3ff90f632 Fix: Change URL creation for abapEnvironmentCloneGitRepo (#2452)
* Fix url creation

* Adapt url creation
2020-12-08 09:31:08 +01:00
Daniel Mieg b001474edd Remove input statement (#2419)
* Remove input statement

* adaptDocu
2020-12-04 10:03:41 +01:00
Daniel Mieg 4573410379 Update abapEnvironmentAddons.md (#2446) 2020-12-04 09:31:53 +01:00
Daniel Mieg 518d2fe88d Add parent_saas_appname (#2434) 2020-11-30 10:50:43 +01:00
Daniel Mieg 01c896c73b Add scenario documentation for test setup (#2402)
* Adapt docu

* Improve docu

* Small adaptions

* Small fix

* Fix typos
2020-11-19 15:47:01 +01:00
Daniel Mieg 712c568087 Create groovy step for abapEnvironmentCreateSystem (#2303)
* Create groovy step

* add to pipeline

* add includeAddon

* Adapt docu

* Adapt groovy test

* adapt stage addonBuild

* add comma

* Add to docu

* Upper case spelling

* Update docu

* adapt docu
2020-11-11 17:08:24 +01:00
Daniel Mieg 2c432124fc Unify strategy spelling (#2345)
* Update abapEnvironmentPipelineStageCloneRepositories.groovy

* Adapt test
2020-11-10 16:45:16 +01:00
Daniel Mieg 6d783d5a38 ATC Checks hotfix (#2313) 2020-11-04 12:33:31 +01:00
Daniel Mieg 02a5131256 Adapt parameter names (#2304)
* Adapt parameter names

* add ignore addon option

* change ignore to include
2020-11-03 13:41:39 +01:00
Daniel Mieg aa9dd3b199 Add step abapEnvironmentCreateSystem (#2273)
* Create initial step

* Add parameters for system creation

* Creating a tmp manifest.yml

* Add descriptions

* regenerate

* Create tests

* fix codeclimate issue

* Test

* Test2

* Test3

* Replace os.getTempDir

* Change to fileUtils

* Remove FileUtil
2020-11-03 12:02:13 +01:00
Daniel Mieg 7639175def Add commit to clone and pull (#2258)
* commit ID for clone

* commit ID for clone

* Remove old default values

* Add commitID to Pull

* Print http response on debug level

* Fix tests

* Adapt tests

* Shorten sleep

* Fix clone tests

* Add ignore commit option

* Adapt tests

* Adapt docu

* Implement feedback

* fix codeclimate issue
2020-11-02 14:17:13 +01:00
Daniel Mieg c2bd05fb3d Add option to include a deletion prompt for Steampunk systems (#2198)
* Test out delete confirmation

* Second try

* Add confirmation for Integration Tests system

* Fix defaults

* Change default

* Adapt text

* Change default handling

* Adapt addIfEmpty

* Add pipeline test

* Add tests
2020-10-29 10:30:50 +01:00
Daniel Mieg bc71c06a52 Update abapEnvironmentAddons.md (#2205)
* Update abapEnvironmentAddons.md

* Update abapEnvironmentAddons.md
2020-10-20 10:53:22 +02:00
Daniel Mieg 5003ac09ae Add initial docu for scenario: "Build and Publish ABAP Add-ons" (#2204)
* Add initial docu

* Small fixes

* Fixes

* Markdown linting fixes
2020-10-19 18:16:54 +02:00
Daniel MiegandChristopher Fenner 961b4c771c fix(docs): ABAP Pipeline docu fixes (#2188)
* ABAP Pipeline docu fixes

* Update introduction.md

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-10-15 20:23:04 +02:00
Daniel Mieg 23569b3a5c ABAP steps docu improvements (#2182)
* Docu Feedback

* Regenerate
2020-10-15 14:57:33 +02:00
Daniel Mieg fe1fc7bd69 Fix EOF http issue (#2134) 2020-10-07 08:46:12 +02:00
Daniel MiegandOliver Nocon 1e0e230be8 Adapt pipeline docu (#2096)
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-10-06 11:00:19 +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
Daniel Mieg 836075e2dd Changes to commonPipelineEnvironment for ABAP (#2035) 2020-09-17 09:36:53 +02:00
Daniel Mieg cf4c7fd893 Correction in abaputils (#1958)
* Fix

* Adapt errors

* Consider unexpected JSON

* defer closing the response body

* Add comments to explain function

* Improve assert statements semantically

* Change comment format due to CodeClimate

* Extract sub function
2020-08-26 16:45:09 +02:00
Daniel Mieg 13e5a943b2 Add groovy file and documentation for cloneGitRepo step (#1954)
* Add groovy file and documentation

* Add quotes to docu

* Fix request
2020-08-26 09:52:50 +02:00
Daniel Mieg 04b8a5cbd7 Add golang step for abapEnvironmentCloneGitRepo (#1921)
* Add yaml

* Initial files

* Add inital functions

* Create Test file

* Initial trigger clone function

* Add command

* Adapt manageGitRepositoryUtils

* Enable Repositories yaml

* Add handleHttpError Tests

* Adapt CodeClimate Feedback

* Add tests for error messages

* Adapt error messages and handling

* Adapt gitignore
2020-08-21 14:49:48 +02:00
Daniel MiegandOliver Nocon dc9e04f7ee Adapt documentation of ABAP Environment Pipeline (#1928)
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-08-18 10:38:14 +02:00
Daniel Mieg 7ea5b09555 Improve tests for cf steps (#1875)
* Improve Tests for cf steps:
CreateServiceKey and Delete Service

* Fix CodeClimate issues

* Adapt descriptions

* Defer logout
2020-08-10 11:08:34 +02:00
Daniel Mieg 766a233c01 Improve testability of abap steps (#1876)
* Change to make pollIntervall configurable

* Adapt checkout
2020-08-07 11:09:58 +02:00
Daniel Mieg bfa601cd47 Improve testability of abap steps (#1840)
* Test

* Test

* Test abapEnvironmentPullGitRepo step

* Move mock functions

* Add package for mock

* Move mock
2020-07-31 14:43:23 +02:00
Daniel MiegandOliver Nocon a287afdd35 Fix error in documentation (#1817)
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-07-20 10:27:38 +02:00
Daniel Mieg 90571754bf Add test cases for stepmeta.go (#1801)
* Add tests

* Remove obsolete comment
2020-07-16 11:09:49 +02:00
Daniel Mieg 5dbb7be6b6 Fix commonPipelineEnvironment issue (#1798)
* Fix write to disk

* Change condition

* Test log output

* Fix

* Remove test log
2020-07-15 15:45:36 +02:00
Daniel Mieg 7f69f4eb16 Support lists in commonPipelineEnvironment (#1797)
* Enable write Lists

* Enable read

* Add tests

* Fix unit test

* CodeClimate Refactor

* Add comment
2020-07-15 10:09:42 +02:00
Daniel Mieg 42208b6774 Improve documentation for the ABAP Environment Pipeline (#1753)
* Sort sidebar alphabetically

* Add separate configuration section

* Improve Introduction to ABAP Pipeline

* Improve wording

* Remove lines at end of file

* Fix indentation

* Adapt Indentation
2020-07-07 10:06:15 +02:00
Daniel Mieg f38a50739c Fix extensions for Post stage of Abap Pipeline (#1714) 2020-06-24 17:44:15 +02:00
Daniel Mieg f348c53989 Add ABAP Environment Pipeline (#1555) 2020-06-23 15:56:56 +02:00
Daniel MiegandChristopher Fenner 6db5beb2ec Increase timeout (#1609)
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-05-28 13:08:26 +02:00
Daniel Mieg 02ede6d28b feat!: Mass enable abapEnvironmentPullGitRepo (#1516)
* Enable multiple repositories

* Improve readability

* Adapt documentation

* rerun generator

* Add initial info line

* Improve logging
2020-05-07 15:51:11 +02:00
Daniel MiegandOliver Nocon bbaaef97ea Include Transport & Execution Log in abapEnvironmentPullGitRepo() (#1347)
* Add logs and ABAP error messages

* Improve functions and tests

* Add improvements

* Further improvements

* Check for empty string for repositoryName

* Small adaptions

* Fix tests

* Add comments

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-04-08 12:43:41 +02:00
Daniel MiegandOliver Nocon 86dd37c035 Increase timeout (#1319)
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-03-31 10:56:57 +02:00
Daniel Mieg 81708648e4 Improve error handling (#1263) 2020-03-17 10:54:48 +01:00
Daniel Mieg 2e742c7ed3 Fix formatting of documentation (#1151)
* Fix formatting of documentation

* Regenerate go files
2020-02-05 15:46:14 +01:00
Daniel Mieg 6f0bde154b Go implementation for abapEnvironmentPullGitRepo() (#1107) 2020-02-04 11:43:27 +01:00
Daniel MiegandOliver Feldmann 48a76bc4d2 Fix random UUID generation in Unit Tests (#1099)
* Fix random UUID generation in Unit Tests

* Use before and after methods

* Add import of org.junit.After

* Add go step for abapEnvironmentPullGitRepo

* Revert "Add go step for abapEnvironmentPullGitRepo"

This reverts commit 08b6b16217.

Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2020-01-22 10:50:26 +01:00
Daniel Mieg 23d7058fdd Authentication via Cloud Foundry Service Key (#1034) 2019-12-16 21:02:30 +00:00
Daniel Mieg fa75c1ce1c Improve documentation for cloudFoundryCreateServiceKey (#1059)
* Improve documentation for cfCreateServiceKey
* Add service instance to prerequisites
2019-12-16 20:44:15 +00:00
Daniel Mieg 76988b2035 add parameter compatibilitiy to cloudFoundryCreateServiceKey (#1065) 2019-12-16 16:36:13 +00:00
Daniel Mieg 2ad57f3d19 Add step cloudFoundryCreateServiceKey (#989) 2019-12-02 14:02:51 +01:00
Daniel Mieg cac595b4bb Use credentialsId in step abapEnvironmentPullGitRepo (#974)
* Add option for credentialsId
* Remove mandatory username and password
* Add null checks
2019-11-12 17:40:59 +01:00
Daniel Mieg 2e0bf3ac34 Add step to pull repository to ABAP in SAP Cloud Platform (#907) 2019-11-07 15:40:45 +01:00