Skip to content

Commit

Permalink
feat: extract service integrations into separate crates (#702)
Browse files Browse the repository at this point in the history
* feat: draft of extracting service integrations

* refactor: revert codegen changes

* refactor: depend on shuttle_runtime & service integration

* feat: remove rocket bin, comment out version check

* feat: impl from for integration wrapper

* feat: cleanup shuttle-axum docs, remove version check

* feat: actix-web service integration

* feat: extract poem service integration

* feat: extract poise service integration

* feat: extract rocket service integration

* feat: extract salvo service integration

* feat: extract the serenity service integration

* feat: extract the thruster service integration

* feat: extract warp service integration

* feat: extract the tower service integration

* feat: delete persist from service

* feat: extract tide service integration

* feat: update cargo.lock

* feat: make service integration inner pub

* fix: merge fixes

* refactor: rename integrations, remove comment

* ci: run check-standalone on services

* feat: update test resources

* ci: refactor workspace-clippy job

* fix: add tokio dev dep to services

* fix: remaining services tests
  • Loading branch information
oddgrd authored Mar 13, 2023
1 parent 66ba530 commit c6061be
Show file tree
Hide file tree
Showing 57 changed files with 1,344 additions and 3,069 deletions.
45 changes: 23 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,17 @@ commands:
shuttle-shared-db = { path = "$PWD/resources/shared-db" }
shuttle-secrets = { path = "$PWD/resources/secrets" }
shuttle-static-folder = { path = "$PWD/resources/static-folder" }
shuttle-axum = { path = "$PWD/services/shuttle-axum" }
shuttle-actix-web = { path = "$PWD/services/shuttle-actix-web" }
shuttle-poem = { path = "$PWD/services/shuttle-poem" }
shuttle-poise = { path = "$PWD/services/shuttle-poise" }
shuttle-rocket = { path = "$PWD/services/shuttle-rocket" }
shuttle-salvo = { path = "$PWD/services/shuttle-salvo" }
shuttle-serenity = { path = "$PWD/services/shuttle-serenity" }
shuttle-thruster = { path = "$PWD/services/shuttle-thruster" }
shuttle-tide = { path = "$PWD/services/shuttle-tide" }
shuttle-tower = { path = "$PWD/services/shuttle-tower" }
shuttle-warp = { path = "$PWD/services/shuttle-warp" }
EOF
install-rust:
steps:
Expand Down Expand Up @@ -162,10 +173,6 @@ jobs:
- run: cargo check --workspace --all-targets
- save-cargo-cache
workspace-clippy:
parameters:
framework:
description: "Framework to activate"
type: string
executor: docker-rust
steps:
- checkout
Expand All @@ -174,7 +181,7 @@ jobs:
- run: |
cargo clippy --tests \
--all-targets \
--features="codegen,builder,<< parameters.framework >>" \
--all-features \
--no-deps -- \
--D warnings \
-A clippy::let-unit-value \
Expand Down Expand Up @@ -393,25 +400,8 @@ workflows:
jobs:
- workspace-fmt
- workspace-clippy:
name: workspace-clippy-<< matrix.framework >>
requires:
- workspace-fmt
matrix:
parameters:
framework:
[
"web-actix-web",
"web-axum",
"web-rocket",
"web-poem",
"web-thruster",
"web-tide",
"web-tower",
"web-warp",
"web-salvo",
"bot-serenity",
"bot-poise",
]
- check-standalone:
matrix:
parameters:
Expand All @@ -421,6 +411,17 @@ workflows:
- resources/secrets
- resources/shared-db
- resources/static-folder
- services/shuttle-actix-web
- services/shuttle-axum
- services/shuttle-poem
- services/shuttle-poise
- services/shuttle-rocket
- services/shuttle-salvo
- services/shuttle-serenity
- services/shuttle-thruster
- services/shuttle-tide
- services/shuttle-tower
- services/shuttle-warp
- service-test:
requires:
- workspace-clippy
Expand Down
Loading

0 comments on commit c6061be

Please sign in to comment.