Skip to main content

github에서 Pull Request/Push 할 경우 trello로 동기화

ㅇ github에서 Pull Request/Push 할 경우 trello로 동기화

1. 해당 repo의 settings에서 service hooks 선택
https://github.com/doohee323/tz.sheepshare/settings/hooks

2. trello 선택 후 create a consumer token 링크 클릭

3. allow 한 후에 토큰 백업
39cb71a63b48179c7b0395042ea1b872eca7f22503

4. trello BOARDID 확인
https://trello.com/b/rnkfAz0A/development
=> development
Pull Request와 Commit List를 생성

5. 아래의 url에서 TOKEN을 위의 토큰으로 치환
https://api.trello.com/1/board/BOARDID?token=TOKEN&key=db1e35883bfe8f8da1725a0d7d032a9c&lists=all
->
https://api.trello.com/1/board/rnkfAz0A?token=39cb71a63b48179c7b0395042ea1b872eca7f22503&key=db1e35883bfe8f8da1725a0d7d032a9c&lists=all

{"id":"522bad91552563f261","name":"Development"~~~

6. push 의 id를 등록
(https://github.com/doohee323/tz.sheepshare/settings/hooks)

{"id":"522bc47d640e270","name":"Commit","closed":false,"idBoard":"522bad91552563f261","pos":46592,"subscribed":false}

7. Pull Request 의 id를 등록
(https://github.com/doohee323/tz.sheepshare/settings/hooks)

{"id":"522badc1fdd412","name":"Pull Request","closed":false,"idBoard":"522bad91552563f261","pos":41984,"subscribed":false}

Pull Request List Id : 522badc1fdd412
Consumer Token : #3의 토큰
Active 체크

cf. 동영상
http://nodeqa.com/nodejs_ref/89

cf. 양방향 동기화
https://zapier.com/zapbook/github/trello/

Comments

Popular posts from this blog

Amazon RDS Blue/Green Deployments

In order to avoid some errors I experienced when proceeding as described in the official documentation, I describe what I did in order. 1) Modify parameters of source_database * error: Blue Green Deployments requires cluster parameter group has binlog enabled. RDS Parameter groups: source-params-group binlog_format => MIXED mysql> show global variables like 'binlog_format'; 2) Insert a row after rebooting the source database, to avoid this error. * error: Correct the replication errors and then switch over. Read Replica Replication Error - IOError: 1236, reason: Got fatal error 1236 from master when reading data from binary log: 'Could not find first log file name in binary log index file' => To Fix: You need to change the data in the source database. INSERT INTO dummy_table ( `favorite_id` , `favorite_order` , `user_id` , `board_id` ) VALUES ('100001', '1', '11111', '11111'); 3) Modify the param...

Fluentd for mysql in AWS

(0) preparation ulimit -n If your console shows 1024, it is insufficient. Please add following lines to your /etc/security/limits.conf file and reboot your machine. root soft nofile 65536 root hard nofile 65536 (1) install Fluentd // “Ubuntu 12.04 LTS / Precise” curl -L http://toolbelt.treasuredata.com/sh/install-ubuntu-precise.sh | sh /etc/init.d/td-agent start/stop/restart/status // test curl -X POST -d 'json={"json":"message"}' http://localhost:8888/debug.test /etc/init.d/td-agent stop chown: changing ownership of `/var/run/td-agent/td-agent.pid': Operation not permitted chown: changing ownership of `/var/run/td-agent': Operation not permitted  * Stopping td-agent td-agent                                                                                   ...

Install CoreOs on linode without VM

Install CoreOs on linode without VM 1. Add a Linode 2. Create a new Disk   CoreOS 3. Rescue > Reboot into Rescue Mode 4. Remote Access   Launch Lish Console 5. make an install script cat <<'EOF1' > install.sh # add needed package sudo apt-get update sudo apt-get install -y curl wget whois sudo apt-get install -y ca-certificates #sudo apt-get install gawk -y # get discovery url discoveryUrl=`curl https://discovery.etcd.io/new` # write cloud-config.yml cat <<EOF2 > cloud-config.yml #cloud-config users:   - name: core     groups:       - sudo       - docker coreos:   etcd:     name: node01     discovery: $discoveryUrl hostname: node01 EOF2 # get the coreos installation script #wget https://raw.github.com/coreos/init/master/bin/coreos-install wget https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install # run installation chmod 75...