Skip to content

Commit

Permalink
updating runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
msciabarra committed Mar 14, 2024
1 parent 6165cea commit 222bf00
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ jobs:
- name: Setup
run: task setup
- name: Build
run: task build
run: task build-and-push
11 changes: 10 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ tasks:
build-common:
dir: "runtime/common/{{.COMMON_VER}}"
cmds:
- docker buildx build -t "{{.COMMON}}" --platform linux/amd64,linux/arm64 . --push
- |
if test -n "{{.PUSH}}"
then {{.DRY}} docker buildx build -t "{{.COMMON}}" --platform linux/amd64,linux/arm64 . --push
else {{.DRY}} docker buildx build -t "{{.COMMON}}" . --load
fi
build-runtime:
requires: { vars: [RT, VER] }
Expand Down Expand Up @@ -80,6 +85,10 @@ tasks:
- task build-lang RT=python
- task build-lang RT=nodejs

build-and-push:
- task: docker-login
- task build PUSH=y

run-runtime:
requires: { vars: [RT, VER] }
dir: "runtime/{{.RT}}/{{.VER}}"
Expand Down
5 changes: 3 additions & 2 deletions runtime/python/v3.11ca/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ boto3==1.28.25
psycopg==3.1.10
pymongo==4.4.1
minio==7.1.16
openai==1.7.1
auth0-python==4.6.0
langchain==0.1.0
openai==1.14.0
langchain==0.1.12
langchain-openai==0.0.8
farm-haystack==1.23.0
nltk==3.8.1
langdetect==1.0.9
Expand Down

0 comments on commit 222bf00

Please sign in to comment.