Skip to content

Commit

Permalink
Fix deployment configs to use prod db
Browse files Browse the repository at this point in the history
  • Loading branch information
boxbeam committed Feb 2, 2024
1 parent 359f8b7 commit 695b1fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ jobs:
target: x86_64-unknown-linux-gnu
binary: x86_64-manylinux2014
container: quay.io/pypa/manylinux2014_x86_64
build_args: --features static-ssl
build_args: --features static-ssl,prod
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
binary: x86_64-manylinux2014-cuda117
container: sameli/manylinux2014_x86_64_cuda_11.7
build_args: --features static-ssl --features cuda
build_args: --features static-ssl --features cuda,prod
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
binary: x86_64-manylinux2014-cuda122
container: sameli/manylinux2014_x86_64_cuda_12.2
build_args: --features static-ssl --features cuda
build_args: --features static-ssl --features cuda,prod
- os: windows-latest
target: x86_64-pc-windows-msvc
binary: x86_64-windows-msvc
Expand All @@ -54,19 +54,19 @@ jobs:
target: x86_64-pc-windows-msvc
binary: x86_64-windows-msvc-cuda117
ext: .exe
build_args: --features cuda
build_args: --features cuda,prod
windows_cuda: '11.7.1'
- os: windows-latest
target: x86_64-pc-windows-msvc
binary: x86_64-windows-msvc-cuda122
ext: .exe
build_args: --features cuda
build_args: --features cuda,prod
windows_cuda: '12.2.0'
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
binary: x86_64-manylinux2014-rocm57
container: ghcr.io/cromefire/hipblas-manylinux/2014/5.7:latest
build_args: --features static-ssl --features rocm
build_args: --features static-ssl,rocm,prod

env:
SCCACHE_GHA_ENABLED: true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ COPY . .

RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/root/workspace/target \
cargo build --features cuda --release --package tabby && \
cargo build --features cuda,prod --release --package tabby && \
cp target/release/tabby /opt/tabby/bin/

FROM ${BASE_CUDA_RUN_CONTAINER} as runtime
Expand Down

0 comments on commit 695b1fd

Please sign in to comment.