Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report package cache contents at each stage of CI #3964

Merged
merged 1 commit into from
Dec 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 24 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ jobs:
run: |
make OPTIONS="-v --skip-platforms linux/s390x" -C test/pkg build

- name: list cache contents
run: |
linuxkit cache ls

test_packages:
name: Packages Tests
needs: [ build_packages, build ]
Expand Down Expand Up @@ -181,7 +185,10 @@ jobs:
key: ${{ runner.os }}-linuxkit-${{ github.sha }}
restore-keys: |
${{ runner.os }}-linuxkit-

- name: list cache contents
run: |
linuxkit cache ls

- name: Run Tests
run: make test TEST_SUITE=linuxkit.packages TEST_SHARD=${{ matrix.shard }}

Expand Down Expand Up @@ -234,6 +241,10 @@ jobs:
restore-keys: |
${{ runner.os }}-linuxkit-

- name: list cache contents
run: |
linuxkit cache ls

- name: Run Tests
run: make test TEST_SUITE=linuxkit.kernel

Expand Down Expand Up @@ -286,6 +297,10 @@ jobs:
sudo ln -s $(pwd)/bin/linuxkit-amd64-linux /usr/local/bin/linuxkit
/usr/local/bin/linuxkit version

- name: list cache contents
run: |
linuxkit cache ls

- name: Run Tests
run: make test TEST_SUITE=linuxkit.build

Expand Down Expand Up @@ -338,6 +353,10 @@ jobs:
restore-keys: |
${{ runner.os }}-linuxkit-

- name: list cache contents
run: |
linuxkit cache ls

- name: Run Tests
run: make test TEST_SUITE=linuxkit.platforms

Expand Down Expand Up @@ -390,5 +409,9 @@ jobs:
restore-keys: |
${{ runner.os }}-linuxkit-

- name: list cache contents
run: |
linuxkit cache ls

- name: Run Tests
run: make test TEST_SUITE=linuxkit.security