Commit Graph

473 Commits (release/3.1.0)

Author SHA1 Message Date
Ansuman Satapathy 231536844c
fix: [CDE-555]: allow mixed data types in lifecycle command object fo… (#3604)
(#3169)
<img width="1569" alt="Screenshot 2024-12-17 at 2 29 36 PM"
src="https://github.com/user-attachments/assets/e635fc69-3264-4b65-8b4e-6b9df016a21c"
/>

* fix: [CDE-555]: allow mixed data types in lifecycle command object
form.

(cherry picked from commit 9c792e53fd)

[CDE-555]:
https://harness.atlassian.net/browse/CDE-555?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
2024-12-17 14:57:00 +05:30
Ansuman Satapathy cf8b8b2215
fix: [CDE-555]: run lifecycle commands in parallel and allow object type (#3603)
(#3161)

* fix: [CDE-555]: run commands in parallel
* fix: [CDE-555]: update parsing and add discriminator

(cherry picked from commit a1c91d1aa6)

[CDE-555]:
https://harness.atlassian.net/browse/CDE-555?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[CDE-555]:
https://harness.atlassian.net/browse/CDE-555?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
2024-12-16 12:10:15 +05:30
Vikyath Harekal df3342aefe feat: [CDE-549]: Copy image using skopeo (#3127)
* feat: [CDE-549]: fix
* feat: [CDE-549]: fix lint
* feat: [CDE-549]: fix
* feat: [CDE-549]: fix
* feat: [CDE-549]: update command
* feat: [CDE-549]: Copy image using skopeo
2024-12-09 13:16:13 +00:00
Ansuman Satapathy a515a57299 feat: [CDE-545]: check during provision retry for latest instance (#3114)
* feat: [CDE-545]: check during provision retry for latest instance
* feat: [CDE-545]: check during provision retry for latest instance
2024-12-05 05:25:02 +00:00
Ansuman Satapathy a5d442f289 feat: [CDE-544]: allow actions if stuck in starting/stopping transient state (#3113)
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
2024-12-05 05:02:57 +00:00
Abhinav Singh bd9d15500c feat: [CODE-2885]: support for webhook type (#3098) 2024-12-05 02:01:08 +00:00
Dhruv Dhruv 384fb7a7d2 fix: [CDE-513]: Sorting infra provider resources. (#3093)
* Correcting import.
* fix: [CDE-513]: Sorting infra provider resources.
2024-12-02 13:49:10 +00:00
Dhruv Dhruv 1086397b3f feat: [CDE-473]: Adding support for containerUser and remoteUser. (#3086)
* Adding support for root as remoteUser
* Changing logger from gitspace to application in config util.
* Changing logger from gitspace to application in config util.
* feat: [CDE-473]: Adding support for containerUser and remoteUser.
2024-12-01 05:03:48 +00:00
Deepak Bhatt b7cca56ec7 fix: [CDE-502]:do not add nexus connector (#3082)
* do not add nexus connector
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into nexus-support
* do not add nexus connector
* address feedback
* add nexus connector support
2024-11-30 05:49:46 +00:00
Deepak Bhatt 04c6046d70 feat: [CDE-502]: add nexus connector support (#3080)
* address feedback
* add nexus connector support
2024-11-29 11:16:42 +00:00
Yogesh Chauhan a89041e57e feat: [ML-334]: Extract interface for Intelligence service (#3066)
* Fix copyright header
* Fix lint issues wrt copyright & comment structure
* feat: [ML-334]: Extract interfae for Intelligence service
2024-11-28 10:48:23 +00:00
Ansuman Satapathy 843dc4df5f feat: [CDE-525]: Add support for customization IDE extensions from devcontainer.json (#3057)
* feat: [CDE-525]: lint fixes
* feat: [CDE-525]: lint fixes
* feat: [CDE-525]: setup vscode web plugins
* feat: [CDE-525]: remove unused fields during serde from devcontainer.json
* feat: [CDE-525]: remove unused fields during serde from devcontainer.json
2024-11-27 13:14:44 +00:00
Deepak Bhatt 7765cf0d2f fix: [CDE-530]: use value for MaskSecret type (#3054)
* fix lint
* add non nil Mask secret
* add comment
* add non nil Mask secret
2024-11-27 06:53:13 +00:00
Darko Draskovic 3a3c8e2c85 feat: [CODE-2854]: Add scope info to webhooks (#3050)
* Change space permissions to repo permissions for and add scope info to webhooks
2024-11-26 22:16:10 +00:00
Deepak Bhatt deddbc8d68 feat: [CDE-530]:add mask secret (#3047)
* truncated sha256
* add hash value for MaskSecret
* mark secrets for smc creds
* fix nil reference
* fix lint
* fix unmarshall
* implement unmarshall json func
* add mask secret
2024-11-26 09:32:00 +00:00
Darko Draskovic c79fe0f829 fix: [CODE-2846]: Add scope info to rule (#3045)
* Add scope info to rule
2024-11-25 17:43:21 +00:00
Ansuman Satapathy 8043ecc0fe feat: [CDE-525]: remove unused fields during serde from devcontainer.json (#3041)
* feat: [CDE-525]: remove unused fields during serde from devcontainer.json
* feat: [CDE-525]: remove unused fields during serde from devcontainer.json
2024-11-25 10:42:11 +00:00
Dhruv Dhruv 7c358528ef feat: [CDE-475]: Adding support for runArgs. (#3031)
* Rebasing
* feat: [CDE-475]: Adding support for runArgs.
* WIP
* WIP
2024-11-25 09:56:30 +00:00
Deepak Bhatt 1299db775e fix:[CDE-507]: extract user from connector struct (#3040)
* change arg name
* fix user extract
2024-11-25 08:40:18 +00:00
Ansuman Satapathy 35039b9499 feat: [CDE-525]: stream pull image o/p cde, timeline events connector (#3037)
* feat: [CDE-525]: move event before network call
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-470]: execute commands with harness user
* feat: [CDE-525]: stream pull image o/p cde, timeline events connector
* feat: [CDE-525]: stream pull image o/p cde, timeline events connector
* feat: [CDE-525]: stream pull image o/p cde, timeline events connector
2024-11-25 04:43:26 +00:00
Vivek Dixit 3f54161997 [feat]: [ML-488]: Added New API for StepYamlGeneration for UI to call separately. (#3030)
* fixed go-lint issues
* [feat]: [ML-488]: Added New API for StepYamlGeneration for UI to call separately.
2024-11-22 07:55:26 +00:00
Ansuman Satapathy c43d0e62a7 fix: [CDE-525]: update parsing for devcontainer.json (#3035)
* fix: [CDE-525]: fix step names
* fix: [CDE-525]: fix step names
* feat: [CDE-470]: update the parsing logic for lifecycle steps

fix: [CDE-525]: fix step names
2024-11-22 07:37:12 +00:00
Deepak Bhatt 266e7a7866 feat: [CDE-507]:add connector details to gitspace config (#3020)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into pull-image-secret
* modify resume gitspace
* unchange provision func
* change provision func
* remove unnecessary arg
* add password field
* modify platform connector type
* remove unnecessary func
* fix lint
* remove docker registry
* modify event name
* add connector details package
* separate types into different files
* fix lint
* change func name
* change func name
* change connector name
* change package name
* add git config arg
* add comment
* remove unused const
* change event name
* fix wire gen
* add wire for artifact registry
* remove fmt print
* add artifact secret resolver
2024-11-22 06:21:10 +00:00
Darko Draskovic 335eaa73c1 feat: [CODE-2498]: Add time and author filter params to list commits page (#3000)
* Remove redundant consts and annotate errors
* Add a Regex bool field to the api.CommitFilter
* Add use author/commiter regex bool to list commit filter
* Merge branch 'main' into dd/commit-time-author-filter
* Add commiter IDs
* Merge branch 'main' into dd/commit-time-author-filter
* Merge branch 'main' into dd/commit-time-author-filter
* Merge branch 'main' into dd/commit-time-author-filter
* Add regex quote for author
* Add time and author filter params to list commits page
2024-11-21 10:31:32 +00:00
Darko Draskovic fd9a1ad400 feat: [CODE-2568]: Add rules API for space level (#2865)
* Add openapi spec for space rules
* Merge branch 'main' into dd/space-branch-rules
* Fix doc comments and space permissions
* Merge branch 'main' into dd/space-branch-rules
* Add equal check to update rule
* Merge branch 'main' into dd/space-branch-rules
* Use consistently RuleParentInfo
* Add RuleParentInfo type
* Merge branch 'main' into dd/space-branch-rules
* Rename r to rule in funcs and rule to protection
* Merge remote-tracking branch 'origin/main' into dd/space-branch-rules
* Unifiy instrumentation and audit handling
* Add delete, find, list and patch svc funcs and API endpoints
* Add rules API for space level
2024-11-19 12:52:27 +00:00
Atefeh Mohseni Ejiyeh fa05570220 fix: [CODE-2794]: Webhook Trigger PullReq Review Submitted is missing for sanitization (#3007) 2024-11-15 21:20:28 +00:00
Akhilesh Pandey ab72ca9185 feat: [CODE-2472]: CODE Comment updated webhook (#2850)
* feat: [CODE-2472]: review
* feat: [CODE-2742]: review changes
* feat: [CODE-2742]: cast extractor code return
* feat: [CODE-2742]: wire changes
* feat: [CODE-2742]: wire changes
* Merge branch 'main' into akp/CODE-2472
* Apply suggestion from code review
* review changes
* Apply suggestions from code review
* feat: [CODE-2472]: remove commit info
* feat: [CODE-2472]: remove json tags
* feat: [CODE-2472]: wire changes
* feat: [CODE-2472]: fix minor issues
* Merge branch 'main' into akp/CODE-2472
* feat: [CODE-2472]: Update the timestamps
* feat: [CODE-2472]: Pullreq comment updated changes
* feat: [CODE-2472]: changes
* feat: [CODE-2472]: update name to edited
* feat: [CODE-2472]: update name to edited
* Merge branch 'main' into akp/CODE-2472
* feat: [CODE-2472]: status change comment changes
* feat: [CODE-2472]: Text changes only
* feat: [CODE-2472]: initial code
2024-11-14 22:48:04 +00:00
Deepak Bhatt f3713715c4 feat: [CDE-483]: add lastupdated filter (#2992)
* add lastupdated filter
2024-11-13 11:55:46 +00:00
Dhruv Dhruv 1781c3be70 feat: [CDE-430]: Providing a user friendly error message whenever an instance goes to error state. (#2977)
* feat: [CDE-430]: Providing a user friendly error message whenever an instance goes to error state.
2024-11-12 05:58:28 +00:00
Ansuman Satapathy 42c76929c5 fix: [CDE-461]: gitspaces handle stopping correctly (#2976)
* feat: [CDE-461]: gitspaces handle stopping correctly
2024-11-12 05:14:42 +00:00
Ansuman Satapathy 3cdbf05237 feat: [CDE-461]: HOSS support for Port Forwarding And Environments (#2964)
* feat: [CDE-461]: register steps and run
* feat: [CDE-461]: register steps and run
* feat: [CDE-461]: breakdown embedded docker
* feat: [CDE-461]: breakdown embedded docker
* feat: [CDE-461]: breakdown embedded docker
* feat: [CDE-461]: breakdown embedded docker
* feat: [CDE-461]: breakdown embedded docker
* feat: [CDE-461]: breakdown embedded docker
* feat: [CDE-461]: breakdown embedded docker
* feat: [CDE-461]: linting
* feat: [CDE-461]: linting
* fix: [CDE-461]: clean-up
* feat: [CDE-461]: added docker port forward
* feat: [CDE-461]: added port forward support
2024-11-11 04:22:14 +00:00
Karan Saraswat 123969c7e1 feat: [PIPE-23137]: updated executionInfo struct with more data and added lastExecutions to list space pipelines API (#2958)
* fixed go lint
* fixed go lint
* feat: [CODE-23137]: added execution summary data to list space pipelines API
2024-11-08 19:08:20 +00:00
Karan Saraswat 0cd3e0693f feat: [PIPE-22871]: API for listing executions for a project/space (#2941)
* fixed go lint
* added header
* Apply suggestions from code review
* feat: [PIPE-22871]: added filters for list space executions API
* feat: [PIPE-22871]: count of pipelines db query will be run if there is more than 1 page
* removed pipelineId ans repoId from executionPipelineRepoJoin
* fixed go lint
* addressed review comments
* Apply suggestions from code review
* Apply suggestions from code review
* fixed lint
* feat: [PIPE-22871]: API for listing executions for a project/space
2024-11-08 11:55:40 +00:00
Johannes Batzill 2f54f4003a fix: [CODE-2710]: block numeric identifier for root spaces (#2952) 2024-11-07 21:59:16 +00:00
Andreas Deininger ff2da8563e [GH] Fix typos (#3566)
This PR fixes various typos i spotted in the project.
2024-11-07 11:34:07 -08:00
Deepak Bhatt d6f64c8af6 feat: [CDE-460]:filter events for cde (#2950)
* filter events
2024-11-07 14:11:51 +00:00
Ansuman Satapathy cb200c85c3 feat: [CDE-460]: added events for resetting infra (#2948)
* feat: [CDE-460]: added events for resetting infra
2024-11-07 10:15:47 +00:00
Deepak Bhatt f79d785f60 fix: [CDE-438]: modify filter logic for marked-for-deletion field (#2935)
* modify delete api
* modify filter logic for marked-for-deletion field
2024-11-06 08:06:56 +00:00
Johannes Batzill 9b89229a35 fix: [CODE-2684]: Move go-get to git URL and support submodules and major versioning (#2914) 2024-11-05 17:13:26 +00:00
Akhilesh Pandey 2f45f99f8b feat: [CODE-2573]: Allow ID to be sent in userGroupInfo object (#2923)
* feat: [CODE-2573]: Scan UserGroup ID to be returned after creation
* feat: [CODE-2573]: Allow ID to be sent in userGroupInfo object
2024-11-05 16:02:19 +00:00
Ansuman Satapathy 975cec7f53 fix: [CDE-454]: gitspaces increase timeout for long postCreate scripts (#2926)
* fix: [CDE-454]: increase timeout for long postCreate scripts
* fix: [CDE-454]: increase timeout for long postCreate scripts
* fix: [CDE-454]: increase timeout for long postCreate scripts
* fix: [CDE-454]: increase timeout for long postCreate scripts
2024-11-05 13:41:39 +00:00
Tudor Macari ddd8b47f62 feat: [AH-602]: refactoring (#2920)
* rezolve PR comments
* rezolve PR comments
* refactoring
* feat: [AH-602]: refactoring
2024-11-05 12:44:11 +00:00
Marko Gaćeša 0db33abeb1 feat: [PIPE-22454]: add PR metadata in get/list PR API response (#2912)
* add PR metadata in PR API response
2024-11-05 12:02:44 +00:00
Ansuman Satapathy ffa2643136 fix: [CDE-332]: gitspaces swagger fix (#2916)
* fix: [CDE-332]: gitspaces swagger fix
2024-11-04 08:19:40 +00:00
Ansuman Satapathy 2daeee0b93 feat: [CDE-332]: added a way to filter gitspaces (#2915)
* feat: [CDE-332]: added a way to filter gitspaces
* feat: [CDE-332]: added a way to filter gitspaces
2024-11-04 06:57:06 +00:00
Ansuman Satapathy 2fc779c32a feat: [CDE-332]: updated swagger for gitspaces and sort order for gitspaces activation (#2913)
* feat: [CDE-332]: added a way to filter gitspaces
* feat: [CDE-332]: updated swagger for gitspaces and sort order for gitspaces activation
* feat: [CDE-332]: updated swagger for gitspaces
2024-11-04 04:40:28 +00:00
Deepak Bhatt 516fadfe8f fix: [CDE-290]: modify list function for gitspaces (#2908)
* feat: [CDE-332]: debugging
* feat: [CDE-332]: debugging
* feat: [CDE-332]: debugging
* feat: [CDE-332]: debugging
* feat: [CDE-332]: fix subquery no alias
* feat: [CDE-332]: fix subquery no alias
* feat: [CDE-332]: fix subquery no alias
* feat: [CDE-332]: fix subquery no alias
* feat: [CDE-332]: remove duplication of code
* feat: [CDE-332]: remove duplication of code
* feat: [CDE-332]: remove duplication of code
* 

feat: [CDE-332]: remove duplication of code
* 





modify list all
* 





fix lint
* 





add sorting
* 





modify list function
2024-11-01 06:07:53 +00:00
Akhilesh Pandey 31768b1621 feat: [CODE-2468]: rename review submitted webhook trigger (#2910)
* feat: [CODE-2468]: rename webhook trigger
* feat: [CODE-2468]: rename webhook trigger
2024-10-30 16:33:55 +00:00
Dhruv Dhruv 6dbe85fbfd fix: [CDE-413]: Setting branch URL in all gitspace API response (#2881)
* 

fix: [CDE-413]: Adding spacePath to method.
* 

fix: [CDE-413]: Adding method to get branch url in the scm interface and using it to set the branch url in the gitspace config api responses. Removing the SCM interface as it has only 1 impl. Minor refactoring.
* 

fix: [CDE-413]: Adding method to get branch url in the scm interface and using it to set the branch url in the gitspace config api responses. Removing the SCM interface as it has only 1 impl. Minor refactoring.
2024-10-29 04:46:03 +00:00
Deepak Bhatt 178af11902 fix: [CDE-438]:modify list method for gitspace config (#2886)
* add removed params
* modify list gitspace config
2024-10-29 03:58:47 +00:00