Skip to content

Commit ffc3bb3

Browse files
committed
platform updates
1 parent 39a1bd6 commit ffc3bb3

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

azure-pipelines/pr-validation/pr-validation-auth.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ stages:
4747
shouldPushToAcr: true
4848
acrRegistryUrl: 'acrsharedd01.azurecr.io'
4949
acrServiceConnection: 'Azure_ACR_Connection'
50-
sonarCloudEnabled: true
50+
sonarCloudEnabled: false
5151
workingDirectoryForDocker: '$(System.DefaultWorkingDirectory)/src'

azure-pipelines/templates/configure-cluster-stages.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,12 @@ stages:
125125
# pwsh: true
126126
# workingDirectory: ${{ parameters.workingDirectory }}
127127

128+
- pwsh: |
129+
kubectl apply -f "https://github.com/rabbitmq/cluster-operator/releases/latest/download/cluster-operator.yml"
130+
Start-Sleep 60
131+
kubectl apply -f ./helm-install-rabbitmq/rabbit.yaml
132+
displayName: 'Install Rabbit MQ'
133+
128134
- task: PowerShell@2
129135
displayName: 'Deploy CertManager'
130136
inputs:

cloudflare/Get-NewDnsEntries.ps1

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
$postgresService = $( kubectl get service "postgres-service" -n "event-triangle" -o json ) | ConvertFrom-Json
2-
$postgresPublicIp = $postgresService.status.loadBalancer.ingress[0].ip
3-
4-
$rabbitService = $( kubectl get service "event-rabbitmq" -n "event-triangle" -o json ) | ConvertFrom-Json
5-
$rabbitPublicIp = $rabbitService.status.loadBalancer.ingress[0].ip
61

72
$ingressService = $( kubectl get service "event-ingress-ingress-nginx-controller" -n "event-triangle" -o json ) | ConvertFrom-Json
83
$ingressPublicIp = $ingressService.status.loadBalancer.ingress[0].ip
4+
95
$dnsRecords = @{}
106

117
$dnsRecords["auth-eventtriangle.razumovsky.me"] = $ingressPublicIp
12-
$dnsRecords["rabbitmq-eventtriangle.razumovsky.me"] = $rabbitPublicIp
13-
$dnsRecords["postgres-eventtriangle.razumovsky.me"] = $postgresPublicIp
148

159
return $dnsRecords

platform/pgsql-deployment-load-balancer/pgsql-service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
labels:
88
app: postgresdb
99
spec:
10-
type: LoadBalancer
10+
type: ClusterIP
1111
ports:
1212
- port: 5432
1313
selector:

0 commit comments

Comments
 (0)