Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: merge main #581

Merged
merged 109 commits into from
Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
cf1b30c
feat(blog): add missing sqlx migration code to auth blog post (#408)
oddgrd Oct 18, 2022
ac43016
misc: 0.7.0 (#407)
chesedo Oct 19, 2022
37755ca
fix(cargo-shuttle): prevent crash when config owned by root (#409)
akrantz01 Oct 19, 2022
76f4fee
fix: use correct timeout start point (#410)
brokad Oct 20, 2022
607c3e1
feat(deployer): implement container memory limits (#411)
oddgrd Oct 20, 2022
e676715
bug: `transport error` when trying to connect to provisioner (#416)
chesedo Oct 20, 2022
6e771c7
feat: gateway admin revive (#412)
brokad Oct 20, 2022
8f7a341
bug: timeout curl health check on deployer (#415)
chesedo Oct 20, 2022
b4149f2
Article/beta article (#420)
Oct 21, 2022
1b983e8
Feat(www): shuttle beta signup (#421)
oddgrd Oct 21, 2022
7c05afc
bug: Fix thruster postgres example (#414)
trezm Oct 21, 2022
9c83baf
feat: shell completions (#343)
XyLyXyRR Oct 21, 2022
c222354
bug: package Secrets.toml (#422)
chesedo Oct 21, 2022
b00671d
bug: big archives being cut off at 32 768 bytes (#423)
chesedo Oct 21, 2022
65b71c8
chore: v0.7.1 (#424)
chesedo Oct 24, 2022
bc13eb7
refactor: provide better context for errors (#430)
chesedo Oct 25, 2022
fb623e7
refactor: do our own health checks on deployer containers (#427)
chesedo Oct 25, 2022
0968b72
bug: clear build folder before extracting (#428)
chesedo Oct 25, 2022
f05fc2b
added some images (#435)
brokad Oct 27, 2022
4be3e5a
feat(www): beta blog updates (#434)
oddgrd Oct 27, 2022
61987e2
feat: add captioned image component (#440)
oddgrd Oct 27, 2022
a5b7634
www: post small tweaks (#439)
brokad Oct 27, 2022
c7a13f9
feat: replace cursed gif (#441)
oddgrd Oct 27, 2022
b430d21
Feat/update contributing (#426)
oddgrd Oct 28, 2022
b097d3b
chore: v0.7.2 (#442)
chesedo Oct 28, 2022
566b9e8
Merge remote-tracking branch 'upstream/main' into development
chesedo Oct 28, 2022
5fd6e40
Merge pull request #443 from shuttle-hq/development
chesedo Oct 28, 2022
c4f0837
feat: link the tracing spans between services (#445)
chesedo Oct 31, 2022
7bfb1a2
Merge remote-tracking branch 'upstream/main' into development
chesedo Oct 31, 2022
c2499cb
Add docker-compose extra flags param in Makefile (#446)
brokad Nov 1, 2022
8a6efb8
misc: restructure repo (#453)
chesedo Nov 2, 2022
6c848bf
refactor: tf files have been moved to shuttle-hq/terraform-aws-shuttle
brokad Nov 2, 2022
bd0c381
fix: wrap around common::ProjectName for parsing (#451)
brokad Nov 3, 2022
9d5e345
fix: gateway state drifts, health checks and project recreation (#447)
brokad Nov 3, 2022
617bad0
misc: add more helpful flags to Makefile
brokad Nov 3, 2022
83cbccd
misc: remove old migrator (#463)
chesedo Nov 4, 2022
b1eee6d
feat: add account_tier column (#458)
brokad Nov 4, 2022
5fbf7c9
feat: prefetch shuttle-service crates (#461)
chesedo Nov 4, 2022
88c877d
Feat: revive via gateway endpoint (#460)
oddgrd Nov 4, 2022
7471c08
feat: create a new admin cli binary crate (#462)
chesedo Nov 4, 2022
b6bd64c
fix: broken link (#467)
oddgrd Nov 8, 2022
b4055af
fix: add timeout to health checks (#468)
brokad Nov 8, 2022
3ab6c71
feat(gateway): add custom domains table and routing (#465)
akrantz01 Nov 8, 2022
3a98a47
WIP feat: count recent start events before restart (#469)
oddgrd Nov 11, 2022
001dbcf
feat: make deployer only answer its own project (#466)
chesedo Nov 11, 2022
836c5f7
Fixed Links in Readme (#477)
Nereuxofficial Nov 13, 2022
3bcc683
refactor: base client error off response status code (#470)
chesedo Nov 14, 2022
e10f096
feat: verify project exists before sending destroy task (#474)
oddgrd Nov 15, 2022
7b80c45
feat: add a custom domains admin route (#473)
chesedo Nov 16, 2022
c3c0ced
bug: deployer freezes (#478)
chesedo Nov 17, 2022
74aeb46
ci: green (#482)
chesedo Nov 17, 2022
3bd6f0f
feat: TLS acceptor with SNI resolver (#471)
brokad Nov 18, 2022
d8fedbd
fix: custom domain routing (#484)
brokad Nov 21, 2022
9a85dc4
refactor: more metrics (#475)
chesedo Nov 21, 2022
ac06f5c
misc: configurable deployment tags (#486)
brokad Nov 21, 2022
b748493
feat: gateway restores removed containers (#485)
brokad Nov 21, 2022
e3fb067
fix: backend bumps and hot fixes (#487)
brokad Nov 23, 2022
57ec829
Feature/support actix web (#491)
biryukovmaxim Nov 30, 2022
80f8e12
Doc: Fix command to prime database with docker-compose (#502)
guerinoni Nov 30, 2022
c2fa52c
Doc: Improve contributing documentation (#499)
guerinoni Nov 30, 2022
6c3025b
feat: static file support for a single folder (#501)
chesedo Dec 1, 2022
6a551d1
ci: build binary (#483)
chesedo Dec 1, 2022
961964a
feat: bump rust to 1.64, bump dependencies (#495)
oddgrd Dec 1, 2022
887dce4
feat: interactive project initialization (#498)
Procrat Dec 2, 2022
ca97f03
feat: bump pinned rust version to 1.65 (#504)
oddgrd Dec 2, 2022
650e3f5
misc: env updates (#509)
chesedo Dec 2, 2022
3d5c55b
feat: make the folder configurable (#508)
chesedo Dec 5, 2022
8052e87
feat: implement workspace inheritance (#506)
oddgrd Dec 7, 2022
d9d6d3e
refactor: switch away from cargo package (#507)
chesedo Dec 7, 2022
b597eef
feat: add spinner wait for `project new` and `project status --follow…
guerinoni Dec 7, 2022
0c4eb94
fix: capitalise correctly (#511)
brokad Dec 7, 2022
6bbda80
fix: make nice (#512)
brokad Dec 7, 2022
2e6ac41
feat: find (soon to be) invalid project names (#479)
chesedo Dec 8, 2022
7525c7a
refactor: missed axum 0.6 update (#513)
chesedo Dec 8, 2022
a37903a
feat: build tests in release profile, limit build workers (#514)
oddgrd Dec 9, 2022
519ac04
feat: create `init` project from correct dir (#518)
oddgrd Dec 9, 2022
a957063
misc: interactive init gif (#519)
brokad Dec 9, 2022
bc7b339
Feat/set examples submodule to main (#520)
oddgrd Dec 9, 2022
5c19ea3
chore: 0.8.0 (#521)
oddgrd Dec 9, 2022
5b9769e
chore: bump examples (#522)
brokad Dec 9, 2022
84250da
bug: hacking static folders (#524)
chesedo Dec 12, 2022
489b925
fix: actix integration with state (#523)
oddgrd Dec 12, 2022
8387138
feat(gateway,deployer): add more tracing events (#500)
akrantz01 Dec 13, 2022
18767f0
feat: canonicalize before trace (#531)
oddgrd Dec 13, 2022
8e93e87
feat: 'clean' subcommand (#530)
chesedo Dec 14, 2022
5c9487d
Feat/set cpu limit (#529)
oddgrd Dec 14, 2022
d60f642
feat: add panamax for mirroring crates.io (#525)
chesedo Dec 14, 2022
5e604b4
feat: build queue (#532)
chesedo Dec 14, 2022
ae8ee01
feat: per-project parallelism (#533)
brokad Dec 14, 2022
a7e7ed6
feat: temp validation of project name in gateway (#534)
oddgrd Dec 14, 2022
24657bc
fix(deployer): keep Cargo.lock between deployments (#517)
Procrat Dec 14, 2022
027b50d
ci: remove build and push req on build binaries (#535)
oddgrd Dec 14, 2022
5ed12ad
refactor: don't crash when failing to release slot (#536)
chesedo Dec 14, 2022
5d638dc
refactor: release build slot parse type correctly (#538)
chesedo Dec 14, 2022
84dd5fa
refactor: remove prefetch (#539)
chesedo Dec 14, 2022
0afa129
feat: add cron job for syncing mirror (#537)
chesedo Dec 14, 2022
998fff7
chore: bump cargo-shuttle to 0.8.1 (#540)
oddgrd Dec 14, 2022
b00b5e8
test: fixes (#554)
chesedo Dec 28, 2022
b1dbdb7
Refactor: remove deprecated auth command (#550)
oddgrd Dec 29, 2022
2d0f338
ci: add Makefile command for Windows to convert .sh files to LF forma…
joshua-mo-143 Dec 30, 2022
45eadce
Fix: dependencies compiled with incompatible versions of rustc (#545)
oddgrd Dec 30, 2022
cb342fd
feat: create subcommand to list all projects of calling account (#553)
emmakuen Dec 30, 2022
eda4769
bug: deployer drifting state (#548)
chesedo Jan 3, 2023
d113ca1
ci: fix bin builds (#546)
oddgrd Jan 5, 2023
85268c9
update contributing (#556)
olekspickle Jan 6, 2023
0599a13
feat: Support Poise (#560)
Anafabula Jan 9, 2023
8f71804
feat: add flag for router IP local run (#565)
joshua-mo-143 Jan 10, 2023
604271a
bug: no networks (#541)
chesedo Jan 10, 2023
8414714
Merge remote-tracking branch 'upstream/main' into shuttle-next
chesedo Jan 16, 2023
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
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
- restore-cargo-cache
- install-protoc
- run: cargo fmt --all --check
# TODO: this is incompatible with workspace inheritance, uncomment when
# TODO: this is incompatible with workspace inheritance, uncomment when
# https://github.com/DevinR528/cargo-sort/pull/29 is merged
# - run: cargo install cargo-sort
# - run: cargo sort --check --workspace
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
- install-protoc
- apply-patches
- run: cargo fmt --all --check --manifest-path << parameters.path >>/Cargo.toml
# TODO: this is incompatible with workspace inheritance, uncomment when
# TODO: this is incompatible with workspace inheritance, uncomment when
# https://github.com/DevinR528/cargo-sort/pull/29 is merged
# - run: cargo install cargo-sort
# - run: cargo sort --check << parameters.path >>
Expand Down
4 changes: 2 additions & 2 deletions 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 cargo-shuttle/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ use futures::{StreamExt, TryFutureExt};
use git2::{Repository, StatusOptions};
use ignore::overrides::OverrideBuilder;
use ignore::WalkBuilder;
use provisioner_server::LocalProvisioner;
use shuttle_common::models::{project, secret};
use shuttle_service::loader::{build_crate, Runtime};
use std::fmt::Write;
Expand All @@ -38,6 +37,7 @@ use uuid::Uuid;

use crate::args::{DeploymentCommand, ProjectCommand};
use crate::client::Client;
use crate::provisioner_server::LocalProvisioner;

pub struct Shuttle {
ctx: RequestContext,
Expand Down Expand Up @@ -479,6 +479,7 @@ impl Shuttle {

trace!(response = ?response, "client response: ");

// TODO: move to runtime
let addr = if run_args.external {
std::net::IpAddr::V4(Ipv4Addr::new(0, 0, 0, 0))
} else {
Expand Down
2 changes: 1 addition & 1 deletion deployer/tests/deploy_layer/bind-panic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ crate-type = ["cdylib"]
[workspace]

[dependencies]
shuttle-service = { version = "0.8.0", features = ["codegen"] }
shuttle-service = "0.8.0"
2 changes: 1 addition & 1 deletion deployer/tests/deploy_layer/main-panic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ crate-type = ["cdylib"]
[workspace]

[dependencies]
shuttle-service = { version = "0.8.0", features = ["codegen"] }
shuttle-service = "0.8.0"
2 changes: 1 addition & 1 deletion deployer/tests/deploy_layer/self-stop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ crate-type = ["cdylib"]
[workspace]

[dependencies]
shuttle-service = { version = "0.8.0", features = ["codegen"] }
shuttle-service = "0.8.0"
2 changes: 1 addition & 1 deletion deployer/tests/deploy_layer/sleep-async/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ crate-type = ["cdylib"]

[dependencies]
tokio = { version = "1.0", features = ["time"]}
shuttle-service = { version = "0.8.0", features = ["codegen"] }
shuttle-service = "0.8.0"
2 changes: 1 addition & 1 deletion deployer/tests/resources/tests-fail/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ crate-type = ["cdylib"]

[dependencies]
rocket = "0.5.0-rc.2"
shuttle-service = { path = "../../../../service", features = ["codegen", "web-rocket"] }
shuttle-service = { path = "../../../../service", features = ["web-rocket"] }
2 changes: 1 addition & 1 deletion deployer/tests/resources/tests-pass/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ crate-type = ["cdylib"]

[dependencies]
rocket = "0.5.0-rc.2"
shuttle-service = { path = "../../../../service", features = ["codegen", "web-rocket"] }
shuttle-service = { path = "../../../../service", features = ["web-rocket"] }
Binary file modified gateway/tests/hello_world.crate
Binary file not shown.
2 changes: 1 addition & 1 deletion service/tests/resources/sleep-async/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ crate-type = ["cdylib"]

[dependencies]
tokio = { version = "1.22.0", features = ["time"] }
shuttle-service = { path = "../../../", features = ["codegen"] }
shuttle-service = { path = "../../../" }
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ in
];
buildInputs = with nixpkgs; [
((rustChannelOf{ channel = "1.65.0"; }).rust.override {
targets = ["wasm32-wasi"];
extensions = ["rust-src"];
targets = ["wasm32-wasi"];
})
cargo-watch
terraform
Expand Down