Skip to content

Tweaked Driver to invoke vSwarm functions#585

Merged
JooyoungPark73 merged 6 commits intomainfrom
new-vswarm-deployer
Feb 10, 2025
Merged

Tweaked Driver to invoke vSwarm functions#585
JooyoungPark73 merged 6 commits intomainfrom
new-vswarm-deployer

Conversation

@aryans1204
Copy link
Contributor

Summary

A small summary of the requirements (in one/two sentences).

Implementation Notes ⚒️

  • Briefly outline the overall technical solution. If necessary, identify talking points where the reviewer's attention should be drawn to.
    Made changes to pkg/trace/ and pkg/driver/ and cmd/loader.go to support execution of vSwarm functions and integrate with downstream vSwarm invoker.

External Dependencies 🍀

Breaking API Changes ⚠️

Simply specify none (N/A) if not applicable.

@aryans1204 aryans1204 marked this pull request as draft January 30, 2025 07:10
@aryans1204 aryans1204 force-pushed the new-vswarm-deployer branch 2 times, most recently from 2e14bcd to b8ce0d0 Compare January 30, 2025 12:03
@aryans1204 aryans1204 marked this pull request as ready for review January 30, 2025 12:14
Copy link
Contributor

@leokondrashov leokondrashov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Asking for reviews with failing tests is a bad practice. If you want feedback on why the test fails, please ask directly about that. Otherwise, please fix the test before asking for the review.

deploymentInfoFile, err := os.ReadFile("deploy_info.json")
if err != nil {
wd, _ := os.Getwd()
deploymentInfoFile, err = os.ReadFile(wd + "/pkg/trace/deploy_info.json")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use p.DirectoryPath and not hardcode dir in the code.
Also return error, not warning, if input file is not detected. It can do nothing if there is no input.

@aryans1204 aryans1204 force-pushed the new-vswarm-deployer branch 4 times, most recently from 39b5e76 to 64ccf99 Compare February 6, 2025 05:10
JooyoungPark73
JooyoungPark73 previously approved these changes Feb 6, 2025
@JooyoungPark73 JooyoungPark73 self-requested a review February 6, 2025 10:57
@JooyoungPark73 JooyoungPark73 marked this pull request as draft February 6, 2025 10:59
@JooyoungPark73 JooyoungPark73 marked this pull request as ready for review February 6, 2025 11:00
@JooyoungPark73 JooyoungPark73 reopened this Feb 6, 2025
JooyoungPark73
JooyoungPark73 previously approved these changes Feb 10, 2025
Signed-off-by: aryans1204 <arshar1204@gmail.com>
Signed-off-by: aryans1204 <arshar1204@gmail.com>
Signed-off-by: aryans1204 <arshar1204@gmail.com>
Signed-off-by: aryans1204 <arshar1204@gmail.com>

Added tests to CI and formatted code

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Fixing the E2E test for vSwarm loader

Signed-off-by: aryans1204 <arshar1204@gmail.com>

Extracted vSwarm mock server from standard workload

Signed-off-by: aryans1204 <arshar1204@gmail.com>
Signed-off-by: aryans1204 <arshar1204@gmail.com>
Signed-off-by: aryans1204 <arshar1204@gmail.com>
@JooyoungPark73 JooyoungPark73 self-requested a review February 10, 2025 10:12
@JooyoungPark73 JooyoungPark73 merged commit d913372 into main Feb 10, 2025
16 checks passed
@JooyoungPark73 JooyoungPark73 deleted the new-vswarm-deployer branch February 10, 2025 10:12
@leokondrashov leokondrashov restored the new-vswarm-deployer branch February 10, 2025 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants