Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Running Concourse CI on enterprise private clou...

ozzozz
June 28, 2016

Running Concourse CI on enterprise private cloud【日本語版】

2016/6/28に Concourse CI/CD Meetup Tokyo #2 にて英語で発表したプレゼン資料の日本語版です。
英語版から若干ページが端折られていますが、これは実は日本語版を先に作ったからです。。。

ozzozz

June 28, 2016
Tweet

More Decks by ozzozz

Other Decks in Programming

Transcript

  1. •  ͜Ε·Ͱ೥Ҏ্ɺ$MPVE'PVOESZʹؔ͢Δ։ൃ΍ݕূͷͨΊʹ +FOLJOTΛ׆༻ͨ͠$*Λߦ͖͕ͬͯͨɺ࣍ͷΑ͏ͳ໰୊͕࿐ఄ •  ར༻ϊ΢ϋ΢͕ଐਓԽ͢Δɺ͍ΘΏΔʮ+FOLJOT͓͡͞Μʯ໰୊ •  ίʔυϨϏϡʔʹΑΔδϣϒఆٛͷਖ਼͠͞ͷอূ͕Ͱ͖ͳ͍ •  NBTUFSϊʔυͰδϣϒͷఆٛ΍ϩά͕શͯϑΝΠϧͱͯ͠อଘ ͞ΕΔͨΊɺNBTUFSϊʔυͷεέʔϧΞ΢τ͕೉͍͠

    •  ύΠϓϥΠϯͷఆٛ͸ɺͰ͖ͳ͘͸ͳ͍͕ɺ΋͸΍৬ਓܳͷҬ •  ͔͠͠ɺࣗલͷ$*؀ڥΛߏங͢Δͷʹ+FOLJOTҎ֎Λ࢖͏ͷ͸೉͠ ͔ͬͨ •  5SBWJT$*ͳͲͷ$*BB4͸ɺ֎෦αʔϏεͰ͋Γɺ͔ͭैྔ՝ۚͰ ͋ΔͨΊɺ৘ใ؅ཧ΍༧ࢉ؅ཧͷ໘ͰಋೖͰ͖ͳ͍ •  ͦ͜ʹᰜ૘ͱ$PODPVSTF$*͕ొ৔ •  $*$%1JQFMJOFBTBDPEF •  Ϋϥ΢υωΠςΟϒʂίϯςφϕʔεʂ •  #04)Ͱ؆୯ʹσϓϩΠɺ؆୯ʹӡ༻ʂ ͳͥ$PODPVSTF$*ʹऔΓ૊Ήͷ͔
  2. •  QSJWBUF%PDLFSSFHJTUSZ •  $*Λߴ଎ʹ࣮ߦ͚ͨ͠Ε͹༧Ί$*࣮ߦʹඞཁͳπʔ ϧྨ͕ೖͬͨ%PDLFSΠϝʔδΛ༻ҙ͢Δͷ͕Α͍ ͕ɺΠϝʔδαΠζ͕େ͖͘ͳΔͱ%PDLFS)VC͔ Βͷμ΢ϯϩʔυʹ͕͔͔࣌ؒΔͷͰɺۙ͘ʹ SFHJTUSZΛஔ͍ͯߴ଎Խ͢Δ •  (JU#VDLFU

    •  (JU)VCΫϩʔϯͱͯ͠ग़དྷ͕Α͍044 •  3PDLFU$IBU •  4MBDLΫϩʔϯͱͯ͠ग़དྷ͕Α͍044 •  *ODPNJOH8FC)PPLʹ΋ରԠ͍ͯ͠Δ •  +*3" •  αʔόϥΠηϯεΛߪೖ͢Δ͜ͱͰϓϥΠϕʔτΫ ϥ΢υͰ΋࣮ߦՄೳ ͳͥͦΕΛ࢖͏ͷʁ
  3. •  1SJWBUF%PDLFSSFHJTUSZ  •  (JU#VDLFU •  3PDLFU$IBU •  TFFʜIUUQTSPDLFUDIBUEPDTJOTUBMMBUJPO EPDLFSDPOUBJOFSTEPDLFSDPNQPTF

    •  +*3" •  TFFʜIUUQTHJUIVCDPNDQUBDUJPOIBOL EPDLFSBUMBTTJBOKJSB %PDLFSίϯςφͷಈ͔͠ํ $ docker run -d -p 8080:8080 -p 29418:29418 \ -v /srv/gitbucket:/gitbucket f99aq8ove/gitbucket $ docker run -d -p 5000:5000 \ -v /srv/docker-registry:/var/lib/registry registry:2
  4. $PODPVSTFͷ಺෦ߏ଄ͱଞ෦ࡐͱͷؔ܎ qZ $-*  BUD UTB QPTUHSFTRM HSPVOEDSFX HBSEFOSVOD CBHHBHFDMBJN

    $PODPVSTF "1* $PODPVSTF(6* NBTUFS7. XPSLFS7. QSJWBUF SFHJTUSZ BOSH
  5. •  #04)Ͱ$PODPVSTFΛσϓϩΠ͢Δ৔߹ EFQMPZNFOUNBOJGFTUʹҎԼΛ௥Ճ •  TUBOEBMPOFCJOBSZͰ$PODPVSTFXPSLFS Λಈ͔͢৔߹ίϚϯυΦϓγϣϯΛ௥Ճ QSPYZTFSWFSͷཪଆͰ$PODPVSTF$*Λಈ͔ ͢ʹ͸ properties: http_proxy_url:

    http://192.168.1.2:8080 https_proxy_url: http://192.168.1.2:8080 no_proxy: [localhost, 192.168.1.200] $ sudo concourse worker --work-dir … \ --http-proxy http://192.168.1.2:8080 \ --https-proxy http://192.168.1.2:8080 \ --no-proxy localhost,192.168.1.200