Dhruv
93a08e245a
Fixing the comment handling for devcontainer.json file. ( #3610 )
...
Using the open-source `github.com/tidwall/jsonc` library to parse and
filter out the comments.
Co-authored-by: dhruv <dhruv.istc@gmail.com>
2025-01-15 12:01:29 +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
Ansuman Satapathy
6fd23fd03e
fix: [CDE-555]: fix correctly iterate over list of extensions for gitspace ( #3597 )
...
<img width="1083" alt="Screenshot 2024-12-12 at 10 47 03 AM"
src="https://github.com/user-attachments/assets/442dee2f-f541-4656-ba27-a28aeab42b5a "
/>
* fix: [CDE-555]: fix correctly iterate over list of extensions for
gitspace.
(cherry picked from commit 1e18e289d8
)
2024-12-12 17:08:08 +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
Dhruv Dhruv
ccf7673ee5
fix: [CDE-473]: Checking default containerUser from the image. ( #3105 )
...
* fix: [CDE-473]: Checking default containerUser from the image.
2024-12-04 07:24:22 +00:00
Ansuman Satapathy
26408533e1
feat: [CDE-472]: handle stream closing gracefully, and simplify sync cmd execution ( #3102 )
...
* feat: [CDE-472]: handle stream closing gracefully, and simplify sync cmd execution
* feat: [CDE-472]: handle stream closing gracefully, and simplify sync cmd execution
2024-12-03 13:06:59 +00:00
Dhruv Dhruv
6f7e203251
fix: [CDE-540]: Adding check for media folder path during gitspace creation. ( #3100 )
...
* fix: [CDE-540]: Adding check for media folder path during gitspace creation.
2024-12-03 08:59:31 +00:00
Ansuman Satapathy
74ff87178f
feat: [CDE-472]: add status code to the channel for gitspace exec ( #3096 )
...
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
2024-12-03 04:49:05 +00:00
Ansuman Satapathy
04b4dab207
feat: [CDE-472]: make IDE service args typed ( #3092 )
...
* feat: [CDE-472]: reduce verbosity of internal installation steps
* feat: [CDE-472]: reduce verbosity of internal installation steps
* feat: [CDE-472]: make IDE service args typed
2024-12-02 12:04:47 +00:00
Dhruv Dhruv
a64d5631f4
feat: [CDE-473]: Unlocking and removing remoteUser password in case of SSH key. ( #3090 )
...
* feat: [CDE-473]: Unlocking and removing remoteUser password in case of SSH key.
2024-12-02 08:16:42 +00:00
Ansuman Satapathy
c65f994af9
feat: [CDE-522]: send total gitspaces without applying user filters in header ( #3089 )
...
* feat: [CDE-522]: formatting
* feat: [CDE-522]: formatting
* feat: [CDE-522]: send total gitspaces without applying user filters in header
* feat: [CDE-522]: send total gitspaces without applying filter in header
2024-12-02 07:03:22 +00:00
Ansuman Satapathy
08d9d959cc
feat: [CDE-472]: install extensions only during setup, vscode impl for it. ( #3088 )
...
* feat: [CDE-522]: formatting
* feat: [CDE-472]: install extensions only during setup, vscode impl for it.
* feat: [CDE-472]: install extensions only during setup, vscode impl for it.
* feat: [CDE-472]: install extensions only during setup, vscode impl for it.
* feat: [CDE-472]: install extensions only during setup, vscode impl for it.
2024-12-02 06:49:31 +00:00
Ansuman Satapathy
293aa5ff29
feat: [CDE-472]: add search gitspace, user dir fixed for life-cycle command ( #3087 )
...
* feat: [CDE-472]: add search gitspace, user dir fixed for life-cycle command
2024-12-01 06:50:59 +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
Ansuman Satapathy
7daa9666cc
feat: [CDE-472]: customizations refactor code ( #3078 )
...
* feat: [CDE-472]: customizations refactor code
2024-11-29 08:29:38 +00:00
Deepak Bhatt
b4baf364a9
fix: [CDE-508]: use image auth map ( #3058 )
...
* use image auth map
2024-11-28 07:39:06 +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
3b2db60eea
feat: [CDE-508]: add image auth ( #3053 )
...
* add comment
* split pull image func into smaller parts
* split pull image func into smaller parts
* use MaskSecret type
* fix lint
* add image auth
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-image-auth
* add image auth
2024-11-27 10:24:33 +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
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
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
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
Ansuman Satapathy
d3d1ba32ff
fix: [CDE-525]: for each execution form a new list of steps to execute. ( #3034 )
...
* fix: [CDE-525]: for each execution form a new list of steps to execute.
2024-11-22 05:03:50 +00:00
Ansuman Satapathy
84dc8c2187
feat: [CDE-470]: instead of using bash [[ use posix [] operator ( #3010 )
...
* feat: [CDE-470]: instead of using bash, sh bases syntax
* feat: [CDE-470]: instead of using bash, sh bases syntax
2024-11-18 12:45:04 +00:00
Ansuman Satapathy
17dea68b57
feat: [CDE-470]: use stream logger and buffer the results for gitspaces exec ( #3008 )
...
* feat: [CDE-470]: set env variable for flavours
* feat: [CDE-470]: set env variable for flavours
* feat: [CDE-470]: set env variable for flavours
* feat: [CDE-470]: set env variable for flavours
* feat: [CDE-470]: format code
* feat: [CDE-470]: format code
* feat: [CDE-470]: format code
* feat: [CDE-470]: use stream logger
* feat: [CDE-470]: use stream logger
* feat: [CDE-470]: use stream logger
* feat: [CDE-470]: env variables for VS Code desktop
2024-11-18 04:55:01 +00:00
Ansuman Satapathy
94ec638b7b
feat: [CDE-470]: remove redundant logging lines for post commands gitspaces ( #2988 )
...
* feat: [CDE-470]: remove redundant logging lines for post commands gitspaces
2024-11-13 08:50:08 +00:00
Ansuman Satapathy
0298578a43
feat: [CDE-461]: add logging levels to the gitspace logger. ( #2981 )
...
* feat: [CDE-461]: add logging levels to the gitspace logger.
2024-11-12 09:03:07 +00:00
Ansuman Satapathy
50fe99a564
feat: [CDE-461]: parameterize bindMount type for devcontainer setup. ( #2979 )
...
* feat: [CDE-461]: parameterize bindMount type for devcontainer setup.
* feat: [CDE-461]: parameterize bindMount type for devcontainer setup.
2024-11-12 08:19:43 +00:00
Dhruv Dhruv
6200fa9844
fix: [CDE-478]: Setting the first value of gits_last_heartbeat field equal to gits_active_time_started when a gitspace is confirmed to be running by the container orchestrator. ( #2978 )
...
* fix: [CDE-478]: Setting the first value of gits_last_heartbeat field equal to gits_active_time_started when a gitspace is confirmed to be running by the container orchestrator.
2024-11-12 08:01:59 +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
4d4917eddc
feat: [CDE-461]: gitspaces expose the container methods ( #2974 )
...
* feat: [CDE-461]: gitspaces expose the container methods
* feat: [CDE-461]: gitspaces expose the container methods
* feat: [CDE-461]: gitspaces expose the container methods
* feat: [CDE-461]: gitspaces expose the container methods
* feat: [CDE-461]: gitspaces expose the container methods
* feat: [CDE-461]: gitspaces expose the container methods
2024-11-11 18:09:38 +00:00
Ansuman Satapathy
c635effd2f
feat: [CDE-461]: expose the step methods ( #2969 )
...
* feat: [CDE-461]: expose the step methods
* feat: [CDE-461]: expose the step methods
* feat: [CDE-461]: expose the step methods
2024-11-11 12:06:42 +00:00
Ansuman Satapathy
d4c7f6930c
feat: [CDE-461]: abstract logger for docker, gitspace setup steps ( #2966 )
...
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
* feat: [CDE-461]: abstract logger for docker, gitspace setup steps
2024-11-11 10:16:26 +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
Ansuman Satapathy
565820fbc8
fix: [CDE-469]: remove pointer types from gitspace scm ( #2956 )
...
* fix: [CDE-461]: remove pointer types from gitspace scm
* fix: [CDE-461]: remove pointer types from gitspace scm
* fix: [CDE-461]: remove pointer types from gitspace scm
2024-11-08 09:51:59 +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
Ansuman Satapathy
0ca7e83e34
fix: [CDE-454]: added null check for logs, apply state filter ( #2922 )
...
*
fix: [CDE-454]: added null check for logs.
*
fix: [CDE-454]: added null check for logs.
2024-11-05 03:41:57 +00:00
Vikyath Harekal
8cafd9f978
feat: [CDE-332]: install sudo ( #2919 )
...
* feat: [CDE-332]: install sudo
2024-11-04 15:14:47 +00:00
Vikyath Harekal
1b65eb4e04
feat: [CDE-332]: Sudo no password ( #2918 )
...
* feat: [CDE-332]: Sudo no password
2024-11-04 14:45:25 +00:00
Vikyath Harekal
9e9790a67d
feat: [CDE-332]: Install tools ( #2907 )
...
*
feat: [CDE-332]: Install tools
*
feat: [CDE-332]: Install tools
*
feat: [CDE-332]: Install tools
*
feat: [CDE-332]: Install tools
*
feat: [CDE-332]: Install tools
*
feat: [CDE-332]: lint issues
*
feat: [CDE-332]: Install tools
2024-10-30 11:16:57 +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
6983438ec2
feat: [CDE-391]:add infrastruce and orchestrator funcs ( #2841 )
...
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* change name
* increase scope of delete
* change func name
* modify delete api
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* add delete and handler condition
* address comment
* handle cleanup event
* update enum mapping
* find destroyed infra as well
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* modify find signature
* Merge branch 'add-force-delete-job-funcs' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
*
address feedback 2
*
address feedback
*
Apply suggestion from code review
*
Apply suggestion from code review
*
remove std out
*
add infrastruce and orchestrator funcs
*
add and modify infra provider methods
Add cleanupInstanceResources method
Modify Deprovision method and make it idempotent
* address feedback 2
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* Merge branch 'add-force-delete-job-funcs' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* address feedback
* Apply suggestion from code review
* Apply suggestion from code review
* remove std out
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-force-delete-job-funcs
* add infrastruce and orchestrator funcs
* add and modify infra provider methods
Add cleanupInstanceResources method
Modify Deprovision method and make it idempotent
2024-10-28 05:30:14 +00:00
Ansuman Satapathy
6035f3b73e
feat: [CDE-332]: updated script for containers ( #2875 )
...
* feat: [CDE-332]: updated script for containers
* feat: [CDE-332]: updated script for containers
* feat: [CDE-332]: updated script for containers
* feat: [CDE-332]: updated scrpt for containers
2024-10-28 04:25:23 +00:00
Ansuman Satapathy
1cb0e477f0
feat: [CDE-332]: updated script for gitspace tools installation ( #2874 )
...
* feat: [CDE-332]: updated script for containers
* feat: [CDE-332]: updated scrpt for containers
2024-10-28 04:02:38 +00:00
Vikyath Harekal
ad12a5d6f8
feat: [CDE-332]: Update the gitspace setup scripts to support more OSes ( #2873 )
...
*
feat: [CDE-332]: fix lint
*
feat: [CDE-332]: Update the gitspace setup scripts to support more OSes
2024-10-27 01:43:58 +00:00
Vikyath Harekal
4c278448c4
feat: [CDE-332]: Update the gitspace setup scripts to support more OSes ( #2872 )
...
* feat: [CDE-332]: Update the gitspace setup scripts to support more OSes
2024-10-26 11:42:12 +00:00