This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Node.js | |
| # Build a general Node.js project with npm. | |
| # Add steps that analyze code, save build artifacts, deploy, and more: | |
| # https://docs.microsoft.com/azure/devops/pipelines/languages/javascript | |
| trigger: | |
| - master | |
| pr: | |
| - master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2019-06-26T04:09:37.2986960Z Name Value | |
| 2019-06-26T04:09:37.2988323Z ---- ----- | |
| 2019-06-26T04:09:37.2988793Z agent.jobstatus Succeeded | |
| 2019-06-26T04:09:37.2989350Z AGENT_BUILDDIRECTORY d:\a\1 | |
| 2019-06-26T04:09:37.2989660Z AGENT_DISABLELOGPLUGIN_TESTFILEPUBLISHERPLUGIN true | |
| 2019-06-26T04:09:37.2989958Z AGENT_DISABLELOGPLUGIN_TESTRESULTLOGPLUGIN false | |
| 2019-06-26T04:09:37.2990240Z AGENT_HOMEDIRECTORY C:\agents\2.153.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## ------------------------------------------------------ | |
| ## Zookeeper | |
| ## ------------------------------------------------------ | |
| cp-zookeeper: | |
| enabled: true | |
| servers: 3 | |
| image: confluentinc/cp-zookeeper | |
| imageTag: 5.2.1 | |
| ## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. | |
| ## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nodeport: | |
| enabled: true | |
| servicePort: 19092 | |
| firstListenerPort: 31090 | |
| configurationOverrides: | |
| "offsets.topic.replication.factor": "3" | |
| "advertised.listeners": |- | |
| EXTERNAL://localhost:$((31090 + ${KAFKA_BROKER_ID})) | |
| "listener.security.protocol.map": |- | |
| PLAINTEXT:PLAINTEXT,EXTERNAL:PLAINTEXT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| steps: | |
| - task: DotNetCoreCLI@2 | |
| displayName: Restore | |
| inputs: | |
| command: restore | |
| projects: '$(Parameters.RestoreBuildProjects)' | |
| steps: | |
| - task: DotNetCoreCLI@2 | |
| displayName: Build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| steps: | |
| - task: DotNetCoreCLI@2 | |
| displayName: 'dotnet pack' | |
| inputs: | |
| command: pack | |
| packagesToPack: src/Microsoft.Azure.WebJobs.Extensions.Some/Microsoft.Azure.WebJobs.Extensions.Some.csproj | |
| buildProperties: 'VersionSuffix=-$(Build.BuildId)' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| steps: | |
| - task: DotNetCoreCLI@2 | |
| displayName: Build | |
| inputs: | |
| projects: '$(Parameters.RestoreBuildProjects)' | |
| arguments: '--configuration $(BuildConfiguration) --version-suffix "-$(Build.BuildId)"' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # create three ipaddresses on AKS cluster. | |
| usage() { echo "Usage: create_ipaddress.sh -n <clusterName> -r <resourceGroupName> "; exit 1; } | |
| declare clusterName="" | |
| declare resourceGroupName="" | |
| while getopts ":n:r:" arg; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## External access. | |
| ## | |
| external: | |
| type: LoadBalancer | |
| # annotations: | |
| # service.beta.kubernetes.io/openstack-internal-load-balancer: "true" | |
| dns: | |
| useInternal: false | |
| useExternal: false | |
| # create an A record for each statefulset pod |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ------------------------------------------------------------------------------ | |
| # Kafka: | |
| # ------------------------------------------------------------------------------ | |
| ## The StatefulSet installs 3 pods by default | |
| replicas: 3 | |
| ## The kafka image repository | |
| image: "confluentinc/cp-kafka" |