Skip to content

Commit

Permalink
Merge pull request #269 from sebadob/prepare-release-v0.21.0-beta2
Browse files Browse the repository at this point in the history
Prepare release v0.21.0 beta2
  • Loading branch information
sebadob authored Feb 10, 2024
2 parents 2fd574f + 2532cca commit eec43bf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
22 changes: 9 additions & 13 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ fmt:
pull-latest-cross:
#!/usr/bin/env bash
docker pull ghcr.io/cross-rs/aarch64-unknown-linux-musl:main
docker pull ghcr.io/cross-rs/x86_64-unknown-linux-musl:main

# clippy with sqlite features
Expand Down Expand Up @@ -114,17 +115,14 @@ migrate-postgres:
DATABASE_URL={{db_url_postgres}} sqlx migrate run --source migrations/postgres


# runs the application with sqlite feature with musl target
# runs the application with sqlite feature
run-sqlite:
DATABASE_URL={{db_url_sqlite}} cargo run --target x86_64-unknown-linux-musl --features sqlite

# runs the application with sqlite feature with native target
run-sqlite-native:
DATABASE_URL={{db_url_sqlite}} cargo run --features sqlite

# runs the application with postgres feature with musl target

# runs the application with postgres feature
run-postgres:
DATABASE_URL={{db_url_postgres}} cargo run --target x86_64-unknown-linux-musl
DATABASE_URL={{db_url_postgres}} cargo run


# runs the UI in development mode
Expand Down Expand Up @@ -261,9 +259,8 @@ build-sqlite: test-sqlite
cargo clean

# allow clippy warnings for v0.20.0 because of intentionally using deprecated functions
#cargo clippy --features sqlite -- -D warnings
cargo build --release --target x86_64-unknown-linux-musl --features sqlite
cargo clippy --features sqlite -- -D warnings
cross build --release --target x86_64-unknown-linux-musl --features sqlite
cp target/x86_64-unknown-linux-musl/release/rauthy out/rauthy-sqlite-amd64

cargo clean
Expand All @@ -278,9 +275,8 @@ build-postgres: test-postgres
cargo clean

# allow clippy warnings for v0.20.0 because of intentionally using deprecated functions
#cargo clippy -- -D warnings
cargo build --release --target x86_64-unknown-linux-musl
cargo clippy -- -D warnings
cross build --release --target x86_64-unknown-linux-musl
cp target/x86_64-unknown-linux-musl/release/rauthy out/rauthy-postgres-amd64

cargo clean
Expand Down
2 changes: 1 addition & 1 deletion rauthy-main/tests/zzd_handler_clients_dyn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async fn test_dynamic_client() -> Result<(), Box<dyn Error>> {

let res = client.get(&url).send().await?;
// we did not add any registration token.
assert_eq!(res.status(), 400);
assert_eq!(res.status(), 401);

let res = client
.get(&url)
Expand Down

0 comments on commit eec43bf

Please sign in to comment.