Commit Graph
54 Commits
Author SHA1 Message Date
Googlom a7406e03f0 fix: fetch build status from jobs instead of run status (#5495) 2025-09-30 14:50:13 +03:00
Googlom 0b533c1754 docs: add information about excluding tests with pnpm case (#5490) 2025-09-25 12:06:17 +03:00
Googlom 39280cb838 fix(logging): shorten secret not resolved message and attach param.name to it (#5467) 2025-09-02 11:07:40 +00:00
Googlom a6db368694 Revert "ci(release): update/create dynamic tags with each release" (#5456) 2025-09-01 11:24:53 +02:00
GooglomandGulom Alimov e3d8613236 ci(release): update/create dynamic tags with each release (#5454)
Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
2025-08-19 09:15:08 +02:00
Googlom 0141f8480c Revert "chore(cloudFoundryDeploy): deployDescriptor stash resource" (#5444) 2025-08-06 14:35:29 +03:00
Googlom 9656b76269 fix(deps): update module github.com/hashicorp/vault/api to v1.20.0 (#5420) 2025-07-25 09:54:36 +02:00
Googlom c76da7109b fix(ci): disable Code Climate publishing (#5422) 2025-07-24 13:36:56 +00:00
a031cb52ae feat(githubPublishRelease): make GitHub API timeout configurable (#5393)
Co-authored-by: Ashly Mathew <ashly.mathew@sap.com>
Co-authored-by: phgermanov <phgermanov@gmail.com>
2025-07-14 15:47:45 +03:00
Googlom f963fb1c80 fix(splunk): add default value for TemplateName (#5404) 2025-07-14 10:12:38 +03:00
Googlom 44bb1d95e4 feat(Splunk): add TemplateName field to Splunk data (#5396) 2025-07-02 18:30:17 +03:00
Googlom b1c3c4bfc7 deps: update jdk version for JNLP image (#5380) 2025-06-17 16:40:49 +03:00
Googlom 0e602a2ed2 fix(docs): Update description of golangBuild parameters (#5361) 2025-05-26 13:28:04 +02:00
Googlom aa7a7383db chore(deps): update cyclonedx-bom version in pythonBuild (#5357) 2025-05-26 12:44:07 +03:00
Googlom ad8eec1a1e fix: change source of build packs for integration tests (#5360) 2025-05-26 11:12:01 +03:00
Googlom 1c67722dd0 fix(gcs): return Temporary hold error without retry (#5335) 2025-04-22 09:29:56 +03:00
Googlom 8c66027f34 feat: output hooks values in stage-config.json (#5311) 2025-04-04 18:04:21 +02:00
Googlom f9feb2c79e fix(gcs): Catch errors from Google API properly (#5301) 2025-03-24 09:43:55 +02:00
f13c273b63 refactor(GCS): Unify with internal impelementation (#5283)
Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2025-03-07 13:27:14 +02:00
GooglomandGulom Alimov e81f901a77 try disabling t.Parallel() (#5269)
Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
2025-02-14 11:14:26 +01:00
GooglomandGulom Alimov 03c9c52887 fix desc (#5268)
Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
2025-02-13 14:22:28 +01:00
GooglomandGulom Alimov 4fd896e28c fix(naming): Rename Trust Engine to System Trust (#5217)
* rename package

* make unexported

* rename all occurrences

---------

Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
2025-01-07 16:44:59 +02:00
Googlom 53838c0ecc disable trust engine lookup on missing token (#5196) 2024-12-02 17:38:53 +05:00
Googlom f044ef106d fix(curl): Remove --insecure flag from curl when downlaoding Piper binary (#5179)
* remove --insecure flag from binary download

* remove --insecure flag from binary download

* adjust unit tests
2024-11-21 13:30:03 +05:00
Googlom 0c41f9c141 fix deadlock and add more logging (#5160) 2024-10-24 14:08:09 +05:00
Googlom 4990b2d0ba fix(sonar): allign groovy part of Sonar step with common piperExecuteBin (#5157)
* add some logging to Vault login

* allign groovy part of the sonar step

* Revert "add some logging to Vault login"

This reverts commit d1738c124d.
2024-10-24 09:47:32 +02:00
Googlom 7b7ba77436 modify logging (#5158) 2024-10-23 17:32:37 +05:00
GooglomandChristopher Fenner 5c47be3f8f refactor(vault): Refactor vault package (#5148)
* move to old package

* go mod

* remove old

* refactor done

* Update pkg/vault/oidc.go

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* commit suggestions

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* commit suggestions

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>

* commit suggestions

---------

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2024-10-22 13:29:34 +05:00
Googlom af05acad58 feat(events): Publish events to GCP PubSub by each step (#5122)
* test

* test

* draft

* generator

* some polishing

* go mod tidy

* fix unit

* fix unit

* fix unit

* fix unit

* fix unit

* resolve review comments

* resolve review comments

* add debug message on successful publish

* refactor to use global vault client

* cleanup

* rename

* clenup

* refactor

* remove token revocation

* handle nil vaultClient and add comments

* feat(events): Publish events (generated part) (#5131)

* add generated

* add generated

* refactor vaultClient usage

* fix unit tests

* fix unit tests

* fix
2024-10-11 14:55:39 +05:00
Googlom 7eb4495e51 feat(notification): Notify in case of Release failure (#5045)
* Update release-go.yml

* fix lint
2024-09-26 12:21:37 +05:00
Googlom 70d2abf40f return back schedule trigger (#5016) 2024-08-26 14:35:41 +05:00
GooglomandChristopher Fenner 97e28683f5 Check prerelease functionality (#5000)
* check release functionality

* rename

* rename and config fix (temporary)

* permissions

* change event type

* fix

* fix

* temporary disable steps

* add event type

* fix

* fix

* fix

* fix

* fix

* fix

* uncomment

* fix for PR

* Apply suggestions from code review

* Update release-go.yml

---------

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2024-08-20 13:50:39 +05:00
Googlom 773332fe1e fix(artifactPrepareVersion): add missing error handling (#5005)
* add error handling

* add retries
2024-08-19 11:50:40 +05:00
Googlom f902f48ac9 Remove _master binary usage (#5002)
* don't download _master binary

* adjust tests
2024-08-15 16:19:59 +05:00
Googlom 61b9df54b1 add --kube-context to uninstall command (#4999) 2024-07-29 19:48:56 +05:00
Googlom 8c79fcee36 disable log application/octet-stream (#4997) 2024-07-26 13:26:26 +05:00
Googlom 58616619bd helmExecute: add --kube-context to helm upgrade and install commands (#4995)
* add --kube-context to helm upgrade and install commands

* disable parallel running of unit tests

* undo disable parallel running of unit tests
2024-07-25 14:25:00 +05:00
Googlom a564a121a6 fix vaultDisableOverwrite handling (#4990) 2024-07-23 15:43:24 +05:00
Googlom 150560db9e feature(httpReadFile): Add headers to download from github release assets (#4826) 2024-02-20 09:35:41 +01:00
Googlom b4863fee45 fix(gitopsUpdateDeployment): take into account branch name when clonning (#4811)
* use branch when clonning a repo

* fix unit test mocks
2024-02-06 13:33:30 +05:00
GooglomandGulom Alimov ab62827a3e Update buildpacks/lifecycle dependency (#4801)
* update lib version and fix code

* remove outdated replace statement

* update helm.sh/helm/v3

---------

Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
2024-01-29 10:45:25 +05:00
GooglomandGulom Alimov 33b8c489f9 fix dependencies with security issues (#4790)
* remove vault interaction from unit tests

* go mod tidy

* update some dependency minor versions

* update github.com/getsentry/sentry-go

* fix vault dependency

* update google.golang.org/api and cloud.google.com/go/storage

* fix unit test

---------

Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
2024-01-24 15:19:23 +05:00
GooglomandGulom Alimov 5d100ef79b update dependencies from renovate bot
Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
2024-01-22 11:54:05 +01:00
GooglomandGulom Alimov 0117942d25 update golang to 1.20 (#4783)
* update golang to 1.20

* update version in another places

* fix failing unit tests and lint

---------

Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
2024-01-22 10:18:32 +05:00
GooglomandGulom Alimov 9074822e57 allow reconfiguration of provider (#4776)
Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
2024-01-15 17:51:32 +05:00
2b2c441949 fix: handle legacy stage name differences (#4733)
* add name difference handler function

* add conditions for setting keys

---------

Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2024-01-10 10:39:29 +01:00
ac5cf17317 refactor(orchestrator): Use singleton in orchestrator package and rename methods (#4639)
* rename interface, types and methods.
some type changes and refactor

* update dependent methods and variables

* fix unit tests

* a bit more refactor and fix

* concurrent safe singleton

* return old Options struct

* refactor creating config provider and fix nil pointer derefernce

* fix unit test and linter errors

* introduce resetting config provider (for unit tests)

* fix annoying error message when config provider is not configured

---------

Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
Co-authored-by: Muhammadali Nazarov <muhammadalinazarov@gmail.com>
2024-01-09 16:01:15 +05:00
GooglomandGulom Alimov 0006f10918 fix log downloading in GH orchestrator (#4683)
Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
2023-11-23 12:21:40 +01:00
GooglomandGulom Alimov 0d6fb16034 add deprecation warning (#4691)
Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
2023-11-23 09:42:02 +01:00
GooglomandGulom Alimov a838f485d7 add alias to serverUrl (#4670)
Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
2023-11-20 11:11:54 +01:00
GooglomandGulom Alimov 68d034992f replace plus sign (#4656)
Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
2023-11-03 13:37:23 +05:00
3744787348 chore(refactor): Switch GitHub actions provider to use github sdk (#4563)
* refactor github package and use builder pattern for client

* switch to github package

* some renamings

* fix panic on uninitialized provider

* 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>
2023-09-20 09:38:45 +00:00
e805beda70 feat(orchestrator): add implementation for GitHub (#4525)
* 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>
2023-08-29 09:32:35 +02:00
8c863e457f sapCumulusUpload step deactivation if its the only active step in stage (#4476)
* 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>
2023-08-10 16:11:33 +05:00