Skip to content

Commit

Permalink
Split the eventhubs client and data pipelines. (Azure#4995)
Browse files Browse the repository at this point in the history
* Split the eventhubs client and data pipelines.

* Removed redundant modules section.

* Specified artifacts for data pipeline.
  • Loading branch information
mitchdenny authored and pull[bot] committed Aug 14, 2019
1 parent f8085c9 commit baf1f47
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 13 deletions.
46 changes: 46 additions & 0 deletions sdk/eventhubs/ci.data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

resources:
repositories:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools

trigger:
branches:
include:
- master
- feature/*
- hotfix/*
- release/*
paths:
include:
- sdk/eventhubs/
exclude:
- sdk/eventhubs/azure

pr:
branches:
include:
- master
- feature/*
- hotfix/*
- release/*
paths:
include:
- sdk/eventhubs/
exclude:
- sdk/eventhubs/azure

stages:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: eventhubs
Artifacts:
- name: azure-eventhubs
safeName: azureeventhubs
- name: azure-eventhubs-eph
safeName: azureeventhubseph
- name: azure-eventhubs-extensions
safeName: azureeventhubsextensions
4 changes: 4 additions & 0 deletions sdk/eventhubs/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ trigger:
paths:
include:
- sdk/eventhubs/
exclude:
- sdk/eventhubs/microsoft-azure

pr:
branches:
Expand All @@ -28,6 +30,8 @@ pr:
paths:
include:
- sdk/eventhubs/
exclude:
- sdk/eventhubs/microsoft-azure

stages:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
Expand Down
47 changes: 34 additions & 13 deletions sdk/eventhubs/pom.service.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,41 @@
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.azure</groupId>
<artifactId>azure-eventhubs-service</artifactId>
<packaging>pom</packaging>
<version>1.0.0</version><!-- Need not change for every release-->
<modules>
<module>microsoft-azure-eventhubs</module>
<module>microsoft-azure-eventhubs-eph</module>
<module>microsoft-azure-eventhubs-extensions</module>
<module>../core/azure-core</module>
<module>../core/azure-core-test</module>
<module>../core/azure-core-amqp</module>
<module>azure-messaging-eventhubs</module>
</modules>
<version>1.0.0</version> <!-- Need not change for every release-->
<profiles>
<profile>
<id>data</id>
<activation>
<property>
<name>env.SDKTYPE</name>
<value>data</value>
</property>
</activation>
<modules>
<module>microsoft-azure-eventhubs</module>
<module>microsoft-azure-eventhubs-eph</module>
<module>microsoft-azure-eventhubs-extensions</module>
</modules>
</profile>
<profile>
<id>client</id>
<activation>
<property>
<name>env.SDKTYPE</name>
<value>!data</value>
</property>
</activation>
<modules>
<module>../core/azure-core</module>
<module>../core/azure-core-test</module>
<module>../core/azure-core-amqp</module>
<module>azure-messaging-eventhubs</module>
</modules>
</profile>
</profiles>
</project>

0 comments on commit baf1f47

Please sign in to comment.