Skip to content

Update BFB Search #6904

Update BFB Search

Update BFB Search #6904

name: Update BFB Search
on:
repository_dispatch:
workflow_dispatch:
schedule:
# Every 15 minutes
- cron: "*/15 * * * *"
jobs:
update-bfb-search:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Install tools
run: |
bash -x tools/ci/install-tools.sh
bash -x tools/ci/install-hcloud.sh
- name: Update bfb
run: |
export HCLOUD_TOKEN=${{ secrets.HCLOUD_TOKEN }}
export QDRANT_API_KEY=${{ secrets.QDRANT_API_KEY }}
export QDRANT_CLUSTER_URL=${{ secrets.QDRANT_CLUSTER_URL }}
export QC_NAME="qdrant-$(echo $QDRANT_CLUSTER_URL | sed -E 's~([^.]+)\..*~\1~')"
bash -x tools/run-bfb-search.sh
update-bfb-search-debug-cluster:
if: ${{ vars.ENABLE_DEBUG_CLUSTER == 'true' && ! cancelled() }}
needs: update-bfb-search
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Install tools
run: |
bash -x tools/ci/install-tools.sh
bash -x tools/ci/install-hcloud.sh
- name: Update bfb
run: |
export HCLOUD_TOKEN=${{ secrets.HCLOUD_TOKEN }}
export QDRANT_API_KEY=${{ secrets.QDRANT_API_KEY }}
export QDRANT_CLUSTER_URL=${{ secrets.QDRANT_CLUSTER_URL_2 }}
export QC_NAME="qdrant-$(echo $QDRANT_CLUSTER_URL | sed -E 's~([^.]+)\..*~\1~')"
bash -x tools/run-bfb-search.sh
update-bfb-search-three-cluster:
if: ${{ vars.ENABLE_DEBUG_CLUSTER == 'true' && ! cancelled() }}
needs: update-bfb-search-debug-cluster
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Install tools
run: |
bash -x tools/ci/install-tools.sh
bash -x tools/ci/install-hcloud.sh
- name: Update bfb
run: |
export HCLOUD_TOKEN=${{ secrets.HCLOUD_TOKEN }}
export QDRANT_API_KEY=${{ secrets.QDRANT_API_KEY }}
export QDRANT_CLUSTER_URL=${{ secrets.QDRANT_CLUSTER_URL_3 }}
export QC_NAME="qdrant-$(echo $QDRANT_CLUSTER_URL | sed -E 's~([^.]+)\..*~\1~')"
bash -x tools/run-bfb-search.sh