This repository has been archived by the owner on Jul 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
547 additions
and
402 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: pytest | ||
on: [pull_request] | ||
|
||
jobs: | ||
pytest: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version-file: 'pyproject.toml' | ||
|
||
- name: Run Repeater | ||
run: docker run -p 50051:50051 -d ghcr.io/defenseunicorns/leapfrogai/repeater:0.3.3 | ||
|
||
- run: make requirements-dev | ||
|
||
- run: make test | ||
env: | ||
LFAI_RUN_REPEATER_TESTS: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Test Package Deployment | ||
on: | ||
pull_request | ||
|
||
jobs: | ||
e2e-build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Zarf | ||
uses: defenseunicorns/setup-zarf@main | ||
with: | ||
download-init-package: true | ||
|
||
- name: Login to Registry1 | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: registry1.dso.mil | ||
username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }} | ||
password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} | ||
|
||
- name: Build leapfrogai image | ||
run: make docker-build VERSION=local | ||
|
||
- name: Build leapfrogai zarf package | ||
run: make zarf-build VERSION=local | ||
|
||
- name: Setup K3D | ||
uses: defenseunicorns/zarf/.github/actions/k3d@main | ||
|
||
- name: Initialize zarf | ||
run: zarf init --confirm | ||
|
||
- name: Deploy LFAI Package | ||
run: zarf package deploy zarf-package-leapfrogai-api-amd64*.tar.zst --confirm | ||
|
||
- name: Debug Deployment | ||
run: | | ||
zarf package list | ||
zarf connect list | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
models: | ||
- name: repeater | ||
backend: localhost:50051 |
File renamed without changes.
Oops, something went wrong.