Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10x the spam we are doing on dusk-7 for testing purposes #24

Merged
merged 18 commits into from
Jun 7, 2024
Merged
Binary file removed .github/resources/goomy.png
Binary file not shown.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ jobs:
push: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'astriaorg/spamooor' }}
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
project: ${{ inputs.depot-project-id }}
project: ${{ inputs.depot-project-id }}
2 changes: 1 addition & 1 deletion argocd/app/app-spamooor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ spec:
labels:
argocd.argoproj.io/instance: spamooor
annotations:
argocd.argoproj.io/tracking-id: spamooor/Namespace:spamooor-cronjobs
argocd.argoproj.io/tracking-id: spamooor/Namespace:spamooor-cronjobs
2 changes: 1 addition & 1 deletion charts/spamooor-cronjobs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 0.1.0
description: A Helm chart for Kubernetes
name: spamooor-cronjobs
type: application
version: 0.1.3
version: 0.1.4

maintainers:
- name: bharath-123
Expand Down
40 changes: 20 additions & 20 deletions charts/spamooor-cronjobs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- "--max-pending"
- "100"
- "--count"
- "1000"
- "10000"
- "--timeout"
- "60"
resources:
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- "--max-pending"
- "100"
- "--count"
- "1000"
- "10000"
- "--timeout"
- "60"
resources:
Expand All @@ -77,7 +77,7 @@ jobs:
successfulJobsHistoryLimit: 1
concurrencyPolicy: Forbid
restartPolicy: Never
univ2txsjob:
gasburnertxsjob:
securityContext:
runAsUser: 1000
runAsGroup: 1000
Expand All @@ -86,23 +86,24 @@ jobs:
repository: ghcr.io/astriaorg/spamooor
tag: latest
imagePullPolicy: Always
# run every 10mins
schedule: "*/25 * * * *"
schedule: "*/30 * * * *"
command: ["/app/spamooor"]
args:
- "--privkey"
- "64b947d57a7e2633b109875ca71acf13fe8c11237b55616ef87d4a1b907133c8"
- "57b5fb1ad7f7e0d6e2a085ef7cc761c0576d23760d0bc0db7f1368bd14836e0e"
- "--rpchost"
- "https://rpc.evm.dusk-7.devnet.astria.org" # Alternatively: <service-name>.<namespace>.svc.cluster.local:<service-port>
- "univ2tx"
- "gasburnertx"
- "--max-wallets"
- "10"
- "--throughput"
- "100"
- "5"
- "--max-pending"
- "100"
- "5"
- "--count"
- "1000"
- "100"
- "--gas-units-to-burn"
- "5000000"
- "--timeout"
- "60"
resources:
Expand All @@ -116,7 +117,7 @@ jobs:
successfulJobsHistoryLimit: 1
concurrencyPolicy: Forbid
restartPolicy: Never
gasburnertxsjob:
univ2txsjob:
securityContext:
runAsUser: 1000
runAsGroup: 1000
Expand All @@ -125,24 +126,23 @@ jobs:
repository: ghcr.io/astriaorg/spamooor
tag: latest
imagePullPolicy: Always
schedule: "*/30 * * * *"
# run every 10mins
schedule: "*/25 * * * *"
command: ["/app/spamooor"]
args:
- "--privkey"
- "57b5fb1ad7f7e0d6e2a085ef7cc761c0576d23760d0bc0db7f1368bd14836e0e"
- "64b947d57a7e2633b109875ca71acf13fe8c11237b55616ef87d4a1b907133c8"
- "--rpchost"
- "https://rpc.evm.dusk-7.devnet.astria.org" # Alternatively: <service-name>.<namespace>.svc.cluster.local:<service-port>
- "gasburnertx"
- "univ2tx"
- "--max-wallets"
- "10"
- "--throughput"
- "5"
- "100"
- "--max-pending"
- "5"
- "100"
- "--count"
- "5"
- "--gas-units-to-burn"
- "5000000"
- "10000"
- "--timeout"
- "60"
resources:
Expand All @@ -153,6 +153,6 @@ jobs:
cpu: 50m
memory: 256Mi
failedJobsHistoryLimit: 1
successfulJobsHistoryLimit: 1
successfulJobsHistoryLimit: 3
concurrencyPolicy: Forbid
restartPolicy: Never