| SVN :: Deploy. AUDIT SVN ¹èÆ÷ ÀúÀå¼Ò¿¡¼ /¿¡¼ ¸±¸®½º Á¤¼ö / ¹èÆ÷ |
Áö±Ý ´Ù¿î·Îµå |
SVN :: Deploy. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Thomas Kratz
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~tomk/
SVN :: Deploy. ű×
SVN :: Deploy. ¼³¸í
°¨»ç SVN ¹èÆ÷ ÀúÀå¼Ò¸¦ /¿¡¼ /¿¡¼ ¸±¸®½º Á¤·® / ¹èÆ÷ ¸±¸®Áî / ¹èÆ÷ SVN :: Deploy´Â º°µµÀÇ SVN ÀúÀå¼Ò ³»¿¡¼ º¸À¯ µÈ ¸±¸®½º µ¥ÀÌÅ͸¦ ó¸®ÇϱâÀ§ÇÑ ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. °¢ Á¦Ç°ÀÌ ¿©·¯ ¼Ò½º (ÆÄÀÏ ½Ã½ºÅÛ¿¡¼ SVN ¸®Æ÷Áö¼Ç ¹× µð·ºÅ丮 ¶Ç´Â ÆÄÀÏ)¿Í ¿©·¯ ´ë»ó (ÆÄÀÏ ½Ã½ºÅÛ µð·ºÅ͸®)À¸·Î ±¸¼ºµÈ ºÐ·ù µÈ Á¦Ç°À» Á¤ÀÇ ÇÒ ¼ö ÀÖ½À´Ï´Ù. °³¹ßÀÚ°¡ ºôµå ¹× ¹èÆ÷ ´Ü°è¸¦ ¼öÇàÇؼ´Â ¾ÈµÇ´Â »óȲÀ» À§ÇØ ¼³°èµÇ¾ú½À´Ï´Ù. Á¦Ç°Àº °³¹ßÀÚ ¸®Æ÷ÁöÅ丮¿¡ ´ëÇÑ Àб⠸¸ Àд ÀÛ¾÷ÀÚ°¡ °³¹ßÀÚ°¡ ¹èÆ÷ ÀúÀå¼Ò¿¡ ¾×¼¼½º ÇÒ ¼ö ¾ø½À´Ï´Ù. SVN :: Deploy¸¦ »ç¿ëÇÕ´Ï´Ù. # svn :: °´Ã¼ ¹èÆ÷ ³» $ obj = svn :: deploy-> new (repo => svn :: // deploy_srv / deploy_repo ', cleanup_tmp => 1); # Ä«Å×°í¸® Ãß°¡ $ obj-> category_add (category => cat1 ') # Á¦Ç° Á¤ÀÇ ³» g = (build => perl build1.pl ',' Perl Build2.pl ',] , source => , qa => {dest => ',' / myPath / to / qa / ȯ°æ ',], ¹Ì¸® => Perl Pre.pl '], POST => Perl Post.pl '],}, prod => {dest = > ','/ mypath / to / prod / ȯ°æ ',], »çÀü => Perl Pre.pl ', POST => Perl Post.pl '] ,},); $ obj-> product_add (Ä«Å×°í¸® => 'cat1', product => 'prod1', ); # ¼Ò½º repos #¿¡¼ µ¥ÀÌÅÍ ³»º¸³»±â ¹× ¹èÆ÷ repo·Î °¡Á® ¿À±â My $ rev = $ obj-> build_version (category => 'cat1', product => 'prod1', ¹öÀü => { "svn : // source_srv / source_repo / trunk) / mypath1 "=> 42,"svn : // source_srv / source_repo / trunk / mypath2 "=> 42,}, comment => 'ÀϺΠ·Î±× ¸Þ½ÃÁö',); Àμâ "±¸Ãà µÈ ¹öÀüÀº ¹èÆ÷ repo \ n"¿¡¼ Revision $ Rev°¡ ÀÖ½À´Ï´Ù. # »õ·Î »ý¼º µÈ ¸±¸®½º #À» ÁöÁ¤µÈ ´ë»ó $ obj-> deploy_version (category => prod1 ', version => $ rev, target =>'qa ', revirec_id =>'¹öÀü 1.02) ¹èÆ÷ ', requered_from =>'bill ', tested_by =>'bob ', pumpking =>'beth ',}, comment => "´ÔÀÌ ÇÔ²² ÇÒ °ÍÀÔ´Ï´Ù :-)",); ¿ä±¸ »çÇ× : ¡¤ Perl.
SVN :: Deploy. °ü·Ã ¼ÒÇÁÆ®¿þ¾î