mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
Refine some details for the github actions update
Set the retention-days variable to 14 days for these artifacts: - the zloop error logs - the zloop vdev files - the compiled modules Add the abality to re-run some part of the functional testings. Fix some comments and remove the deleting of the modules artifact. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de> Closes #14637
This commit is contained in:
parent
c9c463a508
commit
480d809703
@ -37,7 +37,7 @@ function mod_install() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "::group::Install and load modules"
|
echo "::group::Install and load modules"
|
||||||
# delete kernel-shipped zfs modules, be sure about correct modules
|
# don't use kernel-shipped zfs modules
|
||||||
sudo sed -i.bak 's/updates/extra updates/' /etc/depmod.d/ubuntu.conf
|
sudo sed -i.bak 's/updates/extra updates/' /etc/depmod.d/ubuntu.conf
|
||||||
sudo apt-get install --fix-missing ./*.deb
|
sudo apt-get install --fix-missing ./*.deb
|
||||||
|
|
||||||
|
2
.github/workflows/zfs-linux-tests.yml
vendored
2
.github/workflows/zfs-linux-tests.yml
vendored
@ -41,6 +41,7 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
/var/tmp/zloop/*/
|
/var/tmp/zloop/*/
|
||||||
!/var/tmp/zloop/*/vdev/
|
!/var/tmp/zloop/*/vdev/
|
||||||
|
retention-days: 14
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
if: failure()
|
if: failure()
|
||||||
@ -48,6 +49,7 @@ jobs:
|
|||||||
name: Zpool-files-${{ inputs.os }}
|
name: Zpool-files-${{ inputs.os }}
|
||||||
path: |
|
path: |
|
||||||
/var/tmp/zloop/*/vdev/
|
/var/tmp/zloop/*/vdev/
|
||||||
|
retention-days: 14
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
|
||||||
sanity:
|
sanity:
|
||||||
|
29
.github/workflows/zfs-linux.yml
vendored
29
.github/workflows/zfs-linux.yml
vendored
@ -20,17 +20,12 @@ jobs:
|
|||||||
- name: Build modules
|
- name: Build modules
|
||||||
run: .github/workflows/scripts/setup-dependencies.sh build
|
run: .github/workflows/scripts/setup-dependencies.sh build
|
||||||
- name: Prepare modules upload
|
- name: Prepare modules upload
|
||||||
run: tar czf modules-${{ matrix.os }}.tgz *.deb .github scripts/zfs-tests-color.sh tests/test-runner tests/ImageOS.txt
|
run: tar czf modules-${{ matrix.os }}.tgz *.deb .github tests/test-runner tests/ImageOS.txt
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: modules-${{ matrix.os }}
|
name: modules-${{ matrix.os }}
|
||||||
path: modules-${{ matrix.os }}.tgz
|
path: modules-${{ matrix.os }}.tgz
|
||||||
- name: Prepare scripts upload
|
retention-days: 14
|
||||||
run: tar czf scripts.tgz .github tests/test-runner
|
|
||||||
- uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: scripts
|
|
||||||
path: scripts.tgz
|
|
||||||
|
|
||||||
testings:
|
testings:
|
||||||
name: Testing
|
name: Testing
|
||||||
@ -52,20 +47,18 @@ jobs:
|
|||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
- name: Generating summary
|
- name: Generating summary
|
||||||
run: |
|
run: |
|
||||||
tar xzf scripts/scripts.tgz .github tests
|
tar xzf modules-22.04/modules-22.04.tgz .github tests
|
||||||
.github/workflows/scripts/generate-summary.sh
|
.github/workflows/scripts/generate-summary.sh
|
||||||
# up to 4 steps, each can have 1 MiB output (for debugging log files)
|
# up to 4 steps, each can have 1 MiB output (for debugging log files)
|
||||||
- run: .github/workflows/scripts/generate-summary.sh 1
|
- name: Summary for errors #1
|
||||||
- run: .github/workflows/scripts/generate-summary.sh 2
|
run: .github/workflows/scripts/generate-summary.sh 1
|
||||||
- run: .github/workflows/scripts/generate-summary.sh 3
|
- name: Summary for errors #2
|
||||||
- run: .github/workflows/scripts/generate-summary.sh 4
|
run: .github/workflows/scripts/generate-summary.sh 2
|
||||||
|
- name: Summary for errors #3
|
||||||
|
run: .github/workflows/scripts/generate-summary.sh 3
|
||||||
|
- name: Summary for errors #4
|
||||||
|
run: .github/workflows/scripts/generate-summary.sh 4
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Summary Files
|
name: Summary Files
|
||||||
path: Summary/
|
path: Summary/
|
||||||
- uses: geekyeggo/delete-artifact@v2
|
|
||||||
with:
|
|
||||||
name: modules-20.04
|
|
||||||
- uses: geekyeggo/delete-artifact@v2
|
|
||||||
with:
|
|
||||||
name: modules-22.04
|
|
||||||
|
Loading…
Reference in New Issue
Block a user