ALMiniumã«Jenkinsã®è¿½å ã¤ã³ã¹ãã¼ã«
ALMiniumã®ã¤ã³ã¹ãã¼ã«ã ãã§ã¯Jenkinsã¯ã¤ã³ã¹ãã¼ã«ãããªãããã ã
ä½æ¥æé
CentOSã¸ã®Jenkinsã¤ã³ã¹ãã¼ã«ã¯
- æ¬å®¶ã®æé ã«å¾ã£ã¦ã¤ã³ã¹ãã¼ã«
- su -
- yum install java-1.6.0-openjdk
- wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
- rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
- yum install jenkins
- ãã¹ãOSããæä½ãããã®ã§8080ãã¼ãã®Firewallãå¤ã
ã§OKã
ãããã·è¨å®
Jenkinsã®ãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«/ã¢ãããã¼ãããããã«ã¯ã
Jenkinsã®ç®¡ç > ãã©ã°ã¤ã³ã®ç®¡ç > é«åº¦ãªè¨å®
ã«ãããã·è¨å®ããã¦ããå¿
è¦ãããã
è足
ã¦ãã®ãããã·ç°å¢ã ã¨yum install jenkinsã®ã¤ã³ã¹ãã¼ã«ãã¿ã¤ã ã¢ã¦ããã¦ãã¾ã£ãã
yumã®ã¿ã¤ã ã¢ã¦ãã延é·ãããã¨ã§åé¿ã§ããã
- su -
- vi /etc/yum.conf
- ãtimeout=60ãã追å
vmwareã§ALMinium
ã¡ãã£ã¨3ãæãããã®ã·ã§ã¼ãããã¸ã§ã¯ããä¸äººã§ãããã¨ã«ãªã£ãã
ä¼ç¤¾ã§ã¯TracLightningãªã®ã ããé¢ä¿è
ãå¤ããããªããªãæ°ãããã¨ã試ããªãã
ããã¯ããæ©ä¼ã ã¨Redmine&gitã試ãã¦è¦ããã¨ã«ããã
ããå
¬å¼ã®Redmineã¯ãªããªãã«ã»ããã¢ããã大å¤ã
Redmineã®ä»ã«gitã¨é£æºããããã¨æãã¨ãgitosisï¼ãããã®ï¼
åãã¦git使ãã®ã«ã¡ãã£ã¨é£æ度é«ããªãã
ã¨ãããã¨ã§ALMiniumã使ã£ã¦ã¿ããã¨ã«ã
ä½æ¥æé
- vmware playerã«CentOS6.2ã®ç°¡æã¤ã³ã¹ãã¼ã«
- NATæ¥ç¶
- Terminalãéã
- rootã«ãªã£ã¦
- yum update
- ALMiniumã®ã¤ã³ã¹ãã¼ã«
- su -
- yum install git
- git clone https://github.com/alminium/alminium.git
- cd alminium
- bash ./smelt
- ãã¹ãåã¨ããã¡ã¤ã³åã¨ãããããããã®ã§IPç´æã¡
- 192.168.xxx.xxx âifconfigã§äºã調ã¹ãIPã¢ãã¬ã¹
- ãä¸äººæ§ããã¸ã§ã¯ããªã®ã§SSLã¯ä¸è¦ â n
- ãã¹ãOSããã¢ã¯ã»ã¹ããããSELinuxãiptableã®å¤æ´ã¯å¿ è¦ â y
- ãã¹ãåã¨ããã¡ã¤ã³åã¨ãããããããã®ã§IPç´æã¡
ããã ãã
ãã¨ã¯ãã¹ãOSã®ãã©ã¦ã¶ã§192.168.xxx.xxxã«ã¢ã¯ã»ã¹ããã°Redmineã®ãããç»é¢ã表示ãããã
äºãæ¥æ¬èªè¨å®ãããã¦ãã¦è¯ãæãã§ãã
ã¡ãªã¿ã«ä¼ç¤¾ã¯proxyç°å¢ãªãã§ã以ä¸ã®è¨å®ãå¿ è¦ã ã£ãã
- vi /etc/profile.d/proxy.sh
export http_proxy=http://ãããã·ãµã¼ã:ãã¼ã/
export https_proxy=http://ãããã·ãµã¼ã:ãã¼ã/
export ftp_proxy=http://ãããã·ãµã¼ã:ãã¼ã/
export HTTP_PROXY=http://ãããã·ãµã¼ã:ãã¼ã/
export HTTPS_PROXY=http://ãããã·ãµã¼ã:ãã¼ã/
export FTP_PROXY=http://ãããã·ãµã¼ã:ãã¼ã/
- vi /etc/yum.conf
proxy=http://ãããã·ãµã¼ã:ãã¼ã/
- git config --global http.proxy ãããã·ãµã¼ã:ãã¼ã
ãªããå½åæ¬å®¶Redmineãã¤ã³ã¹ãã¼ã«ãã¦ããã®ã§EPELãªãã¸ããªã®ç»é²ããã¦ãããã¾ãã¤ã³ã¹ãã¼ã«ã§ããªãã£ã(èµ·åããªã)ã
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm
åç §
- proxy
- Redmine
- ALMinium
TracLightning 2.4.0ã§Add Externaï½ Usersã§ããªãã¦ã¯ã¾ã£ã
ä»æ´2.4.0ã®è©±ã§æ縮ã§ãããä¼ç¤¾ã§ã¯2.4.0ãªããã§(Upgradeãã¦åããªããªã£ãã大å¤
ããã¸ã§ã¯ãããå¤ããã¡ã³ãã¼ãå度Externaï½Usersã«è¿½å ãããã¨ãããWarningãåºã¦è¿½å ã§ããªãã£ãã
ããããµã¼ãã¼ã®trac.htdigestãè¦ãã¨ã¡ããã¨è¿½å ããã¦ããâ¦ã
trac.htdigestãæä¿®æ£ãã¦è©²å½ã¦ã¼ã¶ã¼ãåé¤ãã¦ãå度ããç´ãã¦ãçç¶å¤ãããã
ãã¼ãâ¦ã
è²ã
æ¤ç´¢ãã¦trac.dbã®sessionã¨session_attributeãã該å½ã¦ã¼ã¶ã¼åã®å
¥ã£ãã¬ã³ã¼ããå
¨é¨åé¤ãã¦ã¿ãã
ããã¨åç»é²ã§Warningãåºãªããªã£ãï¼
ãããdbç´æ¥ç·¨éã£ã¦â¦ãèãå·ãããã¼ã
TracLightningã§ã¡ã¼ã«éç¥ããå ´åããã±ããã¸ã®ãªã³ã¯ã絶対URLã®æã¨ç¸å¯¾URLã®æããã
tracã«ã¯ãã±ããã®æ´æ°ãã¡ã¼ã«ã§éç¥ããæ©è½ãããã¾ãã
ã¾ãTracLightingã«ã¯svnã¨tracãé£æºãããè¨å®ããªããã¦ãã¾ãã
ãã®ã¡ã¼ã«éç¥æ©è½ã使ã£ã¦ããã®ã§ãããã¡ã¼ã«ããã¿ã¼ã®ãã±ããã¸ã®ãªã³ã¯ã絶対URLã®æã¨ç¸å¯¾URLã®æãããã¨ã¡ã³ãã¼ããææããã¾ããã
ããçµæ§é·ããã¨tracã使ã£ã¦ãã¾ããå®ã¯ãã®ãã¨ã¯ãã£ã¨åããç¥ã£ã¦ãã¾ããããã¾ããããã¨æ¾ç½®ãã¦ããã®ã§ãã
ãããææãåããããã«ã¯ã¨ã¡ãã£ã¨èª¿ã¹ã¦ã¿ã¾ãããâ¦ãçµå±åãããããããæãã¬ãã¨ã«twitterçµç±ã§æãã¦ããã ãã¾ããã
[trac] base_url ãè¨å®ãã¦ããªãç¶æ 㧠svn post-commit ãããã±ãããæ´æ°ãããã¨ããããç¶æ ã«ãªãã¾ã @inazakira TracLightningã§ã¡ã¼ã«éç¥ããå ´åããã±ããã¸ã®ãªã³ã¯ã絶対URLã®æã¨ç¸å¯¾URLã®æãããâ¦
trac.iniã®base_urlãè¨å®ããã°è¯ãããã§ããå®ébase_urlã«ãµã¼ãã¼ã®URLãæ¸ãããä»ã¾ã§ç¸å¯¾URLã ã£ããªã³ã¯ã絶対URLã«ãªãã¾ããã
base_url = http://serverhogehoge.co.jp/trac/projectname
ã¨ã«ãã¿ã¨ã«ãã¿ã
jun66j5ãããããã¨ããããã¾ããã
åç §
TracLightning 2.4.0ã«ãããããã¸ã§ã¯ãåå¤æ´æ¹æ³
ããã¸ã§ã¯ãåãå¤æ´ãã¦æ¬²ããã¨é ¼ã¾ããã®ã§ã
ãã£ããã¨
ä¼ç¤¾ã§VMware Playerã使ã£ã¦ãããã£ãã®ã
Google Testのセットアップ(Cygwin編)ã®ãªãã§
ã§ãvmware Playerã¯åç¨å©ç¨NGã§
ã£ã¦æ¸ããã
ããã§ããåç¨å©ç¨ã£ã¦ã®ã¯
- ä¼ç¤¾ã®PCã«ã¤ã³ã¹ãã¼ã«ãã¦ä»®æ³PCãå©ç¨ãã¤ã¤ããã°ã©ãã³ã°ãã
- ä»®æ³PCã¯ããã¾ã§äºåç¨é
- ä½ã£ãããã°ã©ã ã販売ãã
- ä»®æ³PCèªä½ã販売ãããã¨ã¯ãªã
ã¨ããæå³ã ã£ãã
ã¨ããã®ãVMWare Playerã®ã©ã¤ã»ã³ã¹æ¡ä»¶ã«
VMware Player is intended for your own personal non-commercial use only.
ã£ã¦ã«ãã£ããããªãã ãã©ã
ä¸è¨ãªã³ã¯ãèªãéãç§ã®å©ç¨æ¹æ³ã¯åç¨å©ç¨ã«ã¯å½ãããªããããã
ãããã°ãããã¥ã¼ã¹ã ã
ã«ãã¦ãéåç¨å©ç¨ã£ã¦ã®ã¯æ³å¾ç¨èªããªãããªã®ãããåããã¥ãããã¼ã
TracLightning3.0.7ã®æ¤è¨¼ä¸
TracLightning2.4â3.0.7ã¸ã®ç§»è¡ãæ¤è¨ä¸ã
ããã¸ã§ã¯ã移è¡æé
ä»ã®ã¨ããå¥ç³»çµ±ã®PCã§åä½æ¤è¨¼ä¸ã
- TracLightningã®æ°è¦ã¤ã³ã¹ãã¼ã«
- æ¬ç³»çµ±ã®\projects以ä¸ããã¹ãç°å¢ã®\projects以ä¸ã«ã³ãã¼
- TracLightningä»å±ã®ã³ãã³ãã©ã¤ã³èµ·å
- ã³ãã³ãã©ã¤ã³ã§"trac-admin /path/to/projenv upgrade"
- ã³ãã³ãã©ã¤ã³ã§"trac-admin /path/to/projenv repository resync"
ãã¤ã®ã¾ã«ããåæ£ã¬ãã¸ããªã«å¯¾å¿ããããããresyncã®éã«"repository resync '*'"ã¨ããªããªã£ãã¿ããã
æªèª¿æ»é ç®
- ãªãã ããã£ããããã¹ãç¨PCã®ã¹ããã¯ã®ãããããã¼ã¸ã§ã³3ãé ãã®ãã
- ãªãã¸ããªã®åææ¹æ³ãªã«ãå¤ãã£ãï¼å¤ãããã¸ã§ã¯ãã®ç§»è¡ã®éã«ãä½ãããªãããªããã®ããªï¼
åè
è足
ãªã¾ãã£ã6å¹´ã»ã©tracãéç¨ãã¦ããã¨ãããã¼ãã®ãã¼ã¸ã§ã³ã§ä½ã£ãããã¸ã§ã¯ããææ°çã«ãå¼è¶ãããã®ãé常ã«é¢åã«ãªã£ã¦ãã¾ãã
æ¯åupgradeãã¦resyncãã¦ã¼ã£ã¦ããã ããªãã§ããã©ãããã¸ã§ã¯ãã®æ°ãå¤ãã¦åç´ã«æéããããã¾ãã
ãã¨ä½æ
ãã³ãã¼ãã¹ãçºçãã¦svnã¬ãã¸ããªç ´å£ã¨ããããã¾ãããâ¦ã
ãããªãã¨ããã£ã¦ãããå¤ãããã¸ã§ã¯ãã¯å¤ãtracã®ã¾ã¾ã§éç¨ãããã
å
·ä½çã«è¨ãã¨TracLightningãä»®æ³ãµã¼ãã¼åãã¦ãã¾ãã°ããããããï¼ã¨ãæããã§ãã
â¦ä»®æ³ãµã¼ãã¼ãåããã®ã«ã¯ã©ãã£ãããã®ãµã¼ãã¼PCãå¿
è¦ãªã®ããªãã