diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml new file mode 100644 index 0000000000..4831739966 --- /dev/null +++ b/.github/workflows/benchmark.yml @@ -0,0 +1,34 @@ +name: Run benchmarks + +on: + schedule: + - cron: "0 0 */1 * *" + workflow_dispatch: + +jobs: + benchmark: + runs-on: [self-hosted, new] + services: + postgres: + image: postgres + env: + POSTGRES_DB: windmill + POSTGRES_PASSWORD: changeme + + options: >- + --health-cmd pg_isready --health-interval 10s --health-timeout 5s + --health-retries 5 + windmill: + image: ghcr.io/windmill-labs/windmill:main + env: + DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill + steps: + - uses: denoland/setup-deno@v1 + with: + deno-version: v1.x + - name: benchmark + timeout-minutes: 10 + run: + deno run --unstable -A + https://raw.githubusercontent.com/windmill-labs/windmill/main/benchmarks/benchmark_noop.ts + --host http://windmill:8000 -e admin@windmill.dev -p changeme -j 10000 diff --git a/.github/workflows/docker-mssql.yml b/.github/workflows/docker-mssql.yml index a9d2fcf12a..4f4c3b9deb 100644 --- a/.github/workflows/docker-mssql.yml +++ b/.github/workflows/docker-mssql.yml @@ -3,7 +3,10 @@ env: IMAGE_NAME: ${{ github.repository }} name: Build windmill:mssql -on: workflow_dispatch +on: + workflow_dispatch: + schedule: + - cron: "0 0 */4 * *" concurrency: group: ${{ github.ref }}-mssql