This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This is a django view that can be called via a github post-commit hook. | |
I was really surprised when such a thing didn't exist so I wrote it myself. Hopefully this helps someone out there :) | |
Thanks to the Trolly app for providing a python wrapper to the Trello API. | |
Requirements: | |
https://github.com/plish/Trolly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Notes on how to get coveralls.io to work with your django project build on circleci.com | |
1. Add your repo to the coveralls.io site. | |
2. Add coveralls-python to your requirements.txt | |
eg. | |
coveralls==0.2 | |
3. Add an override and a post directive to your circle.yml file | |
eg. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1HBu2xKDsjxCNt5wFDBbcimPZUNNrWzWU2 https://explorer.blockstack.org/address/1HBu2xKDsjxCNt5wFDBbcimPZUNNrWzWU2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from requests.auth import HTTPBasicAuth | |
COCONUT_API_KEY = 'asdfasdf' | |
AWS_ACCESS_KEY = 'AWSKEY' | |
AWS_SECRET_KEY = 'AWSSECRET' | |
AWS_OUTPUT_BUCKET = 'transcoded-videos' | |
def create_transcoding_job(source, webhook, outputs): | |
""" |