Skip to content

Comments

Enabling Cosmos for Unified Pipelines#5102

Merged
mitchdenny merged 4 commits intoAzure:masterfrom
mitchdenny:up-cosmos
Aug 27, 2019
Merged

Enabling Cosmos for Unified Pipelines#5102
mitchdenny merged 4 commits intoAzure:masterfrom
mitchdenny:up-cosmos

Conversation

@mitchdenny
Copy link
Contributor

@mitchdenny mitchdenny commented Aug 26, 2019

This PR converts the existing Cosmos PR validation into the full unified pipeline model. One of the things that I anticipated when I introduced the archetype-sdk-client.yml template names was that we would have builds that break the mold and we would need other files. In these scenarios we introduce another template with the name [service]-sdk-client.yml. This file is mostly the same as the archetype template but has any additional ingredients embedded. This means that we can mostly push down the complexity of a particular service into a seperate file and not clutter up the ci.yml file.

That is why this change includes a new template file which is referenced by the sdk/cosmos/ci.yml file - everything else is that file is the same, but the eng/pipelines/templates/stages/cosmos-sdk-client.yml file contains all the complexity that had shown up in the original version of the ci.yml file.

@mitchdenny mitchdenny self-assigned this Aug 26, 2019
@mitchdenny
Copy link
Contributor Author

/azp run java - cosmos - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny
Copy link
Contributor Author

/azp run java - cosmos

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny
Copy link
Contributor Author

/azp run java - cosmos

@azure-pipelines
Copy link

Azure Pipelines failed to run 1 pipeline(s).

@mitchdenny
Copy link
Contributor Author

/azp run java - cosmos

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny mitchdenny marked this pull request as ready for review August 26, 2019 01:20
@mitchdenny
Copy link
Contributor Author

@HarshaNalluru pinging you on this PR because this is an example of how I am going to "normalize" the cosmos pipeline in the JS repo so I wanted to give you a heads up since the JS repo is probably that next one I'll tackle after finishing the Java repo.

@mitchdenny
Copy link
Contributor Author

/azp run java - cosmos - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny mitchdenny added the EngSys This issue is impacting the engineering system. label Aug 26, 2019
@mitchdenny mitchdenny merged commit bb2c2bb into Azure:master Aug 27, 2019
@mitchdenny mitchdenny deleted the up-cosmos branch August 27, 2019 04:03
Agent.Source.Git.ShallowFetchDepth: 1
skipComponentGovernanceDetection: true No newline at end of file
skipComponentGovernanceDetection: true
EmulatorMsiUrl: 'https://acpedaily1.blob.core.windows.net/emulator/azure-cosmos-emulator.msi' No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

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

Why would this go into the shared globals file?

@mitchdenny
Copy link
Contributor Author

mitchdenny commented Aug 28, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants