Skip to content

Commit

Permalink
Revert "Merge branch '601-testing-rigor-vector-store' into 419-runs-e…
Browse files Browse the repository at this point in the history
…ndpoints-420-run-steps-endpoints"

This reverts commit 82a6b2b, reversing
changes made to d517bef.
  • Loading branch information
CollectiveUnicorn committed Jun 13, 2024
1 parent 9fca5cc commit 760d07b
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 194 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
rm packages/supabase/zarf-package-supabase-amd64-e2e-test.tar.zst
- name: Set environment variable
id: set-env-api-key
id: set-env-var
run: |
echo "ANON_KEY=$(uds zarf tools kubectl get secret supabase-bootstrap-jwt -n leapfrogai -o jsonpath='{.data.anon-key}' | base64 -d)" >> "$GITHUB_ENV"
Expand All @@ -101,11 +101,6 @@ jobs:
docker image prune -af
uds zarf package deploy packages/api/zarf-package-leapfrogai-api-amd64-e2e-test.tar.zst --set=EXPOSE_OPENAPI_SCHEMA=true --confirm
rm packages/api/zarf-package-leapfrogai-api-amd64-e2e-test.tar.zst
- name: Set environment variable
id: set-env-anon-key
run: |
echo "ANON_KEY=$(uds zarf tools kubectl get secret supabase-bootstrap-jwt -n leapfrogai -o jsonpath='{.data.anon-key}' | base64 -d)" >> "$GITHUB_ENV"
- name: Test API
run: |
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,3 @@ vocabulary.json

# go binaries
api/main

.jwt
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,3 @@ build-cpu: build-supabase build-api build-ui build-llama-cpp-python build-text-e
build-gpu: build-supabase build-api build-ui build-vllm build-text-embeddings build-whisper ## Build all zarf packages for a gpu-enabled deployment of LFAI

build-all: build-cpu build-gpu ## Build all of the LFAI packages

include make-supabase.mk
include make-tests.mk
29 changes: 0 additions & 29 deletions make-supabase.mk

This file was deleted.

3 changes: 0 additions & 3 deletions make-tests.mk

This file was deleted.

5 changes: 5 additions & 0 deletions src/leapfrogai_api/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
SHELL := /bin/bash


export SUPABASE_URL=$(shell supabase status | grep -oP '(?<=API URL: ).*')
export SUPABASE_ANON_KEY=$(shell supabase status | grep -oP '(?<=anon key: ).*')

install:
python -m pip install ../../src/leapfrogai_sdk
Expand Down
14 changes: 0 additions & 14 deletions tests/conftest.py

This file was deleted.

37 changes: 0 additions & 37 deletions tests/mocks/mock_crud_base.py

This file was deleted.

84 changes: 0 additions & 84 deletions tests/unit/leapfrogai_api/data/test_crud_base.py

This file was deleted.

16 changes: 0 additions & 16 deletions tests/utils/crud_utils.py

This file was deleted.

0 comments on commit 760d07b

Please sign in to comment.