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
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
Ansuman Satapathy
2c8e0245c1
feat: [CDE-369]: call stop container for docker gitspaces ( #2789 )
...
*
feat: [CDE-369]: call stop container for docker gitspaces
2024-10-09 09:44:16 +00:00
Ansuman Satapathy
160d1a28dd
feat: [CDE-369]: delete stopped gitspaces gracefully ( #2784 )
...
* feat: [CDE-369]: delete stopped gitspaces
2024-10-08 16:23:31 +00:00
Ansuman Satapathy
a802fc8d29
feat: [CDE-336]: call gitspaces stop only when required. ( #2762 )
...
* feat: [CDE-336]: call stop only when required.
* feat: [CDE-336]: call stop only when required.
* feat: [CDE-336]: call stop only when required.
2024-10-02 08:31:28 +00:00
Dhruv Dhruv
efcfd92517
feat: [CDE-350]: Adding columns for active time start and end in gitspace table. ( #2744 )
...
* feat: [CDE-350]: Adding columns for active time start and end in gitspace table.
2024-09-26 10:35:42 +00:00
Ansuman Satapathy
827305afdb
feat: [CDE-336]: update heartbeat for gitspace instance ( #2742 )
...
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
2024-09-26 08:27:34 +00:00
Kapil Garg
370007c0f7
remove creds from clone url ( #2653 )
...
* wrap template variables in quotes
* remove redundant fields from credentials
* add creds in gitness clone url
* set git user name and email after cloning
* remove creds from clone url
2024-09-09 08:30:04 +00:00
Ansuman Satapathy
f8f54c43c7
feat: [CDE-202]: remove extra spaceID ( #2641 )
...
* feat: [CDE-202]: remove extra spaceID
* feat: [CDE-202]: remove extra spaceID
* feat: [CDE-202]: remove extra spaceID
2024-09-03 14:07:52 +00:00
Ansuman Satapathy
5cfd41ae1a
feat: [CDE-202]: infra provider resource cache ( #2637 )
...
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
2024-09-03 09:59:29 +00:00
Dhruv Dhruv
38023da2db
feat: [CDE-286]: Moving user and git mgmt to respective services. ( #2634 )
...
* feat: [CDE-286]: Moving user and git mgmt to respective services.
2024-09-02 10:27:27 +00:00
Ansuman Satapathy
3b0c20ae53
fix: [CDE-244]: set user details automatically ( #2632 )
...
* fix: [CDE-244]: set user details automatically
* fix: [CDE-244]: set user details automatically
* fix: [CDE-244]: set user details automatically
2024-09-02 07:16:07 +00:00
Dhruv Dhruv
d50945fd60
feat: [CDE-278]: Ensure infra is in provisioned state before triggering stop or delete, or before fectching logs. ( #2616 )
...
* feat: [CDE-278]: Ensure infra is in provisioned state before triggering stop or delete, or before fectching logs.
2024-08-29 13:38:54 +00:00
Kapil Garg
1697d15f8e
create ssh directory in manager_user ( #2598 )
...
* set user directory perm to 755
* set userpass in case of ssh
* fix ssh server script
* change access type if condition
* create ssh directory in manager_user
2024-08-27 18:06:50 +00:00
Ansuman Satapathy
fde5e2c93b
fix: [CDE-244]: infra status stopped added ( #2587 )
...
* Merge remote-tracking branch 'origin/main' into vm_suspend_gitness
* fix: [CDE-244]: infra status stopped added
* fix: [CDE-244]: infra status stopped added
2024-08-26 12:27:27 +00:00
Ansuman Satapathy
93af2c724e
feat: [CDE-192]: show user info for gitspace listing. ( #2531 )
...
* feat: [CDE-192]: added TODO to move to user int as key
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: wire principal info cache
* feat: [CDE-192]: show user info for gitspace listing.
* feat: [CDE-192]: show user info for gitspace listing.
2024-08-20 09:34:10 +00:00
Dhruv Dhruv
0f8eb568e2
feat: [CDE-241]: Adding protocol to the gitspace port returned by the IDE and corresponding changes. Fixing gitspace instance's reference instead of value in the orchestrator. ( #2521 )
...
* feat: [CDE-241]: Addressing review comment.
* feat: [CDE-241]: Addressing review comment.
* feat: [CDE-241]: Adding protocol to the gitspace port returned by the IDE and corresponding changes. Fixing gitspace instance's reference instead of value in the orchestrator.
2024-08-16 08:31:05 +00:00
Ansuman Satapathy
2f3b6a6f85
feat: [CDE-177]: Update listing page for CDE ( #2506 )
...
* feat: [CDE-207]: Fixed typecheck (#2513 )
* feat: [CDE-207]: remove currentUserInfo app prop
* Merge branch 'CDE-207-FixTypeCheck' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-207-FixTypeCheck
* feat: [CDE-207]: remove currentUserInfo app prop
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* fix lint errors (#2520 )
* add copyright header
* add copyright header
* fix lint errors
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: fix gitspace instance store
* Merge remote-tracking branch 'origin/main' into CDE-New
* add secret resolver in gitness (#2493 )
* rename identifier to space identifier
* update factory method
* remove access_key from gitspace table
* add access key and type to devcontainer exec
* add migration for gitspace access key ref
* fix error message for resolver factory
* update resolver interface
* add secret resolver in gitness
* feat: [CDE-192]: correctly update date and sync update
* Merge remote-tracking branch 'origin/main' into CDE-New
# Conflicts:
# app/api/controller/gitspace/action.go
# app/api/controller/gitspace/delete.go
* feat: [CDE-192]: correctly update dates for updated
* feat: [CDE-192]: handle empty inputparams
* feat: [CDE-192]: handle empty inputparams
* Merge remote-tracking branch 'origin/main' into CDE-New
* Merge remote-tracking branch 'origin/main' into CDE-New
* feat: [CDE-207]: Use SCM api hook (#2499 )
* feat: [CDE-207]: Updated Strings
* feat: [CDE-207]: Use SCM api hook
* feat: fixed string issue (#2476 )
* feat: [CDE-211]: fixed lint issues
* feat: [CDE-211]: fixed lint issues
* feat: fixed string issue
* feat: fixed string issue (#2474 )
* feat: fixed string issue
* add ssh identifier in map functions in gitness store
* add ssh fields in types
* feat: fixed GitspaceCodeRepoType in create payload
* feat: updated common hooks
* feat: update for listing
* feat: update for listing
* feat: removed cde folder
* feat: [CDE-177]: Update listing page for CDE
2024-08-16 06:46:02 +00:00
Ansuman Satapathy
7a3df78d8b
feat: [CDE-192]: correctly cache login info during first checkout ( #2515 )
...
* feat: [CDE-192]: correctly cache login info during first checkout
2024-08-15 05:33:11 +00:00
Dhruv Dhruv
dcf2068873
feat: [CDE-192]: Updating instance state synchronously when calling orchestrator's trigger flows. ( #2505 )
...
* feat: [CDE-192]: Updating instance state synchronously when calling orchestrator's trigger flows.
2024-08-14 11:57:19 +00:00
Ansuman Satapathy
99d8d2d6a3
feat: [CDE-192]: make hosts and ports in gitspace infrastructure more verbose ( #2496 )
...
* feat: [CDE-192]: make hosts and ports in gitspace infrastructure more verbose
2024-08-13 11:42:01 +00:00
Dhruv Dhruv
1e3c910c07
feat: [CDE-231]: Adding logs method to orchestrator and fixing logic to catch cmd execuction errors in devcontainer.Exec. ( #2472 )
...
* feat: [CDE-231]: Adding logs method to orchestrator and fixing logic to catch cmd execuction errors in devcontainer.Exec.
2024-08-13 04:27:04 +00:00