Skip to content

Commit 7f4e0a6

Browse files
committed
chore: regen & update stubs for k8s and backend tests
Signed-off-by: zazulam <[email protected]>
1 parent 956631c commit 7f4e0a6

File tree

122 files changed

+1147
-1133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+1147
-1133
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: 3 additions & 3 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,
@@ -239,7 +239,7 @@ func TestCacheNodeRestriction(t *testing.T) {
239239

240240
func TestMutatePodIfCachedWithTeamplateCleanup(t *testing.T) {
241241
executionCache := &model.ExecutionCache{
242-
ExecutionCacheKey: "c81988503d55a5817d79bd972017d95c37f72b024e522b4d79787d9f599c0725",
242+
ExecutionCacheKey: "4b868c5d0b64e4d93e529eadaa04f0451eb5ae5c652dd79c08bdc47a6a1fe67a",
243243
ExecutionOutput: "testOutput",
244244
ExecutionTemplate: `Cache key was calculated from this: {"container":{"command":["echo", "Hello"],"image":"python:3.11"},"outputs":"anything"}`,
245245
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{})

kubernetes_platform/python/test/snapshot/data/config_map_as_env.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ deploymentSpec:
1717
- -c
1818
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
1919
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
20-
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.11.0'\
20+
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.14.6'\
2121
\ '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
2222
$0\" \"$@\"\n"
2323
- sh
@@ -46,7 +46,7 @@ root:
4646
taskInfo:
4747
name: comp
4848
schemaVersion: 2.1.0
49-
sdkVersion: kfp-2.11.0
49+
sdkVersion: kfp-2.14.6
5050
---
5151
platforms:
5252
kubernetes:
@@ -55,9 +55,10 @@ platforms:
5555
exec-comp:
5656
configMapAsEnv:
5757
- configMapName: my-cm
58-
configNameParameter:
58+
configMapNameParameter:
5959
runtimeValue:
6060
constant: my-cm
6161
keyToEnv:
6262
- configMapKey: foo
6363
envVar: CONFIG_MAP_VAR
64+
optional: false

kubernetes_platform/python/test/snapshot/data/config_map_as_vol.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ deploymentSpec:
1717
- -c
1818
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
1919
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
20-
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.11.0'\
20+
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.14.6'\
2121
\ '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
2222
$0\" \"$@\"\n"
2323
- sh
@@ -46,7 +46,7 @@ root:
4646
taskInfo:
4747
name: comp
4848
schemaVersion: 2.1.0
49-
sdkVersion: kfp-2.11.0
49+
sdkVersion: kfp-2.14.6
5050
---
5151
platforms:
5252
kubernetes:
@@ -55,7 +55,7 @@ platforms:
5555
exec-comp:
5656
configMapAsVolume:
5757
- configMapName: my-cm
58-
configNameParameter:
58+
configMapNameParameter:
5959
runtimeValue:
6060
constant: my-cm
6161
mountPath: /mnt/my_vol

kubernetes_platform/python/test/snapshot/data/create_mount_delete_dynamic_pvc.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ deploymentSpec:
9696
- -c
9797
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
9898
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
99-
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.11.0'\
99+
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.14.6'\
100100
\ '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
101101
$0\" \"$@\"\n"
102102
- sh
@@ -132,7 +132,7 @@ deploymentSpec:
132132
- -c
133133
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
134134
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
135-
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.11.0'\
135+
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.14.6'\
136136
\ '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
137137
$0\" \"$@\"\n"
138138
- sh
@@ -214,7 +214,7 @@ root:
214214
taskInfo:
215215
name: producer
216216
schemaVersion: 2.1.0
217-
sdkVersion: kfp-2.11.0
217+
sdkVersion: kfp-2.14.6
218218
---
219219
platforms:
220220
kubernetes:

kubernetes_platform/python/test/snapshot/data/create_mount_delete_existing_pvc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ deploymentSpec:
8686
- -c
8787
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
8888
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
89-
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.13.0'\
89+
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.14.6'\
9090
\ '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
9191
$0\" \"$@\"\n"
9292
- sh
@@ -161,7 +161,7 @@ root:
161161
taskInfo:
162162
name: deletepvc
163163
schemaVersion: 2.1.0
164-
sdkVersion: kfp-2.13.0
164+
sdkVersion: kfp-2.14.6
165165
---
166166
platforms:
167167
kubernetes:

kubernetes_platform/python/test/snapshot/data/create_mount_delete_existing_pvc_from_task_output.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ deploymentSpec:
9292
- -c
9393
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
9494
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
95-
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.13.0'\
95+
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.14.6'\
9696
\ '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
9797
$0\" \"$@\"\n"
9898
- sh
@@ -126,7 +126,7 @@ deploymentSpec:
126126
- -c
127127
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
128128
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
129-
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.13.0'\
129+
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.14.6'\
130130
\ '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
131131
$0\" \"$@\"\n"
132132
- sh
@@ -206,7 +206,7 @@ root:
206206
taskInfo:
207207
name: get-pvc-name
208208
schemaVersion: 2.1.0
209-
sdkVersion: kfp-2.13.0
209+
sdkVersion: kfp-2.14.6
210210
---
211211
platforms:
212212
kubernetes:

kubernetes_platform/python/test/snapshot/data/empty_dir_mounts.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ deploymentSpec:
1717
- -c
1818
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
1919
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
20-
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.11.0'\
20+
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.14.6'\
2121
\ '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
2222
$0\" \"$@\"\n"
2323
- sh
@@ -46,7 +46,7 @@ root:
4646
taskInfo:
4747
name: comp
4848
schemaVersion: 2.1.0
49-
sdkVersion: kfp-2.11.0
49+
sdkVersion: kfp-2.14.6
5050
---
5151
platforms:
5252
kubernetes:

kubernetes_platform/python/test/snapshot/data/field_path_as_env.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ deploymentSpec:
1717
- -c
1818
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
1919
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
20-
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.11.0'\
20+
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.14.6'\
2121
\ '--no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
2222
$0\" \"$@\"\n"
2323
- sh
@@ -46,7 +46,7 @@ root:
4646
taskInfo:
4747
name: comp
4848
schemaVersion: 2.1.0
49-
sdkVersion: kfp-2.11.0
49+
sdkVersion: kfp-2.14.6
5050
---
5151
platforms:
5252
kubernetes:

0 commit comments

Comments
 (0)