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

LGTM画像になる前の一時的な画像を扱う為のS3バケットを作成 #17

Merged
merged 1 commit into from
Apr 5, 2021

Conversation

keitakn
Copy link
Member

@keitakn keitakn commented Apr 4, 2021

issueURL

#12

Doneの定義

変更点概要

表題の通り、LGTM画像になる前の一時的な画像を扱う為のS3バケットを作成。

名前は prod-lgtmeow-upload-images 、このS3バケットには以下の3つのディレクトリを作成してある。

dirName description
uploaded nekochans/lgtm-cat-api#2 で作成されるAPIによって画像がここに格納される
cat-images uploaded にuploadされた画像が https://github.com/nekochans/lgtm-cat-image-recognition によって検査され、ねこ画像と判定された画像のみがこのディレクトリに格納される
lgtm-images cat-images に格納された画像を nekochans/lgtm-cat-lambda#2 のLambda関数でLGTM画像化した物がこのディレクトリに格納される

lgtm-images ディレクトリに格納されたLGTM画像は https://github.com/nekochans/convert-to-webp によってWebpに変換され、現在画像配信に利用している prod-lgtmeow-images に移動される。その後、nekochans/lgtm-cat-lambda#3 で作成されるLambda関数によってRDSに必要な情報が記録される。

レビュアーに重点的にチェックして欲しい点

ディレクトリ名とその役割、画像がアップロードされてから、最終的にLGTM画像として配信されるまでの流れに関して問題ないか確認をしてもらえるとありがたい:pray:

@keitakn keitakn self-assigned this Apr 4, 2021
@keitakn keitakn requested a review from kobayashi-m42 April 4, 2021 15:09
@keitakn keitakn marked this pull request as ready for review April 4, 2021 15:09
@keitakn keitakn modified the milestone: 04 2021-04-05-2021-04-18 Apr 5, 2021
Copy link
Member

@kobayashi-m42 kobayashi-m42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ディレクトリ名、流れもOKだと思う!
LGTMeow

@keitakn keitakn merged commit 965ffd6 into main Apr 5, 2021
@keitakn keitakn deleted the feature/issue12 branch April 5, 2021 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants