Skip to content

Commit

Permalink
Update workflow.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffrey1330 authored Aug 30, 2023
1 parent 6ba19f6 commit 8f32dc1
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,24 @@ jobs:
env:
TF_VAR_aws_region: us-east-1

- name: Test Step (Add Your Test Command)
- name: Install Helm
run: |
# Add your test command here
echo "Running tests..."
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
- name: Clean up
- name: Add Prometheus and Grafana Helm Repositories
run: |
cd eks_cluster
terraform destroy -auto-approve
env:
TF_VAR_aws_region: us-east-1
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add grafana https://grafana.github.io/helm-charts
- name: Clean up ECR
- name: Deploy Prometheus
run: |
cd ecr
terraform destroy -auto-approve
env:
TF_VAR_aws_region: us-east-1
helm install prometheus prometheus-community/prometheus -f helm/prometheus-values.yaml
- name: Deploy Grafana
run: |
helm install grafana grafana/grafana -f helm/grafana-values.yaml
- name: Test Step (Add Your Test Command)
run: |
# Add your test command here
echo "Running tests..."

0 comments on commit 8f32dc1

Please sign in to comment.