* fix(deps): update module github.com/google/uuid to v1.3.1
* run go mod tidy
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Muhammadali Nazarov <muhammadalinazarov@gmail.com>
Co-authored-by: Jordi van Liempt <35920075+jliempt@users.noreply.github.com>
* add comments with examples to methods
* a bit refactoring and cleanup
* actionsURL
* GetBuildStatus
* GetBuildID, GetChangeSet, GetPipelineStartTime
* GetStageName and GetBuildReason
* refactor fetching jobs
* GetJobName and GetJobURL
* chnage GetBuildURL
* refactor actionsURL
* fix guessCurrentJob bug
* unit tests for all
* refactor GetLog
* refactor and fix tests
* change GetBuildURL to use env vars
* fix issues
* leftover
* add comment
* fix according to review comments
---------
Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
Co-authored-by: Jordi van Liempt <35920075+jliempt@users.noreply.github.com>
* Unified audit state for whitesource step
* reverted unrelated to pr changes
* go fmt
* Fixed tests and formating
* fixed format issue in whitesource/reporting.go
---------
Co-authored-by: sumeet patil <sumeet.patil@sap.com>
* quickly try to only specify base private repo URLs with git config
* fix the test
* refactoring of private modules
* test
* fix test
* fix url
* typo
* Adding gitConfiguration
* typo
* unit test
* unit test
---------
Co-authored-by: I557621 <jordi.van.liempt@sap.com>
Co-authored-by: aibaend1 <106729492+aibaend1@users.noreply.github.com>
Co-authored-by: asadu <aibyn_sadu@epam.com>
* implement deactivation logic
* add step condition field
* add unit test and fix evaluateConditions
* add unit test for v1 and fix evaluateConditionsV1
* rollback old evaluator
* rollback v1 evaluator
* move into notActiveCondition and fix unit tests
* add a comment about sapCumulusUpload step
* optimize evaluateConditionsV1 parameters and map memory allocation
* refactor unit tests and add more test cases
* evaluateConditionsV1 refactored
---------
Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
Co-authored-by: Jordi van Liempt <35920075+jliempt@users.noreply.github.com>
* add optional verbose logging for kaniko command
* change order of conditional arg appending
* change kaniko verbosity from trace to debug
* change kaniko verbosity from trace to debug
---------
Co-authored-by: I557621 <jordi.van.liempt@sap.com>
* only expand environment variables start with PIPER_VAULTCREDENTIAL_
* use VaultCredentialEnvPrefixDefault instead of hard coding
* go fmt
---------
Co-authored-by: Vyacheslav Starostin <vyacheslav.starostin@sap.com>
* Grab values from environment variables
* use os.ExpandEnv in RunHelmUpgrade function
* use os.ExpandEnv in RunHelmUpgrade function
* use os.ExpandEnv in RunHelmUpgrade function
* Extract new logic to separate func && update tests
---------
Co-authored-by: Mao <bruce.mao@sap.com>
Co-authored-by: Vyacheslav Starostin <32613074+vstarostin@users.noreply.github.com>
* Test
* Try omit
* Introduce global installation and fallback
* Extract to a separate function
* Fix unit tests
* Add root permissions for docker image for Azure
* Install in another folder
* fix unit tests
* Cleanup
* introduce back --no-save,change directory name, fix tests
* add tmp folder to npmignore
* change docker image for guage
* Revert "change docker image for guage"
This reverts commit 45ac7ca9bc.
* separating the unit test and test upload
* enhacing conditions
* making the condition more strict to run on pr from a local branch
* enhacing condition when unit test are successfull
* removing condition for previous step checks
* pinning gauge to 1.4.3 for regression test
* reverting integration test
We should use Utils.stash instead of native steps.stash calls (Jenkins)
since important logging is missing.
The default Jenkins stash step does not log any metadata like
stash name, patterns, etc.