From 55e49fbd4b05ab2137e87a1ed34dc0f33ed5aff0 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 28 Nov 2023 15:27:12 +0100 Subject: [PATCH] migrate tests on ubicloud --- .github/workflows/backend-test.yml | 7 ++++--- .github/workflows/clean-docker.yml | 13 ------------- 2 files changed, 4 insertions(+), 16 deletions(-) delete mode 100644 .github/workflows/clean-docker.yml diff --git a/.github/workflows/backend-test.yml b/.github/workflows/backend-test.yml index 64f47205e4..cbb77ee4b7 100644 --- a/.github/workflows/backend-test.yml +++ b/.github/workflows/backend-test.yml @@ -15,7 +15,7 @@ on: jobs: cargo_test: - runs-on: [self-hosted, new] + runs-on: ubicloud container: image: ghcr.io/windmill-labs/backend-tests services: @@ -41,5 +41,6 @@ jobs: run: mkdir frontend/build && cd backend && touch windmill-api/openapi-deref.yaml && - DATABASE_URL=postgres://postgres:changeme@postgres:5432/windmill DISABLE_EMBEDDING=true cargo - test --features enterprise --all -- --nocapture + DATABASE_URL=postgres://postgres:changeme@postgres:5432/windmill + DISABLE_EMBEDDING=true cargo test --features enterprise --all -- + --nocapture diff --git a/.github/workflows/clean-docker.yml b/.github/workflows/clean-docker.yml deleted file mode 100644 index e1120b3aa1..0000000000 --- a/.github/workflows/clean-docker.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Clean docker -on: - schedule: - # * is a special character in YAML so you have to quote this string - - cron: "0 0 */2 * *" - -jobs: - build: - runs-on: [self-hosted, new] - steps: - - name: clean docker - run: | - sudo docker system prune -f