Skip to content

Commit

Permalink
chore: only build cala-server
Browse files Browse the repository at this point in the history
  • Loading branch information
sandipndev committed May 15, 2024
1 parent 72b7938 commit fe1fdcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM clux/muslrust:stable AS build
COPY . /src
WORKDIR /src
RUN SQLX_OFFLINE=true cargo build --locked
RUN SQLX_OFFLINE=true cargo build --locked --bin cala-server

FROM ubuntu
COPY --from=build /src/target/x86_64-unknown-linux-musl/debug/cala-server /usr/local/bin
Expand Down
3 changes: 3 additions & 0 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,18 @@ groups:
jobs:
- check-code
- bats-tests
- build-edge-image

jobs:
- #@ rust_check_code()
- #@ on_nix_host("bats-tests", "make e2e")
- #@ build_edge_image()

resources:
- #@ repo_resource(True)
- #@ pipeline_tasks_resource()
- #@ slack_resource()
- #@ edge_image_resource()
- name: nix-host
type: pool
source:
Expand Down

0 comments on commit fe1fdcb

Please sign in to comment.