Skip to content

Commit

Permalink
Utkarsh/housekeeping/1 (#4)
Browse files Browse the repository at this point in the history
* update GH action triggers and remove unused templates

Signed-off-by: Utkarsh Srivastava <[email protected]>

* consolidate to scripts and cleanup

Signed-off-by: Utkarsh Srivastava <[email protected]>

* temporarily increase simulation run interval

Signed-off-by: Utkarsh Srivastava <[email protected]>

---------

Signed-off-by: Utkarsh Srivastava <[email protected]>
  • Loading branch information
tangledbytes authored Nov 11, 2023
1 parent fba6bef commit f3f414e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
3 changes: 0 additions & 3 deletions .github/templates/issues/simulation_fail.md

This file was deleted.

3 changes: 0 additions & 3 deletions .github/templates/issues/simulation_timeout.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Simulation Regression Test (Master)

on:
pull_request:
branches:
- master
push:
branches:
- master
Expand All @@ -17,10 +20,4 @@ jobs:
with:
go-version: '1.21.3'
- name: Run simulation on previous issue seeds
run: |
export CPU_PROFILE=0
export HEAP_PROFILE=0
export REPLICA_DEBUG=-1
export CLIENT_DEBUG=-1
export SIMULATOR_DEBUG=0
cat records/regression_seeds | xargs go run ./cmd/simulator
run: bash ./scripts/regression.sh
2 changes: 1 addition & 1 deletion .github/workflows/simulation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Continuous Simulation
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '*/10 * * * *'
- cron: '* */3 * * *'
workflow_dispatch:

jobs:
Expand Down
9 changes: 9 additions & 0 deletions scripts/regression.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

export CPU_PROFILE=0
export HEAP_PROFILE=0
export REPLICA_DEBUG=-1
export CLIENT_DEBUG=-1
export SIMULATOR_DEBUG=0

cat records/regression_seeds | xargs -n 1 go run ./cmd/simulator

0 comments on commit f3f414e

Please sign in to comment.