Skip to content

Commit ac43016

Browse files
authored
misc: 0.7.0 (#407)
* misc: drop patches * infra: pin postgres to version 14 * refactor: fix thruster example app name * infra: db_fqdn fix * tests: warp hello world
1 parent cf1b30c commit ac43016

File tree

4 files changed

+6
-18
lines changed

4 files changed

+6
-18
lines changed

Cargo.lock

Lines changed: 0 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,22 @@ ifeq ($(PROD),true)
3737
DOCKER_COMPOSE_FILES=-f docker-compose.yml
3838
STACK=shuttle-prod
3939
APPS_FQDN=shuttleapp.rs
40-
DB_FQDN=pg.shuttle.rs
40+
DB_FQDN=db.shuttle.rs
4141
CONTAINER_REGISTRY=public.ecr.aws/shuttle
4242
else
4343
DOCKER_COMPOSE_FILES=-f docker-compose.yml -f docker-compose.dev.yml
4444
STACK=shuttle-dev
4545
APPS_FQDN=unstable.shuttleapp.rs
46-
DB_FQDN=pg.unstable.shuttle.rs
46+
DB_FQDN=db.unstable.shuttle.rs
4747
CONTAINER_REGISTRY=public.ecr.aws/shuttle-dev
4848
endif
4949

5050
POSTGRES_EXTRA_PATH?=./extras/postgres
51-
POSTGRES_TAG?=latest
51+
POSTGRES_TAG?=14
5252

5353
RUST_LOG?=debug
5454

55-
DOCKER_COMPOSE_ENV=STACK=$(STACK) BACKEND_TAG=$(TAG) PROVISIONER_TAG=$(TAG) POSTGRES_TAG=latest APPS_FQDN=$(APPS_FQDN) DB_FQDN=$(DB_FQDN) POSTGRES_PASSWORD=$(POSTGRES_PASSWORD) RUST_LOG=$(RUST_LOG) CONTAINER_REGISTRY=$(CONTAINER_REGISTRY) MONGO_INITDB_ROOT_USERNAME=$(MONGO_INITDB_ROOT_USERNAME) MONGO_INITDB_ROOT_PASSWORD=$(MONGO_INITDB_ROOT_PASSWORD)
55+
DOCKER_COMPOSE_ENV=STACK=$(STACK) BACKEND_TAG=$(TAG) PROVISIONER_TAG=$(TAG) POSTGRES_TAG=${POSTGRES_TAG} APPS_FQDN=$(APPS_FQDN) DB_FQDN=$(DB_FQDN) POSTGRES_PASSWORD=$(POSTGRES_PASSWORD) RUST_LOG=$(RUST_LOG) CONTAINER_REGISTRY=$(CONTAINER_REGISTRY) MONGO_INITDB_ROOT_USERNAME=$(MONGO_INITDB_ROOT_USERNAME) MONGO_INITDB_ROOT_PASSWORD=$(MONGO_INITDB_ROOT_PASSWORD)
5656

5757
.PHONY: images clean src up down deploy shuttle-% postgres docker-compose.rendered.yml test
5858

cargo-shuttle/tests/integration/run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ async fn warp_hello_world() {
229229
.await
230230
.unwrap();
231231

232-
assert_eq!(request_text, "Hello, World!");
232+
assert_eq!(request_text, "Hello, World");
233233
}
234234

235235
#[tokio::test(flavor = "multi_thread")]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
name = "postgres-tide-app"
1+
name = "postgres-thruster-app"

0 commit comments

Comments
 (0)