Skip to content

Commit

Permalink
Merge pull request #188 from Arquisoft/monitoring
Browse files Browse the repository at this point in the history
Added Grafana and Prometheus to Release
  • Loading branch information
Raulms29 authored Apr 24, 2024
2 parents 1b67c91 + 5c82c97 commit 1cb9fcb
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,48 @@ jobs:
registry: ghcr.io
workdir: gatewayservice
buildargs: GATEWAY_URI,WEBAPP_URI

docker-push-prometheus:
name: Push prometheus service Docker Image to Github Packages
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
needs: [e2e-tests]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: arquisoft/wiq_en3b/prometheus
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
workdir: monitoring/prometheus

docker-push-grafana:
name: Push grafana service Docker Image to Github Packages
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
needs: [e2e-tests]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: arquisoft/wiq_en3b/grafana
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
workdir: monitoring/grafana


deploy:
name: Deploy over SSH
runs-on: ubuntu-latest
needs: [docker-push-userservice, docker-push-authservice, docker-push-questionservice, docker-push-gatewayservice,docker-push-webapp]
needs: [docker-push-userservice, docker-push-authservice, docker-push-questionservice, docker-push-gatewayservice,docker-push-webapp,docker-push-prometheus,docker-push-grafana]
steps:
- name: Deploy over SSH
uses: fifsky/ssh-action@master
Expand Down

0 comments on commit 1cb9fcb

Please sign in to comment.