2025年6月27日
摘要:
故障1: 查看etcd服务和apiserver: [root@master ~]# crictl --runtime-endpoint=unix:///var/run/cri-dockerd.sock ps -a|grep api 7b37e91782436 9dc6939e7c573 2 minu
阅读全文
posted @ 2025-06-27 22:30
wadeson
阅读(18)
推荐(0)
摘要:
1、当gitlab-runner为docker类型: [root@localhost ~]# docker run -itd --restart always --name gitlab-runner -v /data/gitlab-runner/config:/etc/gitlab-runner
阅读全文
posted @ 2025-06-27 00:00
wadeson
阅读(18)
推荐(0)
2025年6月6日
摘要:
记录vmware安装Ubuntu 22.04.5系统: 选择最小化安装: 设置静态ip: 设置aliyun的源: 需要ssh远程登录,所以需要安装这个服务: 通过ssh连接: chasel@chasel:~$ sudo su - [sudo] password for chasel: root@ch
阅读全文
posted @ 2025-06-06 00:20
wadeson
阅读(194)
推荐(0)
2025年5月14日
摘要:
1、下载iso镜像:https://mirrors.aliyun.com/centos/8.5.2111/isos/x86_64/?spm=a2c6h.25603864.0.0.785544cbaVIkns 下载最小iso镜像 2、VMware安装 这里需要进行配置,不然通过不了: https://
阅读全文
posted @ 2025-05-14 20:29
wadeson
阅读(76)
推荐(0)
2025年4月12日
摘要:
jenkins安装: 1、通过yum进行安装jenkins [root@node2 ~]# yum install java-11-openjdk.x86_64 [root@node2 ~]# wget -O /etc/yum.repos.d/jenkins.repo --no-check-cert
阅读全文
posted @ 2025-04-12 14:01
wadeson
阅读(154)
推荐(0)
2024年10月1日
摘要:
参考文档:Jenkins plugin integration with Snyk | Snyk User Docs Follow the steps in each section of this document to use the Snyk Jenkins plugin: Install t
阅读全文
posted @ 2024-10-01 18:43
wadeson
阅读(81)
推荐(0)
2024年8月4日
摘要:
记录一些使用到的pipeline: 仓库多分支,选择分支下载代码: pipeline { agent any parameters { gitParameter branchFilter: 'origin/(.*)', defaultValue: 'main', name: 'BRANCH', ty
阅读全文
posted @ 2024-08-04 01:31
wadeson
阅读(86)
推荐(0)
2024年8月2日
摘要:
npm、yarn、pnpm 最新国内镜像源设置: # 淘宝镜像 npm config set registry https://registry.npmmirror.com # 官方镜像源 npm config set registry https://registry.npmjs.org/ mav
阅读全文
posted @ 2024-08-02 18:47
wadeson
阅读(373)
推荐(0)
2024年7月29日
摘要:
1、安装插件Blue Ocean 2、创建并配置: 3、将生成的公钥配置到gitlab: 4、配置完公钥: 创建完后: 因为这个仓库有Jenkinsfile文件,所以会直接执行: 而不会进行设计步骤,查看执行结果: 对应仓库文件Jenkinsfile:
阅读全文
posted @ 2024-07-29 20:01
wadeson
阅读(308)
推荐(0)
2024年7月28日
摘要:
如果Jenkins容器docker安装: docker run --privileged -d -p 9090:8080 -p 50000:50000 -v /var/lib/jenkins:/var/jenkins_home -v /etc/localtime:/etc/localtime -v
阅读全文
posted @ 2024-07-28 17:15
wadeson
阅读(312)
推荐(0)