Skip to content

Commit 02eb71f

Browse files
committed
chore: test updated kfp install for k8s-action & backend tests
Signed-off-by: zazulam <[email protected]>
1 parent 41a463e commit 02eb71f

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

.github/actions/kfp-k8s/action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,12 @@ runs:
4545
if: ${{ steps.generate-kfp-kubernetes-proto-files.outcome == 'success' }}
4646
run: |
4747
pip install -e ./kubernetes_platform/python[dev] --find-links=sdk/python/dist
48+
49+
# testing reinstalling kfp package from source with no deps
50+
- name: Reinstall kfp from source with no deps
51+
id: reinstall-kfp
52+
shell: bash
53+
if: ${{ steps.install-kfp-kubernetes.outcome == 'success' }}
54+
working-directory: ./sdk/python
55+
run: |
56+
pip install . -I --no-deps

backend/src/cache/server/mutation_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ func TestMutatePodIfCached(t *testing.T) {
169169

170170
func TestMutatePodIfCachedWithCacheEntryExist(t *testing.T) {
171171
executionCache := &model.ExecutionCache{
172-
ExecutionCacheKey: "1933d178a14bc415466cfd1b3ca2100af975e8c59e1ff9d502fcf18eb5cbd7f7",
172+
ExecutionCacheKey: "07f2c42567af4f141a52887e0a113c9aefdfdfd5e6b06b9908f7fdb0b43739af",
173173
ExecutionOutput: "testOutput",
174174
ExecutionTemplate: `{"container":{"command":["echo", "Hello"],"image":"python:3.11"}}`,
175175
MaxCacheStaleness: -1,
@@ -188,7 +188,7 @@ func TestMutatePodIfCachedWithCacheEntryExist(t *testing.T) {
188188

189189
func TestDefaultImage(t *testing.T) {
190190
executionCache := &model.ExecutionCache{
191-
ExecutionCacheKey: "1933d178a14bc415466cfd1b3ca2100af975e8c59e1ff9d502fcf18eb5cbd7f7",
191+
ExecutionCacheKey: "07f2c42567af4f141a52887e0a113c9aefdfdfd5e6b06b9908f7fdb0b43739af",
192192
ExecutionOutput: "testOutput",
193193
ExecutionTemplate: `{"container":{"command":["echo", "Hello"],"image":"python:3.11"}}`,
194194
MaxCacheStaleness: -1,

backend/src/v2/cacheutils/cache_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ func TestGenerateFingerPrint(t *testing.T) {
320320
},
321321
},
322322
wantEqual: true,
323-
fingerPrint: "4e8a5d7d70997b0a35429fcd481af8fcd5b9f58ef4391bdb6ad900fd1c63622b",
323+
fingerPrint: "b498530c9016917298999ec0b01f364a180f8a3862bea0fa672a383ca3f22e4e",
324324
}, {
325325
name: "Generated Different FingerPrint",
326326
cacheKey: &cachekey.CacheKey{
@@ -336,7 +336,7 @@ func TestGenerateFingerPrint(t *testing.T) {
336336
},
337337
},
338338
wantEqual: false,
339-
fingerPrint: "0a4cc1f15cdfad5170e1358518f7128c5278500a670db1b9a3f3d83b93db396e",
339+
fingerPrint: "3d9a2a778fa3174c6cfc6e639c507c265b5f21ef6e5b1dd70b236462cc6da464",
340340
},
341341
}
342342
cacheClient, err := NewClient(false, &tls.Config{})

0 commit comments

Comments
 (0)