实现基本探针功能
This commit is contained in:
@@ -58,33 +58,33 @@ jobs:
|
||||
apt-get install -y -q curl wget git nodejs npm
|
||||
- name: 获取存储库
|
||||
uses: http://47.120.49.189:3000/jiang/checkout@v4
|
||||
yum:
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- Home-centos7
|
||||
- Home-centos8
|
||||
# yum:
|
||||
# strategy:
|
||||
# matrix:
|
||||
# os:
|
||||
# - Home-centos7
|
||||
# - Home-centos8
|
||||
|
||||
- Home_arm64-centos7
|
||||
- Home_arm64-centos8
|
||||
# - Home_arm64-centos7
|
||||
# - Home_arm64-centos8
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: 系统信息
|
||||
run: |
|
||||
cat /etc/issue
|
||||
# lscpu | grep name
|
||||
df -h
|
||||
lsblk
|
||||
echo "10.0.0.250 mirror.centos.org" >>/etc/hosts
|
||||
sed -i "s/mirrorlist/#mirrorlist/g" $(grep -rl "mirrorlist" /etc/yum.repos.d/)
|
||||
sed -i "s/#baseurl/baseurl/g" $(grep -rl "#baseurl" /etc/yum.repos.d/)
|
||||
sed -i "s/https:\/\//http:\/\//g" $(grep -rl "http" /etc/yum.repos.d/)
|
||||
- name: 安装依赖
|
||||
run: |
|
||||
yum install -y curl wget git nodejs npm
|
||||
- name: 获取存储库
|
||||
uses: http://47.120.49.189:3000/jiang/checkout@v4
|
||||
# runs-on: ${{ matrix.os }}
|
||||
# steps:
|
||||
# - name: 系统信息
|
||||
# run: |
|
||||
# cat /etc/issue
|
||||
# # lscpu | grep name
|
||||
# df -h
|
||||
# lsblk
|
||||
# echo "10.0.0.250 mirror.centos.org" >>/etc/hosts
|
||||
# sed -i "s/mirrorlist/#mirrorlist/g" $(grep -rl "mirrorlist" /etc/yum.repos.d/)
|
||||
# sed -i "s/#baseurl/baseurl/g" $(grep -rl "#baseurl" /etc/yum.repos.d/)
|
||||
# sed -i "s/https:\/\//http:\/\//g" $(grep -rl "http" /etc/yum.repos.d/)
|
||||
# - name: 安装依赖
|
||||
# run: |
|
||||
# yum install -y curl wget git nodejs npm
|
||||
# - name: 获取存储库
|
||||
# uses: http://47.120.49.189:3000/jiang/checkout@v4
|
||||
dnf:
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
Reference in New Issue
Block a user