Update name (#7)
Rust Build / Rustfmt (push) Successful in 54s
Rust Build / Test Suite (push) Successful in 1m35s
Rust Build / Check (push) Successful in 1m39s
Rust Build / build (push) Successful in 1m37s
Rust Build / Clippy (push) Successful in 2m33s
Rust Build / Check (pull_request) Successful in 1m13s
Rust Build / Test Suite (pull_request) Successful in 1m27s
Rust Build / Rustfmt (pull_request) Successful in 1m28s
Rust Build / Clippy (pull_request) Successful in 1m19s
Rust Build / build (pull_request) Successful in 1m46s

Reviewed-on: phoenix/textsender_api#7
This commit was merged in pull request #7.
This commit is contained in:
2026-06-13 14:04:50 -04:00
parent 1d9267e036
commit 7107a50d58
5 changed files with 11 additions and 10 deletions
+2 -2
View File
@@ -1,5 +1,3 @@
vendor/
# Ignore git directory
.git/
@@ -7,3 +5,5 @@ vendor/
# Ignore environment files (configure via docker-compose instead)
.env*
target/
+2 -1
View File
@@ -43,6 +43,7 @@ jobs:
POSTGRES_USER: ${{ secrets.DB_TEST_USER || 'testuser' }}
POSTGRES_PASSWORD: ${{ secrets.DB_TEST_PASSWORD || 'testpassword' }}
POSTGRES_DB: ${{ secrets.DB_TEST_NAME || 'testdb' }}
POSTGRES_PORT: ${{ secrets.DB_PORT || 5432 }}
# Options to wait until the database is ready
options: >-
--health-cmd pg_isready
@@ -72,7 +73,7 @@ jobs:
- name: Run tests
env:
# Define DATABASE_URL for tests to use
DATABASE_URL: postgresql://${{ secrets.DB_TEST_USER || 'testuser' }}:${{ secrets.DB_TEST_PASSWORD || 'testpassword' }}@postgres:5432/${{ secrets.DB_TEST_NAME || 'testdb' }}
DATABASE_URL: postgresql://${{ secrets.DB_TEST_USER || 'testuser' }}:${{ secrets.DB_TEST_PASSWORD || 'testpassword' }}@postgres:${{ secrets.DB_PORT || 5432 }}/${{ secrets.DB_TEST_NAME || 'testdb' }}
RUST_LOG: info # Optional: configure test log level
SECRET_KEY: ${{ secrets.SECRET_KEY }}
# Make SSH agent available if tests fetch private dependencies
Generated
+2 -2
View File
@@ -2295,7 +2295,7 @@ dependencies = [
[[package]]
name = "textsender_api"
version = "0.5.0"
version = "0.1.3"
dependencies = [
"axum",
"axum-extra",
@@ -2326,7 +2326,7 @@ dependencies = [
[[package]]
name = "textsender_models"
version = "0.3.0"
source = "git+ssh://git@git.kundeng.us/phoenix/textsender-models.git?tag=v0.3.0#d504108745b7b97a02eac24e16763cdb5e731f2b"
source = "git+ssh://git@git.kundeng.us/phoenix/textsender_models.git?tag=v0.3.0#d504108745b7b97a02eac24e16763cdb5e731f2b"
dependencies = [
"const_format",
"dotenvy",
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "textsender_api"
version = "0.5.0"
version = "0.1.3"
edition = "2024"
rust-version = "1.95"
@@ -25,7 +25,7 @@ jsonwebtoken = { version = "10.3.0", features = ["rust_crypto"] }
josekit = { version = "0.10.3" }
utoipa = { version = "5.5.0", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "9.0.2", features = ["axum"] }
textsender_models = { git = "ssh://git@git.kundeng.us/phoenix/textsender-models.git", tag = "v0.3.0" }
textsender_models = { git = "ssh://git@git.kundeng.us/phoenix/textsender_models.git", tag = "v0.3.0" }
[dev-dependencies]
common-multipart-rfc7578 = { version = "0.7.0" }
+3 -3
View File
@@ -22,8 +22,8 @@ services:
# --- Web API auth ---
auth_api:
build:
# Might want to change the naming convention at some point for the repo names. textsender-models, textsender-auth, textesender-api, etc
context: ../textsender-auth # IMPORTANT: Relative path to the local checkout of your web API repo (containing the Dockerfile)
# Might want to change the naming convention at some point for the repo names. textsender-models, textsender_auth, textesender-api, etc
context: ../textsender_auth # IMPORTANT: Relative path to the local checkout of your web API repo (containing the Dockerfile)
ssh: ["default"] # Uses host's SSH agent
dockerfile: Dockerfile # Optional: Specify if your Dockerfile has a non-standard name
container_name: auth_api
@@ -34,7 +34,7 @@ services:
# Environment variables your API needs, e.g., database connection
# Add other necessary environment variables
env_file:
- ../textsender-auth/.env
- ../textsender_auth/.env
depends_on:
auth_db:
condition: service_healthy