Skip to content

cosmosdb-track2#17739

Closed
colawwj wants to merge 10 commits intoAzure:mainfrom
colawwj:cosmosdb-track2
Closed

cosmosdb-track2#17739
colawwj wants to merge 10 commits intoAzure:mainfrom
colawwj:cosmosdb-track2

Conversation

@colawwj
Copy link
Copy Markdown
Contributor

@colawwj colawwj commented Sep 18, 2021

No description provided.

Comment thread sdk/cosmosdb/ci.yml Outdated
extends:
template: ../../eng/pipelines/templates/stages/cosmos-sdk-client.yml #NOTE: Non-standard template.
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@praveenkuttappan @ramya-rao-a Do you have any idea why cosmosdb is using a different template here ? Is it okay to change it into archetype-sdk-client.yml and enable the unit tests now?

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.

@jeremymeng You have the context here right?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I remember cosmos config is different from other packages. It needs to setup the emulator to run tests. @HarshaNalluru may also have more info.

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.

Yes, cosmos sdk uses the emulator instead of the live service for testing, and hence different template.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@colawwj changed it back.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@praveenkuttappan any recommendations here?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We will need two different pipeline under cosmos service in that case with different artifact set and triggering path.

  1. One for cosmos package using emulator
  2. another one for mgmt package.

I do not prefer that option unless we have no other choice. why does cosmos mgmt needs different type of testing? Is it because it doesn't need emulator at all?

Copy link
Copy Markdown
Member

@qiaozha qiaozha Oct 29, 2021

Choose a reason for hiding this comment

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

@praveenkuttappan any updates to this cosmosdb ci template issue ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I have submitted PR #18659 to add new pipeline for cosmos mgmt package.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@ramya-rao-a ramya-rao-a added the Mgmt This issue is related to a management-plane library. label Sep 20, 2021
@colawwj colawwj closed this Oct 11, 2021
@colawwj colawwj deleted the cosmosdb-track2 branch October 11, 2021 03:01
@colawwj colawwj restored the cosmosdb-track2 branch October 11, 2021 03:03
@colawwj colawwj reopened this Oct 13, 2021
@colawwj colawwj closed this Nov 12, 2021
@colawwj colawwj deleted the cosmosdb-track2 branch November 12, 2021 01:31
openapi-sdkautomation Bot pushed a commit to AzureSDKAutomation/azure-sdk-for-js that referenced this pull request Feb 10, 2022
Add x-ms-identifiers for datacatalog (Azure#17739)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Cosmos Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants