-
Notifications
You must be signed in to change notification settings - Fork 44
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
3 changed files
with
61 additions
and
11 deletions.
There are no files selected for viewing
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,34 @@ | ||
on: | ||
push: | ||
branches: [main] | ||
paths: | ||
- "!docs" | ||
- "!demo" | ||
|
||
pull_request: | ||
|
||
jobs: | ||
smoke-test: | ||
name: Smoke Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build image | ||
run: | | ||
cd test | ||
docker-compose build | ||
# Note: caikit's and tgis images are fairly large, and if we include cached | ||
# layers, we easily cross the 25GB mark, hence we'll clean up as much | ||
# space as possible to avoid out-of-space failures. | ||
# caikit-tgis-serving image: ~4GB | ||
# text-generation-inference: ~10GB | ||
docker system prune -f | ||
- name: Pull tgis image | ||
run: | | ||
docker pull quay.io/opendatahub/text-generation-inference:stable | ||
- name: Test image | ||
run: | | ||
cd test | ||
bash -x smoke-test.sh | ||
env: | ||
CI: 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
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