Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
c702eaa
DBをインメモリSQLiteに移行
TinyKitten Mar 24, 2025
a1f893e
Merge branch 'dev' into feature/migrate-to-sqlite
TinyKitten Mar 24, 2025
53eee67
docker/api/Dockerfile.prodはもうない
TinyKitten Mar 24, 2025
e8583da
消していた条件を復活
TinyKitten Mar 24, 2025
1361b09
DockefileのDATABASE_URL修正
TinyKitten Mar 24, 2025
d1b5fb0
クソ多きバグを修正
TinyKitten Mar 25, 2025
c3bb9c2
perftune
TinyKitten Mar 26, 2025
0752629
名前検索デグレ修正
TinyKitten Mar 26, 2025
ef19db5
座標検索のSQL修正
TinyKitten Mar 26, 2025
7bf182d
test_normalize_for_searchのテスト追加
TinyKitten Mar 26, 2025
a3a1edd
ReaderBuilderの生成は1回で十分
TinyKitten Mar 26, 2025
307daf4
unwrap()粛清
TinyKitten Mar 26, 2025
01073c4
テストケース追加
TinyKitten Mar 26, 2025
650be46
正規化処理の拡充
TinyKitten Mar 26, 2025
d94780e
&cache=sharedはもういらない
TinyKitten Mar 26, 2025
82bd3e9
マイグレコードの改良
TinyKitten Mar 26, 2025
1bc1d3b
部分的にR-Treeを使う
TinyKitten Mar 26, 2025
e8a585c
近隣の駅も出す必要があるのでフィルタを広げる
TinyKitten Mar 26, 2025
17bb4c0
clippy fix
TinyKitten Mar 26, 2025
709b22e
pragmaを1回にまとめた
TinyKitten Mar 26, 2025
e096cdd
ためしに#[tokio::main(flavor = "current_thread")]
TinyKitten Mar 26, 2025
9f0ae39
import_csv 脆弱性対処
TinyKitten Mar 27, 2025
a8036f5
import_csv 脆弱性対処
TinyKitten Mar 27, 2025
5352330
リファクタ
TinyKitten Mar 27, 2025
22f8d62
clippy fix
TinyKitten Mar 27, 2025
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
16 changes: 0 additions & 16 deletions .devcontainer/Dockerfile

This file was deleted.

48 changes: 0 additions & 48 deletions .devcontainer/compose.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .devcontainer/devcontainer.json

This file was deleted.

4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ Dockerfile
.git
.gitignore
.env
.env.local
.env.local
libsqlitefunctions.so
db.db*
11 changes: 2 additions & 9 deletions .env
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
## API
DATABASE_URL=mysql://root:password@localhost:3306/stationapi
DISABLE_GRPC_WEB=false

## Migration
MYSQL_USER=
MYSQL_PASSWORD=
MYSQL_HOST=
MYSQL_DATABASE=
SQL_OUT_PATH=./out.sql
DATABASE_URL=sqlite://db.db
DISABLE_GRPC_WEB=false
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ on:
pull_request:
paths:
- "stationapi/**"
- "migration/**"
- "data_validator/**"
- "Cargo.lock"
- "Cargo.toml"
- "!*.csv"
push:
paths:
- "stationapi/**"
- "migration/**"
- "data_validator/**"
- "Cargo.lock"
- "Cargo.toml"
Expand Down
74 changes: 0 additions & 74 deletions .github/workflows/deploy_ecs_preview_migration.yml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/deploy_ecs_production_migration.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/deploy_ecs_production_stationapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- master
paths:
- ".sqlx/**"
- "docker/api/Dockerfile.prod"
- "scripts/**"
- "stationapi/**"
- "Cargo.lock"
Expand Down Expand Up @@ -49,7 +48,7 @@ jobs:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: ${{ github.sha }}
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f ./docker/api/Dockerfile.prod .
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
Comment thread
TinyKitten marked this conversation as resolved.
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT

Expand Down
74 changes: 0 additions & 74 deletions .github/workflows/deploy_ecs_staging_migration.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/deploy_ecs_staging_stationapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
- dev
paths:
- ".sqlx/**"
- "docker/api/Dockerfile.prod"
- "scripts/**"
- "stationapi/**"
- "Cargo.lock"
Expand Down Expand Up @@ -50,7 +49,7 @@ jobs:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: ${{ github.sha }}
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f ./docker/api/Dockerfile.prod .
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT

Expand Down
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/target
.env.local
tmp.sql
server.crt
server.key
api_descriptor.pb
out.sql
.vscode/
tmp.sql
.vscode/
db.db*
Loading