Skip to content

[moc] Add AvailabilitySet Operation for Add/Remove VM - #376

Merged
Ruinan Liu (ruinan-liu) merged 9 commits into
mainfrom
users/ruinanliu/AvSetUpdateIdem
Aug 8, 2025
Merged

[moc] Add AvailabilitySet Operation for Add/Remove VM#376
Ruinan Liu (ruinan-liu) merged 9 commits into
mainfrom
users/ruinanliu/AvSetUpdateIdem

Conversation

@ruinan-liu

@ruinan-liu Ruinan Liu (ruinan-liu) commented Jul 24, 2025

Copy link
Copy Markdown
Contributor

Added AvailabilitySetOperation Struct and introduced 2 operation types Add_VM, Remove_VM

@ruinan-liu
Ruinan Liu (ruinan-liu) marked this pull request as ready for review July 24, 2025 16:51
@ruinan-liu

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

…inanliu/AvSetUpdateIdem

merging to get latest from master
Comment thread Makefile Outdated
Comment thread rpc/cloudagent/compute/availabilityset/moc_cloudagent_availabilityset.proto Outdated
Comment thread rpc/nodeagent/compute/availabilityset/moc_nodeagent_availabilityset.proto Outdated

@ruinan-liu Ruinan Liu (ruinan-liu) left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Replied to comments

Comment thread go.mod Outdated
github.com/golang/protobuf v1.5.4
github.com/hectane/go-acl v0.0.0-20230122075934-ca0b05cb1adb
github.com/jmespath/go-jmespath v0.4.0
github.com/microsoft/moc-pkg v0.13.3

@msftpgayam Pradeep Kumar Gayam (msftpgayam) Aug 8, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Any idea why is this being added? Does moc depend on moc-pkg?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think it is because this file is using it
https://github.com/microsoft/moc/blob/main/pkg/fs/fs_windows.go

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

But you're not making any changes to this file, right? Any idea why your PR is bringing in the dependency on moc-pkg?

@ruinan-liu Ruinan Liu (ruinan-liu) left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Replied to comments

@ruinan-liu

Copy link
Copy Markdown
Contributor Author

/azp

@azure-pipelines

Copy link
Copy Markdown
Supported commands
  • help:
    • Get descriptions, examples and documentation about supported commands
    • Example: help "command_name"
  • list:
    • List all pipelines for this repository using a comment.
    • Example: "list"
  • run:
    • Run all pipelines or specific pipelines for this repository using a comment. Use this command by itself to trigger all related pipelines, or specify specific pipelines to run.
    • Example: "run" or "run pipeline_name, pipeline_name, pipeline_name"
  • where:
    • Report back the Azure DevOps orgs that are related to this repository and org
    • Example: "where"

See additional documentation.

@ruinan-liu

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@ruinan-liu

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@ruinan-liu
Ruinan Liu (ruinan-liu) merged commit 9aec529 into main Aug 8, 2025
7 checks passed
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.

4 participants