domain #16
This file contains 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
name: Deploy Monitoring | |
on: | |
push: | |
branches: | |
- main | |
- james/grafana | |
permissions: read-all | |
jobs: | |
deploy_influxdb_dev3: | |
name: Deploy influxdb to dev 3 | |
uses: ./.github/workflows/helm-influxdb.yaml | |
with: | |
environment: dev3 | |
secrets: inherit | |
#if: github.ref == 'refs/heads/main' | |
deploy_grafana_dev3: | |
name: Deploy grafana to dev 3 | |
uses: ./.github/workflows/helm-grafana.yaml | |
with: | |
environment: dev3 | |
secrets: inherit | |
needs: deploy_influxdb_dev3 | |
#if: github.ref == 'refs/heads/main' | |
deploy_snmp_exporter_dev3: | |
name: Deploy snmp exporter to dev 3 | |
uses: ./.github/workflows/helm-snmp_exporter.yaml | |
with: | |
environment: dev3 | |
secrets: inherit | |
needs: deploy_grafana_dev3 | |
#if: github.ref == 'refs/heads/main' | |
deploy_prometheus_dev3: | |
name: Deploy prometheus to dev 3 | |
uses: ./.github/workflows/helm-prometheus.yaml | |
with: | |
environment: dev3 | |
secrets: inherit | |
needs: deploy_snmp_exporter_dev3 | |
#if: github.ref == 'refs/heads/main' | |
# deploy_influxdb_prod1: | |
# name: Deploy influxdb to prod 3 | |
# uses: ./.github/workflows/helm-influxdb.yaml | |
# with: | |
# environment: prod1 | |
# secrets: inherit | |
# needs: deploy_prometheus_dev3 | |
# if: github.ref == 'refs/heads/main' | |
# deploy_grafana_prod1: | |
# name: Deploy grafana to prod 1 | |
# uses: ./.github/workflows/helm-grafana.yaml | |
# with: | |
# environment: prod1 | |
# secrets: inherit | |
# needs: deploy_influxdb_prod1 | |
# if: github.ref == 'refs/heads/main' | |
# deploy_snmp_exporter_prod1: | |
# name: Deploy snmp exporter to prod 1 | |
# uses: ./.github/workflows/helm-snmp_exporter.yaml | |
# with: | |
# environment: prod1 | |
# secrets: inherit | |
# needs: deploy_grafana_prod1 | |
# if: github.ref == 'refs/heads/main' | |
# deploy_prometheus_prod1: | |
# name: Deploy prometheus to prod 1 | |
# uses: ./.github/workflows/helm-prometheus.yaml | |
# with: | |
# environment: prod1 | |
# secrets: inherit | |
# needs: deploy_snmp_exporter_prod1 | |
# if: github.ref == 'refs/heads/main' |