Skip to content

Commit

Permalink
Merge pull request #280 from Aymanhki/ayman
Browse files Browse the repository at this point in the history
Added load testing to ci-cd 4
  • Loading branch information
Aymanhki authored Mar 21, 2024
2 parents 4b29942 + de2c6c7 commit b1ede3f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/CI-CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -316,14 +316,17 @@ jobs:
mv epoch_tests_results Epoch/
cd Epoch/
git add epoch_tests_results
git commit -m "Load Test results for $(curl -s "https://registry.hub.docker.com/v2/repositories/$DOCKER_USERNAME/epoch_frontend/tags/?page_size=1" | jq -r '.results[0].name')_$(date +%Y-%m-%d_%H-%M-%S).csv"
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git commit -m "Load Test results for $(curl -s "https://registry.hub.docker.com/v2/repositories/$DOCKER_USERNAME/epoch_backend/tags/?page_size=1" | jq -r '.results[0].name')_$(date +%Y-%m-%d_%H-%M-%S).csv"
git config --global user.email $EMAIL
git config --global user.name $NAME
git push origin main
exit
EOF
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
GIT_PAT: ${{ secrets.GIT_PAT }}
EMAIL: ${{ secrets.EMAIL }}
NAME: ${{ secrets.NAME }}



0 comments on commit b1ede3f

Please sign in to comment.