\psset{griddots=0,gridlabels=8pt,subgriddiv=5} \psset{xunit=10mm,yunit=10mm} \newcommand{\clr}{black} \psset{fillcolor=white} \psset{fillstyle=solid} \psset{linecolor=\clr} \psset{framearc=.5} \psset{framesep=20pt} \psset{arrowsize=10pt} \begin{pspicture}(12,6) % \psgrid \rput(2.5,5){\psframebox{\textcolor{\clr}{Gitlab-ci server}}} \rput(2.5,1){\psframebox{\textcolor{\clr}{Local workstation}}} \rput(8.5,3){\psframebox{\textcolor{\clr}{Gitlab-ci-multi-runner}}} \pscurve[fillstyle=none]{->}(4.6,5)(7.2,5)(8.5,3.9) \pscurve[fillstyle=none]{<-}(3,4.1)(4,3.2)(5.8,3) \pscurve[fillstyle=none]{<-}(8,2.1)(7.7,1.4)(8.5,.8)(9.3,1.4)(9,2.1) \psline{->}(1,1.9)(1,4.1) \rput(7,5.3){build trigger} \rput(.5,3){push} \rput(4,2.6){build result} \rput(8.5,.5){build} \end{pspicture}