Skip to content

Commit

Permalink
Fix python deps for grafana
Browse files Browse the repository at this point in the history
  • Loading branch information
baksetercx committed May 7, 2024
1 parent 724e1e1 commit ffb1c39
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
name: ${{ env.APPLICATION_NAME }}
namespace: ${{ env.SYSTEM_NAMESPACE }}
dockerfile: '.github/test/src/Dockerfile'
severity: 'CRITICAL'
AZURE_CLIENT_ID: ${{ vars.ACR_CLIENT_ID }}

deploy_aks_dev:
Expand Down
3 changes: 2 additions & 1 deletion deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ runs:
run: |
# Add deploy annotiation to Grafana Cloud
git_message="$(git log -1 --no-merges --pretty=%B)"
python3 ${{ github.action_path }}/post-grafana-annotations.py \
pip install -r '${{ github.action_path }}/requirements.txt'
python '${{ github.action_path }}/post-grafana-annotations.py' \
--what 'Deploy ${{ job.status }} - ' \
--data "$GITHUB_RUN_ID $git_message <a href="https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID">Link</a>" \
--tags '{app: ${{ inputs.name }}, system: ${{ inputs.namespace }}, env: ${{ inputs.environment }}, event: deploy}' \
Expand Down
2 changes: 2 additions & 0 deletions deploy/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pyyaml
requests

0 comments on commit ffb1c39

Please sign in to comment.