Ôõô¾ÙÐÐgitlab¼¯³ÉÉèÖã¿ÒªÁìÏÈÈÝ
Ëæ×ÅÈí¼þ¿ª·¢ÊÂÇéµÄÒ»Ö±Íƽø£¬°æ±¾¿ØÖƺÍÐͬ¿ª·¢±äµÃÔ½À´Ô½Ö÷Òª¡£Îª´Ë£¬gitlab ÔÚÕâ¸öÁìÓòÊÎÑÝ×ÅÒ»¸öÖ÷ÒªµÄ½ÇÉ«¡£±¾ÎĽ«ÏÈÈÝÔõÑùÔÚ gitlab ÖоÙÐм¯³ÉÉèÖã¬ÒÔ±ãÍŶӸüºÃµØÐͬÊÂÇé¡£
Ê×ÏÈ£¬È·±£ÄúÒѾӵÓÐÒ»¸ö GitLab ÕË»§£¬²¢ÇÒÄúÊÇÍŶÓÖеijÉÔ±¡£ÈôÊÇÄú»¹Ã»ÓÐ GitLab ÕË»§£¬Çë»á¼û GitLab ¹ÙÍø£¨https://about.gitlab.com/£©×¢²áÕË»§¡£
½ÓÏÂÀ´£¬ÎÒÃÇÐèÒª½¨ÉèÒ»¸öÏîÄ¿¡£ÔÚ GitLab Ö÷½çÃæµÄ×óÉϽǣ¬Ñ¡Ôñ ¡°New Project¡±£¬Ñ¡ÔñÄúµÄÏîÄ¿ÃüÃû£¬²¢Ñ¡ÔñÃüÃû¿Õ¼ä¡£ÎÒÃÇ»¹¿ÉÒÔÑ¡ÔñÊǽ«´úÂë´æ´¢ÔÚÍâµØÕÕ¾ÉÖ±½ÓÔÚ GitLab ÉϽ¨ÉèÏîÄ¿¡£ËäÈ»£¬±¾ÎÄÎÒÃǽ«ÒÔÖ±½ÓÔÚ GitLab ÉϽ¨ÉèÏîĿΪÀý¡£
Àֳɽ¨ÉèÏîÄ¿ºó£¬ÎÒÃǻῴµ½´úÂë¿ÍÕ»µÄÖ÷½çÃæ¡£ÎÒÃÇ¿ÉÒÔͨ¹ý ¡°Clone¡± °´Å¥½«´úÂë¿ÍÕ»¸´ÖƵ½×Ô¼ºµÄÍâµØ¡£½ÓÏÂÀ´£¬ÎÒÃǾͿÉÒÔ¾ÙÐÐ GitLab ¼¯³ÉÉèÖÃÁË¡£
ÏîÄ¿ÉèÖÃ
ÔÚ´úÂë¿ÍÕ»Ö÷½çÃæÉÏ£¬ÕÒµ½ ¡°Settings¡± °´Å¥¡£µã»÷Ëü£¬ÎÒÃǽøÈëÁËÏîÄ¿ÉèÖýçÃæ¡£
£¨1£©ÔÚ ¡°General¡± ±êÇ©Ï£¬¿ÉÒÔÉèÖÃÏîÄ¿µÄÃû³Æ¡¢ÐÎò¡¢¿É¼ûÐԵȡ£
£¨2£©ÔÚ ¡°Integrations¡± ±êÇ©Ï£¬ÎÒÃÇ¿ÉÒÔÌí¼ÓÐí¶à²î±ðÀàÐ͵ļ¯³É¹¤¾ß£¬ÀýÈç Slack¡¢Jira¡¢Trello µÈ¡£ÕâЩ¹¤¾ß¿ÉÒÔ×ÊÖúÎÒÃǸüºÃµØÐͬÊÂÇ飬ÒÔ±ã¸ü¸ßЧµØ¿ª·¢¡£
£¨3£©ÔÚ ¡°CI / CD¡± ±êÇ©Ï£¬ÎÒÃÇ¿ÉÒÔÉèÖÃÒ»Á¬¼¯³É/Ò»Á¬½»¸¶£¨CI / CD£©¹ÜµÀ¡£ÎÒÃÇ¿ÉÒÔÉèÖà GitLab Runner ²¢Ìí¼Ó¹¹½¨¾ç±¾£¬ÒÔÈ·±£´úÂëÖÊÁ¿ºÍ¿É¿¿µÄ°²ÅÅ¡£
£¨4£©ÔÚ ¡°Advanced¡± ±êÇ©Ï£¬ÎÒÃÇ¿ÉÒÔ½øÒ»²½ÉèÖÃÏîÄ¿ÉèÖã¬ÀýÈçÏîÄ¿±£»¤¡¢ÏîÄ¿³ÉÔ±¡¢LFS£¨Git Large File Storage£©ºÍ Webhooks ÉèÖõȵȡ£
´úÂë¿ÍÕ»
GitLab Ç¿Ê¢µÄ´úÂë·ÖÖ§ºÍºÏ²¢¹¦Ð§Ê¹µÃÍŶÓÐͬ¿ª·¢±äµÃÍòÎÞһʧ¡£
£¨1£©·ÖÖ§ÖÎÀí£ºGitLab µÄĬÈÏ·Ö֧Ϊ ¡°master¡± ·ÖÖ§£¬ÎÒÃÇ¿ÉÒÔƾ֤ÐèҪн¨¸ü¶àµÄ·ÖÖ§¡£ÍŶӳÉÔ±¿ÉÒÔÔÚ²»ÆÆËðÖ÷Òª´úÂëµÄÇéÐÎϾÙÐпª·¢ÊÂÇ飬²¢ÔÚ²âÊÔͨʺ󽫴úÂëºÏ²¢µ½ master ·ÖÖ§¡£
£¨2£©ºÏ²¢ÇëÇ󣺵±ÎÒÃÇÏò master ·ÖÖ§Ìá½»¸ü¸Äʱ£¬ÎÒÃÇÐèÒªÇëÇóÆäËûÍŶӳÉÔ±ÉóºËºÍÅú×¼ÕâЩ¸ü¸Ä¡£Õâ¾ÍÊÇ GitLab µÄºÏ²¢ÇëÇó¹¦Ð§¡£ºÏ²¢ÇëÇó²»µ«¿ÉÒÔ×ÊÖúÎÒÃǼá³Ö´úÂëÖÊÁ¿£¬»¹¿ÉÒÔ×ÊÖúÎÒÃǸüºÃµØе÷ÊÂÇéºÍ¸ú×ÙÎÊÌâ¡£
ÎÊÌâ×·×Ù
GitLab Ò²ÓÐÒ»Ì×ÍêÕûµÄÎÊÌâ×·×Ù¹¦Ð§¡£ÎÒÃÇ¿ÉÒÔʹÓÃÎÊÌâ×·×Ù¹¦Ð§À´¸ú×Ù BUG¡¢Ë¢ÐÂÇëÇóºÍ¹¦Ð§ÇëÇóµÈÎÊÌâ¡£
£¨1£©Ìí¼ÓÎÊÌ⣺ÎÒÃÇ¿ÉÒÔͨ¹ýÔÚ ¡°Issues¡± ±êǩϽ¨ÉèÐÂÎÊÌâÀ´Ìí¼ÓÎÊÌâ¡£¿ÉÒÔÖ¸¶¨ÎÊÌâµÄÀàÐÍ¡¢ÓÅÏȼ¶¡¢¹ØÁªµÄºÏ²¢ÇëÇó¡¢ÈÏÕæÈ˵ȡ£
£¨2£©Ö¸ÅÉ´¦Àí£ºµ±ÎÒÃǽ¨ÉèÐÂÎÊÌâʱ£¬ÎÒÃÇ¿ÉÒÔ½«ÎÊÌâÖ¸ÅɸøÌض¨µÄÈË¡£ÕâÓÐÖúÓÚÍŶӳÉÔ±¸üºÃµØе÷ÊÂÇ飬¸ú×ÙÎÊÌâʵʱ½â¾ö¡£
£¨3£©ÎÊÌâ¸ú×Ù£ºÎÒÃÇ¿ÉÒÔÔÚÎÊÌâ×·×ÙÒ³Ãæ¸ú×ÙÎÊÌâ״̬¡¢Ì¸ÂÛ¡¢ºÏ²¢ÇëÇóµÈ¡£±ðµÄ£¬GitLab »¹ÌṩÁËÐí¶àÆäËû¹¦Ð§£¬ÀýÈçÔÚ̸ÂÛÖÐÌἰij¸öÌض¨Ö°Ô±¡¢±ê¼ÇÎÊÌâΪÌض¨µÄ±êÇ©µÈµÈ¡£
×ܽá
ͨ¹ýÉèÖà GitLab ¼¯³É£¬ÎÒÃÇ¿ÉÒÔ¸üºÃµØÐͬÊÂÇ飬Ìá¸ßÉú²úЧÂʲ¢È·±£Èí¼þÖÊÁ¿¡£GitLab ´úÂë¿ÍÕ»µÄ¹¦Ð§Ç¿Ê¢ÇÒÒ×ÓÚʹÓ㬿ÉÒÔ´ó´ó¼ò»¯ÎÒÃǵÄÍŶӿª·¢ºÍÖÎÀíÊÂÇ顣ϣÍû±¾ÎĵÄÏÈÈÝ¿ÉÒÔ¶Ô¸÷ÈËÓÐËù×ÊÖú£¡
ÒÔÉϾÍÊÇÔõô¾ÙÐÐgitlab¼¯³ÉÉèÖã¿ÒªÁìÏÈÈݵÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡