Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Commit fd6f255

Browse files
committed
move tests from one workflow to the other
1 parent ddde5f2 commit fd6f255

File tree

2 files changed

+28
-34
lines changed

2 files changed

+28
-34
lines changed

.github/workflows/e2e-1.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: e2e_tests_1
1+
name: e2e-1
22
on:
33
pull_request:
44
types:
@@ -137,3 +137,12 @@ jobs:
137137
- name: Cleanup UI
138138
run: |
139139
uds zarf package remove leapfrogai-ui --confirm
140+
141+
##########
142+
# vLLM
143+
# NOTE: We are not deploying and testing vLLM in this workflow because it requires a GPU
144+
# : This workflow simply verifies that the vLLM package can be built
145+
##########
146+
- name: Build vLLM
147+
run: |
148+
make build-vllm LOCAL_VERSION=e2e-test

.github/workflows/e2e-2.yaml

Lines changed: 18 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: e2e_tests_2
1+
name: e2e-2
22
on:
33
pull_request:
44
types:
@@ -71,27 +71,21 @@ jobs:
7171
run: |
7272
uds deploy k3d-core-slim-dev:0.22.2 --confirm
7373
74-
# ##########
75-
# # Supabase
76-
# ##########
77-
# - name: Deploy Supabase
78-
# run: |
79-
# make build-supabase LOCAL_VERSION=e2e-test
80-
# docker image prune -af
81-
# uds zarf tools kubectl create namespace leapfrogai
82-
# uds zarf package deploy packages/supabase/zarf-package-supabase-amd64-e2e-test.tar.zst --confirm
83-
# rm packages/supabase/zarf-package-supabase-amd64-e2e-test.tar.zst
84-
85-
# - name: Set environment variable
86-
# id: set-env-var
87-
# run: |
88-
# echo "ANON_KEY=$(uds zarf tools kubectl get secret supabase-bootstrap-jwt -n leapfrogai -o jsonpath='{.data.anon-key}' | base64 -d)" >> "$GITHUB_ENV"
89-
90-
# - name: Test Supabase
91-
# run: |
92-
# python -m pip install requests
93-
# python -m pytest ./tests/e2e/test_supabase.py -v
74+
##########
75+
# Supabase
76+
##########
77+
- name: Deploy Supabase
78+
run: |
79+
make build-supabase LOCAL_VERSION=e2e-test
80+
docker image prune -af
81+
uds zarf tools kubectl create namespace leapfrogai
82+
uds zarf package deploy packages/supabase/zarf-package-supabase-amd64-e2e-test.tar.zst --confirm
83+
rm packages/supabase/zarf-package-supabase-amd64-e2e-test.tar.zst
9484
85+
- name: Set environment variable
86+
id: set-env-var
87+
run: |
88+
echo "ANON_KEY=$(uds zarf tools kubectl get secret supabase-bootstrap-jwt -n leapfrogai -o jsonpath='{.data.anon-key}' | base64 -d)" >> "$GITHUB_ENV"
9589
9690
##########
9791
# API
@@ -157,16 +151,7 @@ jobs:
157151
run: |
158152
uds zarf package remove whisper -l=trace --confirm
159153
160-
# # This cleanup may need to be moved/removed when other packages depend on Supabase
161-
# - name: Cleanup Supabase
162-
# run: |
163-
# uds zarf package remove supabase -l=trace --confirm
164-
165-
##########
166-
# vLLM
167-
# NOTE: We are not deploying and testing vLLM in this workflow because it requires a GPU
168-
# : This workflow simply verifies that the vLLM package can be built
169-
##########
170-
- name: Build vLLM
154+
# This cleanup may need to be moved/removed when other packages depend on Supabase
155+
- name: Cleanup Supabase
171156
run: |
172-
make build-vllm LOCAL_VERSION=e2e-test
157+
uds zarf package remove supabase -l=trace --confirm

0 commit comments

Comments
 (0)