From 358e3c4c6d5c327dbd6d49f1d2eb2ee9ed9723ba Mon Sep 17 00:00:00 2001 From: Jonathan Chang Date: Tue, 17 Dec 2024 17:12:06 -0800 Subject: [PATCH] edit svc-pipeline.yaml --- dev-infrastructure/svc-pipeline.yaml | 56 ++++++++++++++-------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/dev-infrastructure/svc-pipeline.yaml b/dev-infrastructure/svc-pipeline.yaml index 697ec6913..211e7e0e5 100644 --- a/dev-infrastructure/svc-pipeline.yaml +++ b/dev-infrastructure/svc-pipeline.yaml @@ -6,32 +6,32 @@ resourceGroups: subscription: {{ .svc.subscription }} aksCluster: {{ .aksName }} steps: - # - name: svc-infra - # action: ARM - # template: templates/svc-infra.bicep - # parameters: configurations/svc-infra.tmpl.bicepparam - # - name: svc - # action: ARM - # template: templates/svc-cluster.bicep - # parameters: configurations/svc-cluster.tmpl.bicepparam - # dependsOn: - # - svc-infra - # - name: enable-metrics - # action: Shell - # command: scripts/enable-aks-metrics.sh - # variables: - # - name: RESOURCEGROUP - # configRef: svc.rg - # - name: AKS_NAME - # configRef: aksName - # - name: GRAFANA_RESOURCEGROUP - # configRef: regionRG - # - name: MONITORING_WORKSPACE_NAME - # configRef: monitoring.workspaceName - # - name: GRAFANA_NAME - # configRef: monitoring.grafanaName - # dependsOn: - # - svc + - name: svc-infra + action: ARM + template: templates/svc-infra.bicep + parameters: configurations/svc-infra.tmpl.bicepparam + - name: svc + action: ARM + template: templates/svc-cluster.bicep + parameters: configurations/svc-cluster.tmpl.bicepparam + dependsOn: + - svc-infra + - name: enable-metrics + action: Shell + command: scripts/enable-aks-metrics.sh + variables: + - name: RESOURCEGROUP + configRef: svc.rg + - name: AKS_NAME + configRef: aksName + - name: GRAFANA_RESOURCEGROUP + configRef: regionRG + - name: MONITORING_WORKSPACE_NAME + configRef: monitoring.workspaceName + - name: GRAFANA_NAME + configRef: monitoring.grafanaName + dependsOn: + - svc - name: istio action: Shell command: scripts/istio.sh @@ -46,5 +46,5 @@ resourceGroups: configRef: svc.istio.url - name: TAG configRef: svc.istio.tag - # dependsOn: - # - svc + dependsOn: + - enable-metrics