diff --git a/.github/workflows/chat-tests.yml b/.github/workflows/chat-tests.yml index 887a048672..d0d5b89f4a 100644 --- a/.github/workflows/chat-tests.yml +++ b/.github/workflows/chat-tests.yml @@ -11,7 +11,7 @@ on: - '.github/workflows/**' jobs: build-test: - runs-on: ubuntu-latest + runs-on: blacksmith-4vcpu-ubuntu-2204| steps: - uses: actions/checkout@v2 - name: Setting up @@ -21,7 +21,7 @@ jobs: - name: Running lint run: yarn --cwd chat build eslint: - runs-on: ubuntu-latest + runs-on: blacksmith-4vcpu-ubuntu-2204| steps: - uses: actions/checkout@v2 - name: Setting up diff --git a/.github/workflows/push-server.yml b/.github/workflows/push-server.yml index 072de97339..3cd1f4a618 100644 --- a/.github/workflows/push-server.yml +++ b/.github/workflows/push-server.yml @@ -1,53 +1,52 @@ name: Create Docker Images -on: - workflow_call: - secrets: - DOCKER_USERNAME: - required: true - DOCKER_PASSWORD: - required: true - workflow_dispatch: - push: - branches: - - 'main' - -jobs: - build_server: - name: Building Server Docker Image - runs-on: ubuntu-latest - steps: - - name: Checkout the repo - uses: actions/checkout@v4 - - - name: Setup buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: Docker meta - id: meta - uses: docker/metadata-action@v5 - with: - # list of Docker images to use as base name for tags - images: | - arguflow/search - tags: | - type=schedule - type=ref,event=branch - type=ref,event=pr - type=sha - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - cache-from: type=gha - cache-to: type=gha,mode=max - context: server/ - file: ./server/Dockerfile.no-ocr - push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} +# on: +# workflow_call: +# secrets: +# DOCKER_USERNAME: +# required: true +# DOCKER_PASSWORD: +# required: true +# workflow_dispatch: +# push: +# branches: +# - 'main' +# +# jobs: +# build_server: +# name: Building Server Docker Image +# steps: +# - name: Checkout the repo +# uses: actions/checkout@v4 +# +# - name: Setup buildx +# uses: docker/setup-buildx-action@v3 +# +# - name: Login to Docker Hub +# uses: docker/login-action@v3 +# with: +# username: ${{ secrets.DOCKER_USERNAME }} +# password: ${{ secrets.DOCKER_PASSWORD }} +# +# - name: Docker meta +# id: meta +# uses: docker/metadata-action@v5 +# with: +# # list of Docker images to use as base name for tags +# images: | +# arguflow/search +# tags: | +# type=schedule +# type=ref,event=branch +# type=ref,event=pr +# type=sha +# +# - name: Build and push Docker image +# uses: docker/build-push-action@v5 +# with: +# cache-from: type=gha +# cache-to: type=gha,mode=max +# context: server/ +# file: ./server/Dockerfile.no-ocr +# push: true +# tags: ${{ steps.meta.outputs.tags }} +# labels: ${{ steps.meta.outputs.labels }} diff --git a/.github/workflows/rust-tests.yml b/.github/workflows/rust-tests.yml index 8250f9ecbe..549ca00f9f 100644 --- a/.github/workflows/rust-tests.yml +++ b/.github/workflows/rust-tests.yml @@ -11,7 +11,7 @@ on: - '.github/workflows/**' jobs: clippy_check: - runs-on: ubuntu-latest + runs-on: blacksmith-4vcpu-ubuntu-2204 steps: - uses: actions/checkout@v1 - run: rustup component add clippy @@ -20,7 +20,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} args: --features runtime-env --manifest-path server/Cargo.toml redoc: - runs-on: ubuntu-latest + runs-on: blacksmith-4vcpu-ubuntu-2204 steps: - uses: actions/checkout@v2 - name: Installing Vaccum diff --git a/.github/workflows/search-tests.yml b/.github/workflows/search-tests.yml index a968548831..d2ce8f9832 100644 --- a/.github/workflows/search-tests.yml +++ b/.github/workflows/search-tests.yml @@ -11,7 +11,7 @@ on: - '.github/workflows/**' jobs: build-test: - runs-on: ubuntu-latest + runs-on: blacksmith-4vcpu-ubuntu-2204| steps: - uses: actions/checkout@v2 - name: Setting up @@ -21,7 +21,7 @@ jobs: - name: Running lint run: yarn --cwd search build eslint: - runs-on: ubuntu-latest + runs-on: blacksmith-4vcpu-ubuntu-2204| steps: - uses: actions/checkout@v2 - name: Setting up