Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Crystal library #357

Merged
merged 6 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- chimp_chomp
- chimp_controller
- compound_library
- crystal_library
- pin_packing
- soakdb_sync
- targeting
Expand Down
99 changes: 60 additions & 39 deletions backend/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
members = [
"chimp_chomp",
"chimp_controller",
"chimp_protocol",
"chimp_protocol",
"crystal_library",
"compound_library",
"graphql_endpoints",
"graphql_event_broker",
Expand Down
10 changes: 10 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ COPY chimp_chomp/Cargo.toml chimp_chomp/Cargo.toml
COPY chimp_controller/Cargo.toml chimp_controller/Cargo.toml
COPY chimp_protocol/Cargo.toml chimp_protocol/Cargo.toml
COPY compound_library/Cargo.toml compound_library/Cargo.toml
COPY crystal_library/Cargo.toml crystal_library/Cargo.toml
COPY graphql_endpoints/Cargo.toml graphql_endpoints/Cargo.toml
COPY graphql_event_broker/Cargo.toml graphql_event_broker/Cargo.toml
COPY opa_client/Cargo.toml opa_client/Cargo.toml
Expand All @@ -28,6 +29,8 @@ RUN mkdir chimp_chomp/src \
&& echo "fn main() {}" > chimp_controller/src/main.rs \
&& mkdir compound_library/src \
&& echo "fn main() {}" > compound_library/src/main.rs \
&& mkdir crystal_library/src \
&& echo "fn main() {}" > crystal_library/src/main.rs \
&& mkdir graphql_endpoints/src \
&& touch graphql_endpoints/src/lib.rs \
&& mkdir graphql_event_broker/src \
Expand All @@ -53,6 +56,7 @@ RUN touch chimp_chomp/src/main.rs \
&& touch chimp_protocol/src/lib.rs \
&& touch chimp_controller/src/main.rs \
&& touch compound_library/src/main.rs \
&& touch crystal_library/src/main.rs \
&& touch graphql_endpoints/src/lib.rs \
&& touch graphql_event_broker/src/lib.rs \
&& touch opa_client/src/lib.rs \
Expand Down Expand Up @@ -97,6 +101,12 @@ COPY --from=build /app/target/release/compound_library /compound_library

ENTRYPOINT ["/compound_library"]

FROM gcr.io/distroless/cc as crystal_library

COPY --from=build /app/target/release/crystal_library /crystal_library

ENTRYPOINT ["/crystal_library"]

FROM gcr.io/distroless/cc as soakdb_sync

COPY --from=build /app/target/release/soakdb_sync /soakdb_sync
Expand Down
Loading
Loading