Skip to content

Commit

Permalink
Updated Airflow and OSDU to use master branches by default. (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielscholl authored Aug 30, 2024
1 parent 2906cb4 commit d3cadc6
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ module serviceBlade 'modules/blade_service.bicep' = {
location: location
enableTelemetry: enableTelemetry

osduVersion: clusterSoftware.osduVersion == '' ? 'release-0-27' : clusterSoftware.osduVersion
osduVersion: clusterSoftware.osduVersion == '' ? 'master' : clusterSoftware.osduVersion
enableSoftwareLoad: clusterSoftware.enable == 'false' ? false : true
enableOsduCore: clusterSoftware.osduCore == 'false' ? false : true
enableOsdureference: clusterSoftware.osduReference == 'false' ? false : true
Expand Down
4 changes: 2 additions & 2 deletions bicep/modules/aks_cluster.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ var systemPoolProfile = {
var userPoolPresets = {
Burstable : {
vmSize: 'Standard_B4ms'
minCount: 4
minCount: 5
maxCount: 20
availabilityZones: [
'1'
Expand All @@ -406,7 +406,7 @@ var userPoolPresets = {
}
Standard : {
vmSize: 'Standard_D4s_v5'
minCount: 4
minCount: 5
maxCount: 20
availabilityZones: [
'1'
Expand Down
2 changes: 1 addition & 1 deletion bicep/modules/blade_service.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ param enableOsdureference bool = true
'master'
])
@description('Specify the OSDU version.')
param osduVersion string = 'release-0-27'
param osduVersion string = 'master'

@description('Optional: Specify the AD Users and/or Groups that can manage the cluster.')
param clusterAdminIds array
Expand Down
2 changes: 1 addition & 1 deletion docs/src/feature_flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Software customizations can be managed and modified using the following feature
| ENABLE_SOFTWARE | Disables loading of all software when set to false (True by default) |
| ENABLE_OSDU_CORE | Disables loading of the osdu core services (True by default) |
| ENABLE_OSDU_REFERENCE | Disables loading of the osdu reference services (True by default) |
| SOFTWARE_VERSION | Sets the version (branch) of OSDU to be installed (release/0.27) |
| SOFTWARE_VERSION | Sets the version (branch) of OSDU to be installed (release-0-27) |
| SOFTWARE_REPOSITORY | Customizes the repository location used for software definition |
| SOFTWARE_BRANCH | Customizes the branch used for software definition |

Expand Down
16 changes: 7 additions & 9 deletions software/components/airflow/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@ spec:
pgbouncer:
enabled: false


# Pull DAGS from file share and from a git repo
dags:
gitSync:
enabled: false
repo: 'https://github.com/azure/osdu-developer'
enabled: true
repo: 'https://github.com/azure/osdu-developer.git'
branch: main
wait: 40
subPath: dags
persistence:
enabled: true
existingClaim: airflow-dags-pvc
subPath: dags
# persistence:
# enabled: false
# existingClaim: airflow-dags-pvc
# subPath: dags

logs:
persistence:
Expand All @@ -90,11 +90,9 @@ spec:
triggerer:
logGroomerSidecar:
enabled: false

scheduler:
logGroomerSidecar:
enabled: false

workers:
logGroomerSidecar:
enabled: false
Expand Down
7 changes: 7 additions & 0 deletions stamp/components/kustomize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,13 @@ spec:
path: ./software/components/airflow
prune: true
wait: true
healthChecks:
- kind: Deployment
name: airflow-scheduler
- kind: Deployment
name: airflow-statsd
- kind: Deployment
name: airflow-webserver


######################
Expand Down

0 comments on commit d3cadc6

Please sign in to comment.