Skip to content

Commit

Permalink
feat: execute projects from within workspace and other resources chan…
Browse files Browse the repository at this point in the history
…ges (#1050)

* draft: execute projects from within workspace, REMOVE STATIC FOLDER? 🦀

* Fix Turso for new Factory

* add trunk to deployer

* remove everything static-folder

* don't clear executables

* get executable upfront

* Sketch data dir usage; improve persist.

* introduce get_metadata and .shuttle-storage

* update other resources to new factory trait

* cleanup

* bump toml

* Add static_assets declaration in Shuttle.toml

* Add back static-folder plugin, but deprecate it.

* Fix metadata

* Fix file selection for archive

* fix patch files

* minor bumps

* call it assets

* Project name wrapper, "Deployment" environment

* enum instead of bool

* fix things

* make CI faster

* push unstable

* Add proper integration test for archiving

* cargo update

* verify Shuttle.toml overrides .ignore

* clippy

* dunce everything that can run on windows

* fix: Use correct dir when building to enable cargo config [env], fix clean

* fix duplicate Running deploys causing incoming requests to target the wrong internal deployment address

---------

Co-authored-by: Iulian Barbu <14218860+iulianbarbu@users.noreply.github.com>
  • Loading branch information
jonaro00 and iulianbarbu committed Sep 18, 2023
1 parent 361e00e commit 9d28100
Show file tree
Hide file tree
Showing 62 changed files with 1,267 additions and 1,737 deletions.
10 changes: 4 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ commands:
shuttle-service = { path = "$PWD/service" }
shuttle-aws-rds = { path = "$PWD/resources/aws-rds" }
shuttle-metadata = { path = "$PWD/resources/metadata" }
shuttle-persist = { path = "$PWD/resources/persist" }
shuttle-shared-db = { path = "$PWD/resources/shared-db" }
shuttle-secrets = { path = "$PWD/resources/secrets" }
shuttle-shared-db = { path = "$PWD/resources/shared-db" }
shuttle-static-folder = { path = "$PWD/resources/static-folder" }
shuttle-metadata = { path = "$PWD/resources/metadata" }
shuttle-turso = { path = "$PWD/resources/turso" }
shuttle-axum = { path = "$PWD/services/shuttle-axum" }
shuttle-actix-web = { path = "$PWD/services/shuttle-actix-web" }
shuttle-axum = { path = "$PWD/services/shuttle-axum" }
shuttle-next = { path = "$PWD/services/shuttle-next" }
shuttle-poem = { path = "$PWD/services/shuttle-poem" }
shuttle-poise = { path = "$PWD/services/shuttle-poise" }
Expand Down Expand Up @@ -659,7 +659,6 @@ workflows:
- resources/metadata
- resources/persist
- resources/secrets
- resources/static-folder
- resources/turso
- services/shuttle-actix-web
- services/shuttle-axum
Expand Down Expand Up @@ -885,11 +884,10 @@ workflows:
path:
[
"resources/aws-rds",
"resources/metadata",
"resources/persist",
"resources/secrets",
"resources/shared-db",
"resources/static-folder",
"resources/metadata",
"resources/turso",
]
name: publish-<< matrix.path >>
Expand Down

0 comments on commit 9d28100

Please sign in to comment.