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

Commit 6366d8f

Browse files
committed
fix pytest
1 parent 2f01de4 commit 6366d8f

File tree

6 files changed

+219
-104
lines changed

6 files changed

+219
-104
lines changed

.github/workflows/pytest.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: pytest
33
on:
44
pull_request:
55
types:
6-
- opened # default trigger
7-
- reopened # default trigger
8-
- synchronize # default trigger
9-
- ready_for_review # don't run on draft PRs
10-
- milestoned # allows us to trigger on bot PRs
6+
- opened # default trigger
7+
- reopened # default trigger
8+
- synchronize # default trigger
9+
- ready_for_review # don't run on draft PRs
10+
- milestoned # allows us to trigger on bot PRs
1111
paths:
1212
- "**"
1313
- "!.github/**"
@@ -58,10 +58,10 @@ jobs:
5858

5959
- name: Setup Repeater
6060
env:
61-
LOCAL_VERSION: e2e-test
61+
VERSION: e2e-test
6262
run: |
63-
make docker-repeater
64-
docker run -p 50051:50051 -d --name=repeater ghcr.io/defenseunicorns/leapfrogai/repeater:$LOCAL_VERSION
63+
uds run create:repeater-image --set VERSION=${VERSION}
64+
uds run deploy:repeater-image --set VERSION=${VERSION}
6565
6666
- name: Run Pytest
6767
run: make test-api-unit
@@ -90,10 +90,10 @@ jobs:
9090

9191
- name: Setup Repeater
9292
env:
93-
LOCAL_VERSION: e2e-test
93+
VERSION: e2e-test
9494
run: |
95-
make docker-repeater
96-
docker run -p 50051:50051 -d --name=repeater ghcr.io/defenseunicorns/leapfrogai/repeater:$LOCAL_VERSION
95+
uds run create:repeater-image --set VERSION=${VERSION}
96+
uds run deploy:repeater-image --set VERSION=${VERSION}
9797
9898
- name: Setup UDS Cluster
9999
uses: ./.github/actions/uds-cluster

packages/k3d-gpu/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@ All system requirements and pre-requisites from the [LeapfrogAI documentation we
1313
### Deployment
1414

1515
> [!NOTE]
16-
> The following Make targets can be executed from the root of the LeapfrogAI repository or within this sub-directory.
16+
> The following UDS Tasks must be executed from the root of the LeapfrogAI repository.
1717
1818
To deploy a new K3d cluster with [UDS Core Slim Dev](https://github.com/defenseunicorns/uds-core#uds-package-development), use one of the following Make targets.
1919

2020
```bash
21-
make create-uds-gpu-cluster # create a uds cluster equipped with the k3d-gpu image
21+
uds run setup:k3d-gpu-cluster-slim # create a uds cluster equipped with the k3d-gpu image
2222

23-
make test-uds-gpu-cluster # deploy a test gpu pod to see if everything is working
23+
uds run test:k3d-gpu-cluster # deploy a test gpu pod to see if everything is working
2424
```
2525

2626
### Local Development
2727

2828
> [!NOTE]
29-
> The following Make targets can be executed from the root of the LeapfrogAI repository or within this sub-directory
29+
> The following UDS Tasks must be executed from the root of the LeapfrogAI repository.
3030
3131
To build **just** the K3s CUDA image for container debugging, use the following Make target.
3232

3333
```bash
34-
make build-k3d-gpu # build the image
34+
uds run create:k3d-gpu-image # build the image
3535
```
3636

3737
## References

tasks.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ includes:
3939
- setup: ./tasks/setup.yaml
4040
- deploy: ./tasks/deploy.yaml
4141
- utils: ./tasks/utils.yaml
42+
- test: ./tasks/test.yaml
4243

4344
tasks:
4445
#######

0 commit comments

Comments
 (0)