Skip to content

Commit

Permalink
fix: Remove mc (#127)
Browse files Browse the repository at this point in the history
* fix: mc setup env vars are not set

* fix: Remove mc
  • Loading branch information
KShivendu authored Apr 17, 2024
1 parent 5343849 commit d3fd49f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/continuous-benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,14 @@ jobs:
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Setup CI
run: bash -x tools/setup_ci.sh
- name: Benches
run: |
export HCLOUD_TOKEN=${{ secrets.HCLOUD_TOKEN }}
export GCS_KEY=${{ secrets.GCS_KEY }}
export GCS_SECRET=${{ secrets.GCS_SECRET }}
export POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}
export POSTGRES_HOST=${{ secrets.POSTGRES_HOST }}
bash -x tools/setup_ci.sh
declare -A DATASET_TO_ENGINE
DATASET_TO_ENGINE["laion-small-clip"]="qdrant-continuous-benchmark"
Expand Down
2 changes: 0 additions & 2 deletions tools/run_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ SCRIPT_PATH=$(dirname "$SCRIPT")

bash -x "${SCRIPT_PATH}/run_remote_benchmark.sh"

./mc cp results/* qdrant/vector-search-engines-benchmark/results/ci/qdrant/

# Upload to postgres
# -t sorts by modification time
export SEARCH_RESULTS_FILE=$(ls -t results/*-search-*.json | head -n 1)
Expand Down
6 changes: 0 additions & 6 deletions tools/setup_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,3 @@ wget https://github.com/hetznercloud/cli/releases/download/${HCVERSION}/hcloud-l
tar xzf hcloud-linux-amd64.tar.gz

sudo mv hcloud /usr/local/bin

# Install mc

wget https://dl.min.io/client/mc/release/linux-amd64/mc
chmod +x mc
./mc alias set qdrant https://storage.googleapis.com "${GCS_KEY}" "${GCS_SECRET}"

0 comments on commit d3fd49f

Please sign in to comment.