Closed zhangchuck closed 4 years ago
Note that this feature is not working on quote-bot-dev
yet. We'll need to inspect the logs at some point.
Issue with deployment was that we ran out of diskspace and the image wouldn't download properly. To fix this, we make sure to prune docker every time we redeploy:
play4honor/p4h_webhooks@b8d2675
Remember to pull the hardcoded bucket name and place it into an environment variable
!list
command (skeleton added) will be moved to its own issue.
Finished
!put
/!p
command!get
/!g
commandStill to-do
quote-bot-dev
is not picking up the!g
!p
and!l
commands- [ ] Improve the matching for the!list
command (skeleton added)- [ ] Generate credentials (aws_access_key_id
andaws_secret_access_key
)- [ ] Pass credentials to docker environmentNotes on credential passing:
the IAM role is in the EC2 instance metadata, some googling suggest that docker containers on the instance have access to that metadata already