Last active
September 19, 2018 08:24
-
-
Save i4kimura/c6cd13505761641968fe to your computer and use it in GitHub Desktop.
How to use bitbucket repository on Redmine built by bitnami
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
* How to add bitbucket repository on Redmine built by bitnami. | |
Refer: https://community.bitnami.com/t/redmine-problems-syncing-with-bitbucket-repository/20411/7 | |
Refer: https://wiki.bitnami.com/Applications/BitNami_Redmine#How_to_upgrade_Redmine.3f | |
1. Change configuration of /etc/passwd to operate as daemon user. | |
<pre> | |
... | |
daemon:x:1:1:daemon:/usr/sbin:/bin/bash | |
... | |
</pre> | |
2. copy .bashrc to /usr/sbin/ to operate as "deamon" | |
3. As daemon user, make id_rsa.pub for accessing bitbucket. id_rsa.pub is created at /usr/sbin/.ssh | |
4. Register public key into bitbucket configuration. | |
5. Add hook as "POST" | |
<pre> | |
http://[redmine-repository-url]/hooks/bitbucket/[projec-id] | |
</pre> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment