Skip to content

Commit

Permalink
update gha cache
Browse files Browse the repository at this point in the history
Signed-off-by: Sertac Ozercan <[email protected]>
  • Loading branch information
sozercan committed Sep 27, 2024
1 parent dacfcd8 commit c1bbd3e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-docker-args.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ jobs:
run: |
docker buildx build . -t aikit:test \
--load --provenance=false --progress plain \
--cache-from=type=gha,scope=aikit \
--cache-to=type=gha,scope=aikit,mode=max
--cache-from=type=gha,scope=aikit-amd64 \
--cache-to=type=gha,scope=aikit-amd64,mode=max
- name: set url
run: |
Expand All @@ -105,8 +105,8 @@ jobs:
docker buildx build -t testmodel:test \
--build-arg="model=$MODEL_URL" \
--load --provenance=false --progress plain \
--cache-from=type=gha,scope=testmodel \
--cache-to=type=gha,scope=testmodel,mode=max \
--cache-from=type=gha,scope=testmodel-${{ matrix.protocol }} \
--cache-to=type=gha,scope=testmodel-${{ matrix.protocol }},mode=max \
"https://raw.githubusercontent.com/${REPO}/${SOURCE_BRANCH}/test/aikitfile-args.yaml"
env:
REPO: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,17 @@ jobs:
run: |
docker buildx build . -t aikit:test \
--load --provenance=false --progress plain \
--cache-from=type=gha,scope=aikit \
--cache-to=type=gha,scope=aikit,mode=max \
--cache-from=type=gha,scope=aikit-${{ matrix.arch }} \
--cache-to=type=gha,scope=aikit-${{ matrix.arch }},mode=max \
--platform linux/${{ matrix.arch }}
- name: build test model
run: |
docker buildx build . -t testmodel:test \
-f test/aikitfile-${{ matrix.backend }}.yaml \
--load --provenance=false --progress plain \
--cache-from=type=gha,scope=testmodel \
--cache-to=type=gha,scope=testmodel,mode=max \
--cache-from=type=gha,scope=testmodel-${{ matrix.arch }} \
--cache-to=type=gha,scope=testmodel-${{ matrix.arch }},mode=max \
--platform linux/${{ matrix.arch }}
- name: list images
Expand Down Expand Up @@ -225,16 +225,16 @@ jobs:
run: |
docker buildx build . -t aikit:test \
--load --provenance=false --progress plain \
--cache-from=type=gha,scope=aikit \
--cache-to=type=gha,scope=aikit,mode=max
--cache-from=type=gha,scope=aikit-amd64 \
--cache-to=type=gha,scope=aikit-amd64,mode=max
- name: build test model
run: |
docker buildx build . -t testmodel:test \
-f test/aikitfile-${{ matrix.protocol }}.yaml \
--load --provenance=false --progress plain \
--cache-from=type=gha,scope=testmodel \
--cache-to=type=gha,scope=testmodel,mode=max
--cache-from=type=gha,scope=testmodel-${{ matrix.protocol }} \
--cache-to=type=gha,scope=testmodel-${{ matrix.protocol }},mode=max
- name: list images
run: docker images
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,16 @@ jobs:
run: |
docker buildx build . -t aikit:test \
--load --provenance=false --progress plain \
--cache-from=type=gha,scope=aikit \
--cache-to=type=gha,scope=aikit,mode=max
--cache-from=type=gha,scope=aikit-amd64 \
--cache-to=type=gha,scope=aikit-amd64,mode=max
- name: build test model
run: |
docker buildx build . -t testmodel:test \
-f test/aikitfile-llama.yaml \
--load --provenance=false --progress plain \
--cache-from=type=gha,scope=testmodel \
--cache-to=type=gha,scope=testmodel,mode=max
--cache-from=type=gha,scope=testmodel-amd64 \
--cache-to=type=gha,scope=testmodel-amd64,mode=max
- name: list images
run: docker images
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,16 @@ jobs:
run: |
docker buildx build . -t aikit:test \
--load --provenance=false --progress plain \
--cache-from=type=gha,scope=aikit \
--cache-to=type=gha,scope=aikit,mode=max
--cache-from=type=gha,scope=aikit-amd64 \
--cache-to=type=gha,scope=aikit-amd64,mode=max
- name: build test model
run: |
docker buildx build . -t testmodel:test \
-f test/aikitfile-llama.yaml \
--load --provenance=false --progress plain \
--cache-from=type=gha,scope=testmodel \
--cache-to=type=gha,scope=testmodel,mode=max
--cache-from=type=gha,scope=testmodel-amd64 \
--cache-to=type=gha,scope=testmodel-amd64,mode=max
- name: list images
run: docker images
Expand Down

0 comments on commit c1bbd3e

Please sign in to comment.