[精讚] [會員登入]
116

testing gitlab and jenkins CI/CD on docker-1

在docker架設gitlab, jenkins 測試CI/CD pipeline第一章

分享此文連結 //n.sfs.tw/15908

分享連結 testing gitlab and jenkins CI/CD on docker-1@外行中的外行
(文章歡迎轉載,務必尊重版權註明連結來源)
2022-07-25 13:06:42 最後編修
2022-07-25 13:04:59 By jung
 

好不容易搞定yml

把gitlab和jenkins做成docker container

以下紀錄二個卡關地點

1. gitlab container無法做8080內部轉埠

在yml寫8080:80想把gitlab轉到容器外部的8080是失敗的

只好乖乖先用80

2. gitlab初始帳密無法取得

必須進到容器執行指令

docker -it xxxx /bin/sh 進到容器

切換到/etc/gitlab目錄

執行:gitlab-rake "gitlab:password:reset[root]"

等待回應會要求輸入新密碼,完成後才能在gitlab前端網頁登入

https://stackoverflow.com/questions/60062065/gitlab-initial-root-password

這篇才是對的

 

 

END

你可能感興趣的文章

specific instructions to create a maven archetype from local existing project. Generate an archetype from the project

[NetBeans]如何從git下載專案改建為自己的專案 修改git專案

更新java版本後一定要做的事情 how to deal with PKIX path building failed issue after upgrade java sdk version in IDE

使用letsEncrypt替換docker容器內的nginx https憑證 using cerbot for nginx on oracle linux 9

using google Appscript to send messages through LINE NOTIFY 使用google app script傳送LINE NOTIFY

openssl package update issue caused by cve-2022-2068 centos7 is at maintenance support phase2, only critical impact security issues will be patched

<<此文不開放留言>>

隨機好文

JIRA using gmail as smtp outgoing mail sender 如何設定jira使用gmail信箱送信

縣市端IdP新增自訂首頁內容功能 合併本部主程式,手動於mongo內新增管理使用者資料

使用virtualbox每次都忘記的事情 share folder from win host to linux guest vm

安裝netbeans9遇到的小狀況 how to show netbeans9 program onto ubuntu desktop

新增IDP程式使用google防機器人的驗證功能 身份認證程式新增google防機器人v2