Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
91ab64a
install rabbit crd script
kolosovpetro Apr 15, 2026
8eca9ea
rabbit uninstall script
kolosovpetro Apr 15, 2026
4ce32a2
azure devops library terraform | platform
kolosovpetro Apr 15, 2026
743d79a
terraform pipelines
kolosovpetro Apr 15, 2026
aedcff4
terraform pipelines | docs
kolosovpetro Apr 15, 2026
f44657e
azdo library docs
kolosovpetro Apr 15, 2026
60b2915
configure platform
kolosovpetro Apr 15, 2026
ae8478a
add library
kolosovpetro Apr 15, 2026
da05fd9
aks settings fix
kolosovpetro Apr 15, 2026
e87469f
fix path
kolosovpetro Apr 15, 2026
1ff3b37
cloudflare update
kolosovpetro Apr 15, 2026
3d148ee
postgres deployment script
kolosovpetro Apr 16, 2026
bab272b
update verify encoding script
kolosovpetro Apr 16, 2026
6801d4d
fix encoding
kolosovpetro Apr 16, 2026
034d43b
auth app helm chart
kolosovpetro Apr 16, 2026
7240823
postgres chart
kolosovpetro Apr 16, 2026
c639cf6
platform pipeline update
kolosovpetro Apr 16, 2026
e385c07
fix script
kolosovpetro Apr 16, 2026
0727f6e
fix service selector
kolosovpetro Apr 16, 2026
94afdc1
consumer app helm chart | deployment
kolosovpetro Apr 16, 2026
77f89c2
cloudflare scripts less verbose
kolosovpetro Apr 16, 2026
ef383fd
sender app helm | platform
kolosovpetro Apr 16, 2026
1bda83e
tf pipelines reduce verbose | tf parallelism
kolosovpetro Apr 17, 2026
ca2a3f9
flux manifest
kolosovpetro Apr 17, 2026
bbff917
choco check
kolosovpetro Apr 17, 2026
4a60bed
install flux | configure for aks
kolosovpetro Apr 17, 2026
4991c45
rename platform pipeline
kolosovpetro Apr 17, 2026
eabdf8b
template reference fix
kolosovpetro Apr 17, 2026
bc37442
add flux repository
kolosovpetro Apr 17, 2026
21bfa7b
helm secrets
kolosovpetro Apr 18, 2026
285efca
helm secrets
kolosovpetro Apr 18, 2026
57d6bc8
helm release name
kolosovpetro Apr 18, 2026
8ed172f
platform flux git repo
kolosovpetro Apr 18, 2026
5493534
flux git repository name
kolosovpetro Apr 18, 2026
81d50ec
appsettings for kube
kolosovpetro Apr 18, 2026
747b68e
disable sonacloud
kolosovpetro Apr 18, 2026
58fd30a
add kube app config
kolosovpetro Apr 18, 2026
b109212
debug pipeline
kolosovpetro Apr 18, 2026
f61857f
debug pipeline
kolosovpetro Apr 18, 2026
1f28be7
debug pipeline
kolosovpetro Apr 18, 2026
4987812
sonarcloud only for main
kolosovpetro Apr 18, 2026
f7ef963
sonarcloud only for main
kolosovpetro Apr 18, 2026
c927350
sonarcloud only for main
kolosovpetro Apr 18, 2026
dbb4046
use condition instead of if
kolosovpetro Apr 18, 2026
404a7f2
add commit hash to docker tag
kolosovpetro Apr 18, 2026
60a0745
add commit hash to docker tag
kolosovpetro Apr 18, 2026
cee8b69
add commit hash to docker tag
kolosovpetro Apr 18, 2026
b624c75
docker build script logs
kolosovpetro Apr 18, 2026
f310d2d
pipelines tag trigger | prepare release
kolosovpetro Apr 18, 2026
522b9f1
disable system debug
kolosovpetro Apr 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
*.lock.info
*.conf
*.txt
terraform-azdo-libraries/.terraform
terraform-azdo-libraries/*.lock.hcl
terraform-azdo-libraries/*.tfvars.json

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
Expand Down
53 changes: 53 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"editor.mouseWheelZoom": true,
"editor.fontSize": 13,
"editor.rulers": [
80
],
"editor.wordWrap": "off",
"window.zoomLevel": 0,
"editor.fontFamily": "JetBrains Mono, Consolas, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.lineHeight": 1.6,
"editor.letterSpacing": 0.2,
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
"[latex]": {
"editor.defaultFormatter": "James-Yu.latex-workshop",
"editor.formatOnSave": true
},
"latex-workshop.formatting.latex": "tex-fmt",
"latex-workshop.latex.autoBuild.run": "never",
"cSpell.language": "en",
"cSpell.enabled": true,
"cSpell.words": [
"Bohner",
"Butzer",
"Cereceda",
"choco",
"Creds",
"DOCKERHUB",
"Eulerian",
"eventtriangleapi",
"Faulhaber",
"fluxcd",
"gitversion",
"howpublished",
"Kolosov",
"Mathematica",
"OEIS",
"opencover",
"ORCID",
"pandoc",
"Postge",
"Principia",
"Refactorization",
"Riordan",
"SOURCEBRANCHNAME",
"tabl",
"updatebuildnumber",
"vstest",
"Worpitzky",
"Zenodo"
]
}
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning v2.0.0](https://semver.org/spec/v2.0.0.html).

## [1.0.0] - In Progress
## [1.0.0] - 18-Apr-2026

### Changed

Expand Down Expand Up @@ -46,3 +46,12 @@ and this project adheres to [Semantic Versioning v2.0.0](https://semver.org/spec
- Platform: Change PostgeSQL to be cluster IP
- Disable terraform log info
- Add AKS node pool name
- Platform updates
- Azure DevOps library terraform
- Wrap platform postgres deployment to powershell script
- Update verify encoding script
- Rename platform pipeline
- Run SonarCloud scan only if source branch is main (add if condition)
- For Docker CI/CD build: add one more tag with short commit sha
- Add build pipelines trigger on tag
- Docker script add logs
7 changes: 4 additions & 3 deletions azure-pipelines/build/build-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ trigger:
branches:
include:
- main
tags:
include:
- v*

pr: none

Expand All @@ -25,8 +28,7 @@ stages:
solution: '$(System.DefaultWorkingDirectory)/EventTriangleAPI.sln'
buildConfiguration: 'Release'
backendProjectPath: '$(System.DefaultWorkingDirectory)/src/authorization/EventTriangleAPI.Authorization.Presentation'
unitTestsProjectPath: '$(System.DefaultWorkingDirectory)/src/authorization/EventTriangleAPI.Authorization.UnitTests/EventTriangleAPI.Authorization.UnitTests.csproj'
shouldRunUnitTests: true
shouldRunUnitTests: false
shouldRunIntegrationTests: true
integrationTestsProjectPath: '$(System.DefaultWorkingDirectory)/src/authorization/EventTriangleAPI.Authorization.IntegrationTests/EventTriangleAPI.Authorization.IntegrationTests.csproj'
dockerRegistryUrl: 'docker.io/kaminome'
Expand All @@ -37,5 +39,4 @@ stages:
shouldPushToAcr: true
acrRegistryUrl: 'acrsharedd01.azurecr.io'
acrServiceConnection: 'Azure_ACR_Connection'
sonarCloudEnabled: true
workingDirectoryForDocker: '$(System.DefaultWorkingDirectory)/src'
4 changes: 3 additions & 1 deletion azure-pipelines/build/build-consumer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ trigger:
branches:
include:
- main
tags:
include:
- v*

pr: none

Expand Down Expand Up @@ -36,5 +39,4 @@ stages:
shouldPushToAcr: true
acrRegistryUrl: 'acrsharedd01.azurecr.io'
acrServiceConnection: 'Azure_ACR_Connection'
sonarCloudEnabled: false
workingDirectoryForDocker: '$(System.DefaultWorkingDirectory)/src'
4 changes: 3 additions & 1 deletion azure-pipelines/build/build-sender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ trigger:
branches:
include:
- main
tags:
include:
- v*

pr: none

Expand Down Expand Up @@ -36,5 +39,4 @@ stages:
shouldPushToAcr: true
acrRegistryUrl: 'acrsharedd01.azurecr.io'
acrServiceConnection: 'Azure_ACR_Connection'
sonarCloudEnabled: false
workingDirectoryForDocker: '$(System.DefaultWorkingDirectory)/src'
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,27 @@ trigger: none
pr: none

variables:
- group: Azure_Terraform_Integration
- group: Postgres_Rabbit_Connection_Credentials
- group: Terraform_Auto_Tfvars_Json_Transform
- group: Terraform_Azure_Credentials
- group: Cloudflare_API_Key
- group: Postgres_Settings
- group: Redis_Credentials
- group: AKS_Settings
- group: Cloudflare_configuration
- group: Prefix_Library
- group: Entra_ID_Auth_Secret
- name: System.Debug
value: 'false'

stages:
- template: ../templates/configure-cluster-stages.yml
- template: ../templates/configure-platform-stages.yml
parameters:
vmImage: windows-latest
environment: aks
environment: dev
workingDirectory: $(System.DefaultWorkingDirectory)/platform
serviceConnection: Azure_Connection
azureResourceGroup: $(library-aks-resource-group)
kubernetesCluster: $(library-aks-cluster-name)
namespace: 'event-triangle'
rabbitMqUser: $(library-rabbitmq-user)
rabbitMqPassword: $(library-rabbitmq-password)
namespace: $(library-aks-namespace)
cloudflareApiKey: $(cloudflare-api-key)
cloudflareZone: $(cloudflare-zone-name)
redisPassword: $(library-redis-password)
transformTargetFiles: |
secrets/connection-secrets.yaml
entraIdAuthSecret: $(library-entra-id-auth-secret)
7 changes: 5 additions & 2 deletions azure-pipelines/infrastructure/terraform-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ trigger: none
pr: none

variables:
- group: Azure_Terraform_Integration
- group: Terraform_Azure_Credentials
- group: Terraform_Backend_StateFile_Settings
- group: Terraform_Auto_Tfvars_Json_Transform
- group: AKS_Settings
- group: Prefix_Library
Expand All @@ -26,6 +27,8 @@ variables:
value: "Terraform_Plan"
- name: applyStageName
value: "Terraform_Apply"
# - name: TF_LOG
# value: 'INFO'

stages:
- template: ../templates/terraform-plan-stages.yml
Expand Down Expand Up @@ -59,6 +62,6 @@ stages:
clientId: $(library-client-id)
clientSecret: $(library-client-secret)
tenantId: $(library-tenant-id)
environment: 'aks'
environment: dev
dependsOn: [ '${{ variables.planStageName }}' ]
condition: ${{ variables.planStageName }}
9 changes: 6 additions & 3 deletions azure-pipelines/infrastructure/terraform-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,19 @@ trigger: none
pr: none

variables:
- group: Azure_Terraform_Integration
- group: Terraform_Azure_Credentials
- group: Terraform_Backend_StateFile_Settings
- group: Terraform_Auto_Tfvars_Json_Transform
- group: Prefix_Library
- group: AKS_Settings
- group: Prefix_Library
- name: System.Debug
value: 'false'
- name: planStageName
value: "Terraform_Plan_Destroy"
- name: applyStageName
value: "Terraform_Destroy"
# - name: TF_LOG
# value: 'INFO'

stages:
- template: ../templates/terraform-plan-stages.yml
Expand Down Expand Up @@ -54,6 +57,6 @@ stages:
clientId: $(library-client-id)
clientSecret: $(library-client-secret)
tenantId: $(library-tenant-id)
environment: 'aks'
environment: dev
dependsOn: [ '${{ variables.planStageName }}' ]
condition: ${{ variables.planStageName }}
4 changes: 1 addition & 3 deletions azure-pipelines/pr-validation/pr-validation-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ stages:
solution: '$(System.DefaultWorkingDirectory)/EventTriangleAPI.sln'
buildConfiguration: 'Release'
backendProjectPath: '$(System.DefaultWorkingDirectory)/src/authorization/EventTriangleAPI.Authorization.Presentation'
unitTestsProjectPath: '$(System.DefaultWorkingDirectory)/src/authorization/EventTriangleAPI.Authorization.UnitTests/EventTriangleAPI.Authorization.UnitTests.csproj'
shouldRunUnitTests: true
shouldRunUnitTests: false
shouldRunIntegrationTests: true
integrationTestsProjectPath: '$(System.DefaultWorkingDirectory)/src/authorization/EventTriangleAPI.Authorization.IntegrationTests/EventTriangleAPI.Authorization.IntegrationTests.csproj'
dockerRegistryUrl: 'docker.io/kaminome'
Expand All @@ -47,5 +46,4 @@ stages:
shouldPushToAcr: true
acrRegistryUrl: 'acrsharedd01.azurecr.io'
acrServiceConnection: 'Azure_ACR_Connection'
sonarCloudEnabled: false
workingDirectoryForDocker: '$(System.DefaultWorkingDirectory)/src'
1 change: 0 additions & 1 deletion azure-pipelines/pr-validation/pr-validation-consumer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,4 @@ stages:
shouldPushToAcr: true
acrRegistryUrl: 'acrsharedd01.azurecr.io'
acrServiceConnection: 'Azure_ACR_Connection'
sonarCloudEnabled: false
workingDirectoryForDocker: '$(System.DefaultWorkingDirectory)/src'
1 change: 0 additions & 1 deletion azure-pipelines/pr-validation/pr-validation-sender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,4 @@ stages:
shouldPushToAcr: true
acrRegistryUrl: 'acrsharedd01.azurecr.io'
acrServiceConnection: 'Azure_ACR_Connection'
sonarCloudEnabled: false
workingDirectoryForDocker: '$(System.DefaultWorkingDirectory)/src'
Loading