mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-29 13:25:50 +02:00
test self hosted runner (#2541)
* test self hosted runner * update more docker builds with self hosted runner * convert everything to runs-on (except web container)
This commit is contained in:
@@ -10,9 +10,9 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
# TODO: make this a matrix build like the web containers
|
# TODO: investigate a matrix build like the web container
|
||||||
runs-on:
|
# See https://runs-on.com/runners/linux/
|
||||||
group: amd64-image-builders
|
runs-on: [runs-on,runner=8cpu-linux-x64,"run-id=${{ github.run_id }}"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
@@ -7,8 +7,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on:
|
# See https://runs-on.com/runners/linux/
|
||||||
group: amd64-image-builders
|
runs-on: [runs-on,runner=8cpu-linux-x64,"run-id=${{ github.run_id }}"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
4
.github/workflows/docker-tag-latest.yml
vendored
4
.github/workflows/docker-tag-latest.yml
vendored
@@ -9,7 +9,9 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tag:
|
tag:
|
||||||
runs-on: ubuntu-latest
|
# See https://runs-on.com/runners/linux/
|
||||||
|
# use a lower powered instance since this just does i/o to docker hub
|
||||||
|
runs-on: [runs-on,runner=2cpu-linux-x64,"run-id=${{ github.run_id }}"]
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
@@ -12,7 +12,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-test:
|
lint-test:
|
||||||
runs-on: Amd64
|
# See https://runs-on.com/runners/linux/
|
||||||
|
runs-on: [runs-on,runner=8cpu-linux-x64,hdd=256,"run-id=${{ github.run_id }}"]
|
||||||
|
|
||||||
# fetch-depth 0 is required for helm/chart-testing-action
|
# fetch-depth 0 is required for helm/chart-testing-action
|
||||||
steps:
|
steps:
|
||||||
|
3
.github/workflows/pr-python-checks.yml
vendored
3
.github/workflows/pr-python-checks.yml
vendored
@@ -7,7 +7,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
mypy-check:
|
mypy-check:
|
||||||
runs-on: ubuntu-latest
|
# See https://runs-on.com/runners/linux/
|
||||||
|
runs-on: [runs-on,runner=8cpu-linux-x64,"run-id=${{ github.run_id }}"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
@@ -18,7 +18,8 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
connectors-check:
|
connectors-check:
|
||||||
runs-on: ubuntu-latest
|
# See https://runs-on.com/runners/linux/
|
||||||
|
runs-on: [runs-on,runner=8cpu-linux-x64,"run-id=${{ github.run_id }}"]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PYTHONPATH: ./backend
|
PYTHONPATH: ./backend
|
||||||
|
3
.github/workflows/pr-python-tests.yml
vendored
3
.github/workflows/pr-python-tests.yml
vendored
@@ -7,7 +7,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
backend-check:
|
backend-check:
|
||||||
runs-on: ubuntu-latest
|
# See https://runs-on.com/runners/linux/
|
||||||
|
runs-on: [runs-on,runner=8cpu-linux-x64,"run-id=${{ github.run_id }}"]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PYTHONPATH: ./backend
|
PYTHONPATH: ./backend
|
||||||
|
3
.github/workflows/pr-quality-checks.yml
vendored
3
.github/workflows/pr-quality-checks.yml
vendored
@@ -9,7 +9,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
quality-checks:
|
quality-checks:
|
||||||
runs-on: ubuntu-latest
|
# See https://runs-on.com/runners/linux/
|
||||||
|
runs-on: [runs-on,runner=8cpu-linux-x64,"run-id=${{ github.run_id }}"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
3
.github/workflows/run-it.yml
vendored
3
.github/workflows/run-it.yml
vendored
@@ -13,7 +13,8 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
integration-tests:
|
integration-tests:
|
||||||
runs-on: Amd64
|
# See https://runs-on.com/runners/linux/
|
||||||
|
runs-on: [runs-on,runner=8cpu-linux-x64,"run-id=${{ github.run_id }}"]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
Reference in New Issue
Block a user