Skip to content

Commit

Permalink
Prebuild query service
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed Jan 15, 2025
1 parent bac8090 commit 71f3ce2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/_go-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ jobs:
- name: Setup
uses: ./.github/actions/go
- uses: crazy-max/ghaction-github-runtime@v3
- name: Set up Depot CLI
uses: depot/setup-action@v1
- name: (temp) build rust image
run: |
docker login registry.depot.dev -u x-token -p $DEPOT_TOKEN
depot build --load --file rust/worker/Dockerfile --target query_service .
env:
DEPOT_TOKEN: ${{ secrets.DEPOT_PROJECT_TOKEN }}
- uses: ./.github/actions/tilt
- run: bin/cluster-test.sh bash -c 'cd go && go test -timeout 30s -run ^TestNodeWatcher$ github.com/chroma-core/chroma/go/pkg/memberlist_manager'
- name: Save service logs to artifact
Expand Down
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def format_buildx_command(dockerfile, context = None, target = None):
build_str = 'docker buildx build -t $EXPECTED_REF --file {}'.format(dockerfile)

if os.environ.get('CI'):
build_str += ' --cache-from=type=gha --cache-to=type=gha,mode=max --load'
build_str += ' --load'

if target:
build_str += ' --target {}'.format(target)
Expand Down

0 comments on commit 71f3ce2

Please sign in to comment.