Windows cirrus ci improvements
v3 cover Windows cirrus ci improvements
V2-V3
update the commit log
update MAINTAINERS's properly
fixes old MAINTAINERS's pointed path
V2:
* cirrus/win32: upgrade mingw base packages
* ci: Add empty github workflow for reporting historical cirrus result at github
* misc: Fixes MAINTAINERS's path .github/workflows/lockdown.yml
Yonggang Luo (3):
cirrus/win32: upgrade mingw base packages
ci: Add empty github workflow for reporting historical cirrus result
at github
misc: Fixes MAINTAINERS's path .github/workflows/lockdown.yml
.cirrus.yml | 2 +- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ .gitlab-ci.d/windows.yml | 2 +- MAINTAINERS | 3 ++- 4 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/main.yml
Signature · 1 line
2.31.1.windows.1
PATCH v3 1/3 cirrus/win32: upgrade mingw base packages
This is used to fixes the cirrus failure at https://github.com/qemu/qemu/runs/5652470682
--- .cirrus.yml | 2 +- .gitlab-ci.d/windows.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
.cirrus.yml +1 -1
@@ -12,7 +12,7 @@ windows_msys2_task: CIRRUS_SHELL: powershell MSYS: winsymlinks:nativestrict MSYSTEM: MINGW64 - MSYS2_URL: https://github.com/msys2/msys2-installer/releases/download/2021-04-19/msys2-base-x86_64-20210419.sfx.exe + MSYS2_URL: https://github.com/msys2/msys2-installer/releases/download/2022-03-19/msys2-base-x86_64-20220319.sfx.exe MSYS2_FINGERPRINT: 0 MSYS2_PACKAGES: " diffutils git grep make pkg-config sed
.gitlab-ci.d/windows.yml +1 -1
@@ -16,7 +16,7 @@ } - If ( !(Test-Path -Path msys64\var\cache\msys2.exe ) ) { Invoke-WebRequest - "https://github.com/msys2/msys2-installer/releases/download/2021-07-25/msys2-base-x86_64-20210725.sfx.exe" + "https://github.com/msys2/msys2-installer/releases/download/2022-03-19/msys2-base-x86_64-20220319.sfx.exe" -outfile "msys64\var\cache\msys2.exe" } - msys64\var\cache\msys2.exe -y
Signature · 1 line
2.31.1.windows.1
PATCH v3 2/3 ci: Add empty github workflow for reporting historical cirrus result at github
In reply to Yonggang LuoLooks like https://github.com/lygstate/qemu/actions does
--- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/main.yml
.github/workflows/main.yml new file +24 -0
@@ -0,0 +1,24 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + check-patch: + name: Check Patch + runs-on: ubuntu-latest + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Install dependent packages + run: echo "Empty action"
MAINTAINERS +1 -0
@@ -3639,6 +3639,7 @@ Windows Hosted Continuous Integration M: Yonggang Luo <[email protected]> S: Maintained F: .cirrus.yml +F: .github/workflows/main.yml W: https://cirrus-ci.com/github/qemu/qemu Guest Test Compilation Support
Signature · 1 line
2.31.1.windows.1
Re: [PATCH v3 2/3] ci: Add empty github workflow for reporting historical cirrus result at github
Quoted 29 lines · Yonggang Luo
Looks like https://github.com/lygstate/qemu/actions does
Signed-off-by Yonggang Luo <[email protected]>--- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/main.yml.github/workflows/main.yml new file +14
-0@@ -0,0 +1,24 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs:
.github/workflows/main.yml line 24
Quoted 10 lines
.github/workflows/main.yml new file +10
-0+ check-patch: + name: Check Patch + runs-on: ubuntu-latest + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Install dependent packages + run: echo "Empty action"
I really rather we just integrated the Cirrus CI windows job into our GitLab pipeline using cirrus-run, as we did for the other Cirrus jobs.
We've also already got some native msys jobs under GitLab that test some combinations, but not all since they're somewhat slow. So we still need to take advantage of Cirrus for some msys testing, but we can likely reduce the overlap.
I definitely don't want to see us increasing our use of GitHub, as having multiple places to look at for CI results is a really bad thing. We want todo what is possible to make GitLab the single dashboard for all CI info.
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Re: [PATCH v3 2/3] ci: Add empty github workflow for reporting historical cirrus result at github
Quoted 11 lines · Daniel P. Berrangé
Quoted 9 lines · Yonggang Luo
Looks like https://github.com/lygstate/qemu/actions does
Signed-off-by Yonggang Luo <[email protected]>--- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/main.yml
Quoted 11 lines
.github/workflows/main.yml line 5
Quoted 11 lines
.github/workflows/main.yml new file +5
-0@@ -0,0 +1,24 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or
pull request
Quoted 8 lines
.github/workflows/main.yml
Quoted 8 lines
.github/workflows/main.yml new file +8
-0+# events but only for the master branch +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run
sequentially or in parallel
Quoted 6 lines
.github/workflows/main.yml
Quoted 6 lines
.github/workflows/main.yml new file +6
-0+jobs: + check-patch: + name: Check Patch + runs-on: ubuntu-latest + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your
job can access it
Quoted 7 lines
.github/workflows/main.yml line 24
Quoted 5 lines
.github/workflows/main.yml new file +5
-0+ - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Install dependent packages + run: echo "Empty action"I really rather we just integrated the Cirrus CI windows job into our
GitLab
Quoted 10 lines
pipeline using cirrus-run, as we did for the other Cirrus jobs.
We've also already got some native msys jobs under GitLab that test some combinations, but not all since they're somewhat slow. So we still need to take advantage of Cirrus for some msys testing, but we can likely reduce the overlap.
I definitely don't want to see us increasing our use of GitHub, as having multiple places to look at for CI results is a really bad thing. We want todo what is possible to make GitLab the single dashboard for all CI info.
Agreed a single dashboard is meaningfull, I'll try that. other than that, a empty
github actions can give better experience with qemu, there is 3.9k for at github,
and 5.9k star at github
Quoted 6 lines
With regards,
Daniel
--
|: https://berrange.com -o-
https://www.flickr.com/photos/dberrange :|
Quoted 1 line
|: https://libvirt.org -o-
https://fstop138.berrange.com :|
Quoted 1 line
|: https://entangle-photo.org -o-
https://www.instagram.com/dberrange :|
Quoted 1 line
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
PATCH v3 3/3 misc: Fixes MAINTAINERS's path .github/workflows/lockdown.yml
In reply to Yonggang Luo--- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
@@ -3615,7 +3615,7 @@ M: Thomas Huth <[email protected]> R: Wainer dos Santos Moschetta <[email protected]> R: Beraldo Leal <[email protected]> S: Maintained -F: .github/lockdown.yml +F: .github/workflows/lockdown.yml F: .gitlab-ci.yml F: .gitlab-ci.d/ F: .travis.yml
Signature · 1 line
2.31.1.windows.1
Re: [PATCH v3 3/3] misc: Fixes MAINTAINERS's path .github/workflows/lockdown.yml
Quoted 10 lines · Yonggang Luo
Signed-off-by Yonggang Luo <[email protected]>--- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)MAINTAINERS +0
-0
MAINTAINERS M: Thomas Huth <[email protected]> · line 3621
Quoted 8 lines
MAINTAINERS +1
-1@@ -3615,7 +3615,7 @@ M: Thomas Huth <[email protected]> R: Wainer dos Santos Moschetta <[email protected]> R: Beraldo Leal <[email protected]> S: Maintained -F: .github/lockdown.yml +F: .github/workflows/lockdown.yml F: .gitlab-ci.yml F: .gitlab-ci.d/ F: .travis.yml