Skip to content

Commit 02765c1

Browse files
committed
Merge remote-tracking branch 'odh/v2.7.x' into stable
2 parents 4fd0b09 + 1f957b5 commit 02765c1

File tree

1,110 files changed

+145283
-58915
lines changed

Some content is hidden

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

1,110 files changed

+145283
-58915
lines changed

.cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ steps:
170170
args: ['pull', 'gcr.io/cloudsql-docker/gce-proxy:1.25.0']
171171
id: 'pullCloudsqlProxy'
172172
- name: 'gcr.io/cloud-builders/docker'
173-
args: ['pull', 'gcr.io/ml-pipeline/argoexec:v3.3.10-license-compliance']
173+
args: ['pull', 'gcr.io/ml-pipeline/argoexec:v3.4.17-license-compliance']
174174
id: 'pullArgoExecutor'
175175
- name: 'gcr.io/cloud-builders/docker'
176-
args: ['pull', 'gcr.io/ml-pipeline/workflow-controller:v3.3.10-license-compliance']
176+
args: ['pull', 'gcr.io/ml-pipeline/workflow-controller:v3.4.17-license-compliance']
177177
id: 'pullArgoWorkflowController'
178178

179179
# V2 related images

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Have questions or need support?
4+
url: https://github.com/kubeflow/pipelines/discussions
5+
about: Please ask questions on the Discussions tab

.github/stale.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# https://probot.github.io/apps/stale/
33
#
44
# Number of days of inactivity before an issue becomes stale
5-
daysUntilStale: 90
5+
daysUntilStale: 60
66
# Number of days of inactivity before a stale issue is closed
7-
daysUntilClose: 90
7+
daysUntilClose: 21
88
# Issues with these labels will never be considered stale
99
exemptLabels:
1010
- lifecycle/frozen

.github/workflows/backend.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: KFP Tekton backend unit tests
2+
3+
on:
4+
push:
5+
branches: [master]
6+
7+
# Run tests for any PRs which change the backend code
8+
pull_request:
9+
paths:
10+
- 'go.mod'
11+
- 'backend/**'
12+
- 'scripts/deploy/github/**'
13+
- 'manifests/kustomize/**'
14+
15+
env:
16+
GITHUB_ACTION: "true"
17+
SETUPTOOLS_USE_DISTUTILS: "stdlib"
18+
19+
jobs:
20+
run-go-unittests:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Install Go
24+
uses: actions/setup-go@v4
25+
with:
26+
go-version: 1.20.x
27+
- name: Checkout code
28+
uses: actions/checkout@v4
29+
- name: "run go unit tests"
30+
run: go test -v -cover ./backend/...
31+
backend-integration:
32+
runs-on: ubuntu-latest
33+
steps:
34+
- name: Checkout code
35+
uses: actions/checkout@v4
36+
- name: Create k8s Kind Cluster
37+
uses: container-tools/kind-action@v2
38+
with:
39+
cluster_name: kfp-tekton
40+
kubectl_version: v1.29.2
41+
version: v0.22.0
42+
node_image: kindest/node:v1.29.2
43+
- name: build images
44+
run: ./scripts/deploy/github/build-images.sh
45+
- name: Set up Python 3.10
46+
uses: actions/setup-python@v4
47+
with:
48+
python-version: '3.10'
49+
- name: "deploy kfp-tekton"
50+
run: ./scripts/deploy/github/deploy-kfp.sh
51+
- name: Install sdk
52+
run: |
53+
python3 -m venv .venv
54+
. .venv/bin/activate
55+
pip install -e sdk/python
56+
- name: "flip coin test"
57+
run: |
58+
. .venv/bin/activate
59+
TEST_SCRIPT="test-flip-coin.sh" ./scripts/deploy/github/e2e-test.sh
60+
- name: "static loop test"
61+
run: |
62+
. .venv/bin/activate
63+
TEST_SCRIPT="test-static-loop.sh" ./scripts/deploy/github/e2e-test.sh
64+
- name: "dynamic loop test"
65+
run: |
66+
. .venv/bin/activate
67+
TEST_SCRIPT="test-dynamic-loop.sh" ./scripts/deploy/github/e2e-test.sh
68+
- name: "use env"
69+
run: |
70+
. .venv/bin/activate
71+
TEST_SCRIPT="test-env.sh" ./scripts/deploy/github/e2e-test.sh
72+
- name: "use volume"
73+
run: |
74+
. .venv/bin/activate
75+
TEST_SCRIPT="test-volume.sh" ./scripts/deploy/github/e2e-test.sh
76+
- name: Collect test results
77+
if: always()
78+
uses: actions/upload-artifact@v4
79+
with:
80+
name: kfp-tekton-backend-artifacts
81+
path: /tmp/tmp.*/*

.github/workflows/codeql.yml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL"
13+
14+
on:
15+
schedule:
16+
# Every Friday at 19:39
17+
- cron: '39 19 * * 5'
18+
19+
jobs:
20+
analyze:
21+
name: Analyze
22+
runs-on: ubuntu-latest
23+
permissions:
24+
actions: read
25+
contents: read
26+
security-events: write
27+
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
language: [ 'go', 'javascript', 'python' ]
32+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
33+
# Use only 'java' to analyze code written in Java, Kotlin or both
34+
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
35+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
36+
37+
steps:
38+
- name: Checkout repository
39+
uses: actions/checkout@v3
40+
41+
# Initializes the CodeQL tools for scanning.
42+
- name: Initialize CodeQL
43+
uses: github/codeql-action/init@v2
44+
with:
45+
languages: ${{ matrix.language }}
46+
# If you wish to specify custom queries, you can do so here or in a config file.
47+
# By default, queries listed here will override any specified in a config file.
48+
# Prefix the list here with "+" to use these queries and those in the config file.
49+
50+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
51+
# queries: security-extended,security-and-quality
52+
53+
54+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
55+
# If this step fails, then you should remove it and run the build manually (see below)
56+
- name: Autobuild
57+
uses: github/codeql-action/autobuild@v2
58+
59+
# ℹ️ Command-line programs to run using the OS shell.
60+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
61+
62+
# If the Autobuild fails above, remove it and uncomment the following three lines.
63+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
64+
65+
# - run: |
66+
# echo "Run, Build Application using script"
67+
# ./location_of_script_within_repo/buildscript.sh
68+
69+
- name: Perform CodeQL Analysis
70+
uses: github/codeql-action/analyze@v2
71+
with:
72+
category: "/language:${{matrix.language}}"

.github/workflows/stale.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@ jobs:
2121
- uses: actions/stale@v5
2222
with:
2323
repo-token: ${{ secrets.GITHUB_TOKEN }}
24-
days-before-stale: -1
25-
days-before-close: -1
26-
days-before-issue-stale: 90
27-
days-before-issue-close: 90
24+
days-before-stale: 60
25+
days-before-close: 21
2826
stale-issue-message: >
2927
This issue has been automatically marked as stale because it has not had
3028
recent activity. It will be closed if no further activity occurs. Thank you

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,6 @@ __pycache__
8585
# Coverage
8686
.coverage
8787
.coverage*
88+
89+
# kfp local execution default directory
90+
local_outputs/

.release.cloudbuild.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -478,14 +478,14 @@ steps:
478478
docker push gcr.io/ml-pipeline/google/pipelines-test/cloudsqlproxy:$(cat /workspace/mm.ver)
479479
480480
- name: 'gcr.io/cloud-builders/docker'
481-
args: ['pull', 'gcr.io/ml-pipeline/argoexec:v3.3.10-license-compliance']
481+
args: ['pull', 'gcr.io/ml-pipeline/argoexec:v3.4.17-license-compliance']
482482
id: 'pullArgoExecutor'
483483
- name: 'gcr.io/cloud-builders/docker'
484-
args: ['tag', 'gcr.io/ml-pipeline/argoexec:v3.3.10-license-compliance', 'gcr.io/ml-pipeline/google/pipelines/argoexecutor:$TAG_NAME']
484+
args: ['tag', 'gcr.io/ml-pipeline/argoexec:v3.4.17-license-compliance', 'gcr.io/ml-pipeline/google/pipelines/argoexecutor:$TAG_NAME']
485485
id: 'tagArgoExecutorForMarketplace'
486486
waitFor: ['pullArgoExecutor']
487487
- name: 'gcr.io/cloud-builders/docker'
488-
args: ['tag', 'gcr.io/ml-pipeline/argoexec:v3.3.10-license-compliance', 'gcr.io/ml-pipeline/google/pipelines-test/argoexecutor:$TAG_NAME']
488+
args: ['tag', 'gcr.io/ml-pipeline/argoexec:v3.4.17-license-compliance', 'gcr.io/ml-pipeline/google/pipelines-test/argoexecutor:$TAG_NAME']
489489
id: 'tagArgoExecutorForMarketplaceTest'
490490
waitFor: ['pullArgoExecutor']
491491
- id: 'tagArgoExecutorForMarketplaceMajorMinor'
@@ -495,20 +495,20 @@ steps:
495495
args:
496496
- -ceux
497497
- |
498-
docker tag gcr.io/ml-pipeline/argoexec:v3.3.10-license-compliance gcr.io/ml-pipeline/google/pipelines/argoexecutor:$(cat /workspace/mm.ver)
499-
docker tag gcr.io/ml-pipeline/argoexec:v3.3.10-license-compliance gcr.io/ml-pipeline/google/pipelines-test/argoexecutor:$(cat /workspace/mm.ver)
498+
docker tag gcr.io/ml-pipeline/argoexec:v3.4.17-license-compliance gcr.io/ml-pipeline/google/pipelines/argoexecutor:$(cat /workspace/mm.ver)
499+
docker tag gcr.io/ml-pipeline/argoexec:v3.4.17-license-compliance gcr.io/ml-pipeline/google/pipelines-test/argoexecutor:$(cat /workspace/mm.ver)
500500
docker push gcr.io/ml-pipeline/google/pipelines/argoexecutor:$(cat /workspace/mm.ver)
501501
docker push gcr.io/ml-pipeline/google/pipelines-test/argoexecutor:$(cat /workspace/mm.ver)
502502
503503
- name: 'gcr.io/cloud-builders/docker'
504-
args: ['pull', 'gcr.io/ml-pipeline/workflow-controller:v3.3.10-license-compliance']
504+
args: ['pull', 'gcr.io/ml-pipeline/workflow-controller:v3.4.17-license-compliance']
505505
id: 'pullArgoWorkflowController'
506506
- name: 'gcr.io/cloud-builders/docker'
507-
args: ['tag', 'gcr.io/ml-pipeline/workflow-controller:v3.3.10-license-compliance', 'gcr.io/ml-pipeline/google/pipelines/argoworkflowcontroller:$TAG_NAME']
507+
args: ['tag', 'gcr.io/ml-pipeline/workflow-controller:v3.4.17-license-compliance', 'gcr.io/ml-pipeline/google/pipelines/argoworkflowcontroller:$TAG_NAME']
508508
id: 'tagArgoWorkflowControllerForMarketplace'
509509
waitFor: ['pullArgoWorkflowController']
510510
- name: 'gcr.io/cloud-builders/docker'
511-
args: ['tag', 'gcr.io/ml-pipeline/workflow-controller:v3.3.10-license-compliance', 'gcr.io/ml-pipeline/google/pipelines-test/argoworkflowcontroller:$TAG_NAME']
511+
args: ['tag', 'gcr.io/ml-pipeline/workflow-controller:v3.4.17-license-compliance', 'gcr.io/ml-pipeline/google/pipelines-test/argoworkflowcontroller:$TAG_NAME']
512512
id: 'tagArgoWorkflowControllerForMarketplaceTest'
513513
waitFor: ['pullArgoWorkflowController']
514514
- id: 'tagArgoWorkflowControllerForMarketplaceMajorMinor'
@@ -518,8 +518,8 @@ steps:
518518
args:
519519
- -ceux
520520
- |
521-
docker tag gcr.io/ml-pipeline/workflow-controller:v3.3.10-license-compliance gcr.io/ml-pipeline/google/pipelines/argoworkflowcontroller:$(cat /workspace/mm.ver)
522-
docker tag gcr.io/ml-pipeline/workflow-controller:v3.3.10-license-compliance gcr.io/ml-pipeline/google/pipelines-test/argoworkflowcontroller:$(cat /workspace/mm.ver)
521+
docker tag gcr.io/ml-pipeline/workflow-controller:v3.4.17-license-compliance gcr.io/ml-pipeline/google/pipelines/argoworkflowcontroller:$(cat /workspace/mm.ver)
522+
docker tag gcr.io/ml-pipeline/workflow-controller:v3.4.17-license-compliance gcr.io/ml-pipeline/google/pipelines-test/argoworkflowcontroller:$(cat /workspace/mm.ver)
523523
docker push gcr.io/ml-pipeline/google/pipelines/argoworkflowcontroller:$(cat /workspace/mm.ver)
524524
docker push gcr.io/ml-pipeline/google/pipelines-test/argoworkflowcontroller:$(cat /workspace/mm.ver)
525525

0 commit comments

Comments
 (0)