Closed iramykytyn closed 1 year ago
[!NOTE] Coverage data for the default branch was not found. This usually happens when the action has not run on the default branch yet, for example right after deploying it into the workflows.
The coverage rate is 32.6%
.
50.9%
of new lines are covered.
🛠 Changes being made
Adds
/save_resume <link>
command to Slack bot. Adds functionality to upload a resume as PDF file.Adds docker-compose to run S3 storage on
7000
and7001
ports. Cloudflare tunnels configuration is also added to be able to access Minio dashboard and files through public domains.TOKEN_7000_PORT
andTOKEN_7001_PORT
have to be added toscripts/minio/.env
file. Cloudflare can be excluded when running on the local machine.Adds
S3StorageManager
class which handles S3 storage connection and PDFs upload.Adds
ResumeHandler
class with functionality to download PDF'sUpdates bot to listen to pdf upload event and save it to S3 storage and return the link to the pdf in thread.
Known issues
TestResumeHandler
is currently connecting to real S3 storage which is not a good practice. This should be changed to run minio in CI environment as a docker so test will connect on localhost.🏎 Quality check
Run on docker on-prem machine and tested manually via Slack. Unit tests were added for some modules.
Demo: https://www.loom.com/share/104859468fe14e289911a78129c66653