[other] 构建 iso 镜像的 github 仓库是哪个
Tofloor
default avatar
tiezhuoyu
deepin
2024-03-05 09:06
Author

我在学习linux发行相关的知识,想看看 deepin 在软件打包、iso 镜像构建方面是怎么做的 😄

不过 github 上 deepin 的仓库太多了,找对应的代码仓库很不容易。。。

目前看下来,软件打包是通过 open build service 来做的,但是 iso 镜像构建的仓库只找到了 jenkins-bridge-client 客户端代码

func (cl *Client) PostISOBuildJob(version, arch string) { // ... SetHeader("Accept", "application/json"). SetHeader("X-token", cl.token). Post(cl.host + "/api/job/iso") // ... }

有人知道具体的构建脚本在哪个仓库里吗 😂

Reply Favorite View the author
All Replies
Tonny
deepin
2024-03-05 09:18
#1
It has been deleted!
tiezhuoyu
deepin
2024-03-05 09:19
#2
Tonny It has been deleted!

sob

Reply View the author
兆兆嘟嘟嘟
deepin
2024-03-05 11:03
#3
Tonny It has been deleted!

应该在ci源。

Reply View the author
tiezhuoyu
deepin
2024-03-05 11:48
#4
兆兆嘟嘟嘟

应该在ci源。

Repository-Integration 指的是这个仓库吗?我在它的 workflow 目录下面找到 iso.yaml,是镜像构建相关的。iso.yaml 安装了 jenkins client 客户端然后触发构建,不过我其实是想找 jenkins 服务端的构建脚本(还没找到😥 )

# iso.yaml # 主要是安装 jenkins client 并触发 iso 构建 jobs: iso-build: runs-on: ubuntu-latest strategy: matrix: arch: ["amd"] env: GITHUB_TOKEN: ${{ github.token }} BRIDGE_TOKEN: ${{ secrets.BRIDGETOKEN }} steps: - uses: actions/checkout@v2 with: repository: "linuxdeepin/jenkins-bridge-client" path: jenkins-bridge-client - name: Install Client run: | cd $GITHUB_WORKSPACE/jenkins-bridge-client go build . sudo install -Dvm755 jenkins-bridge-client -t /usr/bin/ - name: Trigger build id: generate-runid run: | echo "::set-output name=RUN_ID::$(jenkins-bridge-client triggerISOBuild --token $BRIDGE_TOKEN --arch ${{ matrix.arch }})" - name: Print log run: | jenkins-bridge-client printLog --token "$BRIDGE_TOKEN" --runid "${{ steps.generate-runid.outputs.RUN_ID }}" - name: cancelled if: ${{ cancelled() }} run: | jenkins-bridge-client cancelBuild --token "$BRIDGE_TOKEN" --runid "${{ steps.generate-runid.outputs.RUN_ID }}"
Reply View the author
👀偷偷观察
deepin
2024-03-05 11:55
#5
tiezhuoyu

Repository-Integration 指的是这个仓库吗?我在它的 workflow 目录下面找到 iso.yaml,是镜像构建相关的。iso.yaml 安装了 jenkins client 客户端然后触发构建,不过我其实是想找 jenkins 服务端的构建脚本(还没找到😥 )

# iso.yaml # 主要是安装 jenkins client 并触发 iso 构建 jobs: iso-build: runs-on: ubuntu-latest strategy: matrix: arch: ["amd"] env: GITHUB_TOKEN: ${{ github.token }} BRIDGE_TOKEN: ${{ secrets.BRIDGETOKEN }} steps: - uses: actions/checkout@v2 with: repository: "linuxdeepin/jenkins-bridge-client" path: jenkins-bridge-client - name: Install Client run: | cd $GITHUB_WORKSPACE/jenkins-bridge-client go build . sudo install -Dvm755 jenkins-bridge-client -t /usr/bin/ - name: Trigger build id: generate-runid run: | echo "::set-output name=RUN_ID::$(jenkins-bridge-client triggerISOBuild --token $BRIDGE_TOKEN --arch ${{ matrix.arch }})" - name: Print log run: | jenkins-bridge-client printLog --token "$BRIDGE_TOKEN" --runid "${{ steps.generate-runid.outputs.RUN_ID }}" - name: cancelled if: ${{ cancelled() }} run: | jenkins-bridge-client cancelBuild --token "$BRIDGE_TOKEN" --runid "${{ steps.generate-runid.outputs.RUN_ID }}"

并不是所有东西都开源的applaud

Reply View the author
tiezhuoyu
deepin
2024-03-05 12:10
#6
👀偷偷观察

并不是所有东西都开源的applaud

明白了ok

Reply View the author
兆兆嘟嘟嘟
deepin
2024-03-05 13:27
#7
tiezhuoyu

Repository-Integration 指的是这个仓库吗?我在它的 workflow 目录下面找到 iso.yaml,是镜像构建相关的。iso.yaml 安装了 jenkins client 客户端然后触发构建,不过我其实是想找 jenkins 服务端的构建脚本(还没找到😥 )

# iso.yaml # 主要是安装 jenkins client 并触发 iso 构建 jobs: iso-build: runs-on: ubuntu-latest strategy: matrix: arch: ["amd"] env: GITHUB_TOKEN: ${{ github.token }} BRIDGE_TOKEN: ${{ secrets.BRIDGETOKEN }} steps: - uses: actions/checkout@v2 with: repository: "linuxdeepin/jenkins-bridge-client" path: jenkins-bridge-client - name: Install Client run: | cd $GITHUB_WORKSPACE/jenkins-bridge-client go build . sudo install -Dvm755 jenkins-bridge-client -t /usr/bin/ - name: Trigger build id: generate-runid run: | echo "::set-output name=RUN_ID::$(jenkins-bridge-client triggerISOBuild --token $BRIDGE_TOKEN --arch ${{ matrix.arch }})" - name: Print log run: | jenkins-bridge-client printLog --token "$BRIDGE_TOKEN" --runid "${{ steps.generate-runid.outputs.RUN_ID }}" - name: cancelled if: ${{ cancelled() }} run: | jenkins-bridge-client cancelBuild --token "$BRIDGE_TOKEN" --runid "${{ steps.generate-runid.outputs.RUN_ID }}"

我倒是找到了这么些文件,不知道是不是iso构成脚本,你可以看看:https://cdimage.deepin.com/daily/有些文件夹里有名为“iso_build_sources.txt”的文件。

Reply View the author
tiezhuoyu
deepin
2024-03-06 00:56
#8
兆兆嘟嘟嘟

我倒是找到了这么些文件,不知道是不是iso构成脚本,你可以看看:https://cdimage.deepin.com/daily/有些文件夹里有名为“iso_build_sources.txt”的文件。

好的,感谢😁

Reply View the author
sweetyfish
deepin
2024-03-06 05:41
#9

ISO构建脚本没有开源

如果想自己构建的话,可以试试使用 https://salsa.debian.org/live-team/live-build

Reply View the author
tiezhuoyu
deepin
2024-03-06 06:20
#10
sweetyfish

ISO构建脚本没有开源

如果想自己构建的话,可以试试使用 https://salsa.debian.org/live-team/live-build

好的,我试试看👍

Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG