Skip to content

Commit

Permalink
chore: template network name
Browse files Browse the repository at this point in the history
  • Loading branch information
3benbox committed Jun 19, 2024
1 parent a612e41 commit a32968d
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/run-performance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ jobs:
curl -v -H "Content-Type: application/json" -X POST -d @./message.json "$DISCORD_WEBHOOK_URL_SUCCEEDED"
- name: Wait for simulation to complete
timeout-minutes: ${{ SIMULATION_RUNTIME }}
run: |
set -exo pipefail
sleep ${SIMULATION_RUNTIME}
Expand Down
20 changes: 20 additions & 0 deletions notifications/notification-template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"embeds": [
{
"title": "$SIMULATION_STATUS_TAG",
"description": "[Dashboard](https://threebox.grafana.net/d/adc2vf8f58idcd/keramik-simulation?orgId=1&var-cluster=github-tests-2024&var-simulation=$THIS_TEST_NAMESPACE&from=now-6h&to=now)",
"color": $SIMULATION_COLOR,
"fields": [
{
"name": "Duration",
"value": "$SIMULATION_RUNTIME",
"inline": true
},
{
"name": "Namespace",
"value": "$THIS_TEST_NAMESPACE"
}
]
}
]
}
2 changes: 2 additions & 0 deletions performance/ceramic-new-streams/network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ spec:
version: "0"
monitoring:
namespaced: true
podMonitor:
enabled: true
replicas: 2
4 changes: 2 additions & 2 deletions performance/ceramic-new-streams/simulation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ metadata:
namespace: keramik-ceramic-new-streams
spec:
scenario: ceramic-new-streams
users: 16
runTime: 20
users: 20
runTime: 5
throttleRequests: 100

0 comments on commit a32968d

Please sign in to comment.