Cache for kubernetes tests is updateable (#10945)

The cache in Github Actions is immutable - once you create it
it cannot be modified. That's why cache keys should contain
hash of all files that are used to create the cache.

Kubernetes cache key did not contain it, and as a side effect
the cache from master kubernetes setup.py was used in the v1-10-test
after the breeze changes were cherry-picked.
This commit is contained in:
Jarek Potiuk 2020-09-15 02:24:15 +02:00 коммит произвёл GitHub
Родитель b628067b42
Коммит 83ed6bdb3f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

2
.github/workflows/ci.yml поставляемый
Просмотреть файл

@ -593,7 +593,7 @@ jobs:
cache-name: cache-kubernetes-tests-virtualenv-v3
with:
path: .build/.kubernetes_venv
key: "${{ env.cache-name }}-${{ github.job }}-v1"
key: "${{ env.cache-name }}-${{ github.job }}-${{ hashFiles('setup.py') }}-v1"
- name: "Kubernetes Tests"
run: ./scripts/ci/kubernetes/ci_run_kubernetes_tests.sh
- name: "Upload KinD logs"