2023年12月3日
摘要:
一、任務平臺演示(不帶參數) 1)創建不帶參數的命令 指定強制主機會強制在該機器執行 2) 創建執行用戶,在模板添加的執行的命令里面需要選擇執行用戶 3)創建不帶參數模板 id需要記錄下來,需要授權給相關用戶,用戶才能對該模板進行操作 4)創建標簽樹。標簽樹也就是組的改連,平臺操作任務發布的時候需要
閱讀全文
posted @ 2023-12-03 11:56
可口_可樂
閱讀(111)
推薦(0)
2022年9月23日
摘要:
一、基于jenkins和gitlab的ci cd 1)基于docker安裝gitlab 1.1)pull鏡像 docker pull gitlab/gitlab-ce:latest 官方鏡像 docker pull registry.cn-hangzhou.aliyuncs.com/imooc/gi
閱讀全文
posted @ 2022-09-23 18:22
可口_可樂
閱讀(828)
推薦(0)
2022年8月1日
摘要:
一、安裝gitlab服務器 1)創建測試組 2)基于組創建項目 3)用git 工具測試拉取代碼 二、搭建gitlab-ci服務器 1)安裝docker curl -sSL https://get.docker.com/ | sh 2)安裝gitlab ci runner curl -L https:
閱讀全文
posted @ 2022-08-01 11:14
可口_可樂
閱讀(1422)
推薦(0)
2022年1月5日
摘要:
https://www.bilibili.com/video/av66617940?p=36 一、域名訪問設置 1)獲取ingress的pod。添加的路由規則都記錄在里面 kubectl apply -f https://raw.githubusercontent.com/kubernetes/in
閱讀全文
posted @ 2022-01-05 16:17
可口_可樂
閱讀(3606)
推薦(0)
2021年8月20日
摘要:
一、token生成 相關文檔 https://python-gitlab.readthedocs.io/en/master/api-usage.html https://blog.csdn.net/xie_0723/article/details/75215869 代碼演示 import gitla
閱讀全文
posted @ 2021-08-20 17:43
可口_可樂
閱讀(1243)
推薦(0)
2021年8月12日
摘要:
一、安裝jenkins庫 pip install python-jenkins 使用用戶名方式訪問 import jenkins server = jenkins.Jenkins('http://10.212.82.86:8080', username='admin', password='admi
閱讀全文
posted @ 2021-08-12 16:33
可口_可樂
閱讀(2597)
推薦(0)
2021年2月16日
摘要:
一、數據結構 1)數據結構的定義 我們如何把現實中大量而且非常復雜的問題以特定的數據類型(個體)和特定的存儲結構(個體的關系)保存到相應的相應的主存儲器(內存)中, 以及在此基礎上為實現某個功能而執行的相應操作,這個相應的操作也叫做算法 數據結構 == 個體 + 個體的關系 算法 == 對存儲數據的
閱讀全文
posted @ 2021-02-16 20:50
可口_可樂
閱讀(130)
推薦(0)
2020年12月31日
摘要:
一、python通過config文件執行api操作 http://www.rzrgm.cn/zhangb8042/p/11444756.html https://github.com/kubernetes-client/python/tree/master/examples 1)準備環境 c
閱讀全文
posted @ 2020-12-31 12:02
可口_可樂
閱讀(3876)
推薦(0)
2020年5月8日
摘要:
一、做好鏡像文件 1、編輯腳本 pull.sh #!/bin/bash if [ $# -ne 1 ];then echo "Usage:$0 filename" exit 1 fi file=$1 if [ ! -f $file ];then echo "the $file is not a fi
閱讀全文
posted @ 2020-05-08 18:37
可口_可樂
閱讀(638)
推薦(0)
2020年5月6日
摘要:
一、安裝dns服務 1)yum安裝 yum install dnsmasq -y 2)配置本地的 dns 解析 # 設置上游DNS,畢竟你的Dns只是個代理 cat >/etc/resolv.dnsmasq <<EOF nameserver 114.114.114.114 nameserver 8.
閱讀全文
posted @ 2020-05-06 16:42
可口_可樂
閱讀(1232)
推薦(0)