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

[Snyk] Fix for 22 vulnerabilities #331

Closed
wants to merge 198 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
198 commits
Select commit Hold shift + click to select a range
5f80285
chore: Update RELEASE.md (#10767)
chensun Apr 30, 2024
cf7450b
fix(components): Add input param `autorater_prompt_parameters` to `on…
Apr 30, 2024
e9d6876
feat(components): create infer preprocessor component
Apr 30, 2024
cd16a33
feat(components): create utility class for preprocessors and use it i…
May 3, 2024
2f3dd3d
chore(sdk): drop Python 3.7 for kfp sdk (#10750)
rickyxie0929 May 3, 2024
804ee00
chore: Promote @rimolive as a backend approver (#10780)
chensun May 4, 2024
7908ed6
feat(components): use preprocessor utility methods for the upload mod…
May 7, 2024
d91a70a
chore: upgrade node to v18 (#10794)
HumairAK May 9, 2024
c4d7ec3
feat(GH workflow): migrate periodic functional tests to GH actions (#…
shruti2522 May 9, 2024
3da46b6
chore: Add Container Engine and Image Tag parameters to backend Makef…
gmfrasca May 9, 2024
92046be
chore: add meaningful logs to client initialization. (#10801)
HumairAK May 9, 2024
7c63599
feat(kubernetes_platform): Update kubernetes_platform go package to i…
hsteude May 9, 2024
5d9f4ab
feat(components): Retry on batch prediction internal errors in AutoSxS
TheMichaelHu May 8, 2024
00440f7
fix(components): Add staging and temp locations to prophet trainer co…
TheMichaelHu May 8, 2024
e369bd3
fix(components): Remove unused import function_based from infer pipeline
May 8, 2024
61a1166
docs(components): Bump the python version to 3.8
May 10, 2024
0c8950a
chore(components): GCPC 2.14.1 Release
May 10, 2024
06c0816
chore(components): Rollback GCPC 2.14.1 Release due to b/339911077
May 11, 2024
606bcfa
chore(components): Add TaskError proto
May 16, 2024
61331d2
chore(components): GCPC 2.14.1 Release
May 17, 2024
454a654
feat(components): Create the write_user_defined_error function
May 21, 2024
c18ec0b
test: fix CI failure for periodic functional tests (#10817)
tmvfb May 21, 2024
a9d5d07
chore(docs): Fix link (#7533)
haoxins May 23, 2024
d7e39e9
chore: Update Periodic Functional Tests to run once a day (#10842)
DharmitD May 24, 2024
1d5e83b
test: fix version conflict for functional tests (#10837)
tmvfb May 24, 2024
01ee4af
chore: server should skip sample load if path DNE (#10833)
DharmitD May 24, 2024
768ece4
fix(frontend): reduce list run latency (#10797)
droctothorpe May 27, 2024
b4f91a3
feat(components): Support parsing Gemini BP outputs in AutoSxS pipeline
TheMichaelHu May 29, 2024
609c637
feat(components): Use GetModel integration test to manually test writ…
May 30, 2024
6d3b8c3
docs: modified the ConfigMap as Env variable example in README.md wit…
vamsi-01 May 30, 2024
04b4cad
fix(sdk): Add required auth scopes to RegistryClient for GCP service …
PChambino May 30, 2024
45f3457
chore(deps): bump requests from 2.31.0 to 2.32.2 in /backend/src/apis…
dependabot[bot] Jun 3, 2024
24424ba
chore: Change command to apply manifests in the docs (#10864)
rimolive Jun 5, 2024
4e9fe75
fix(manifests): Move metacontroller to the top in kustmization.yaml (…
codablock Jun 5, 2024
8bcfb3d
test: Migrate Backend tests to a GHA workflow (#10871)
DharmitD Jun 5, 2024
65839ce
feat(backend): mount EmptyDir volumes for launcher write locations (#…
HumairAK Jun 6, 2024
8e4dfec
docs(components): internal
Jun 6, 2024
de346d5
feat(components): Add role_field_name and model_name as input paramet…
Jun 7, 2024
92c3178
fix(components): add check and add log to call out the fallback to th…
Jun 12, 2024
0c2bcf1
test: migrate kubeflow-pipeline-e2e-test to GitHub Actions (#10887)
hbelmiro Jun 13, 2024
b57f9e8
feat(components): Support dynamic machine type paramters in CustomTra…
KevinGrantLee Jun 13, 2024
e69078b
fix(kubernetes_platform): fix api-generator docker mount for SELinux …
gregsheremeta Jun 13, 2024
3a0566e
feat(components): Add Starry Net forecasting pipeline to public preview
Jun 13, 2024
4dab191
chore(components): Update AutoSxS and RLHF image tags
TheMichaelHu Jun 15, 2024
bf5104f
feat(components): Update Starry Net image tags
Jun 18, 2024
48b2d3f
chore: Updated Python image to 3.8 in backend/Dockerfile (#10941)
hbelmiro Jun 21, 2024
f1e2314
Expose starry_net yaml to GitHub (#10943)
chensun Jun 22, 2024
0bd65fb
chore(sdk): release KFP SDK 2.8.0 (#10940)
chensun Jun 22, 2024
991a610
chore: Upgrade Python version to 3.8 in readthedocs config (#10945)
chensun Jun 22, 2024
6723d3d
feat(frontend&backend): Add UI support for object store customization…
HumairAK Jun 25, 2024
338ff75
chore(components): Update AutoSxS and RLHF image tags
Jun 25, 2024
0eac081
chore(components): GCPC 2.15.0 Release
Jun 25, 2024
1b5de64
docs(backend): Remove deprecated v2 compatibility mode docs (#10956)
droctothorpe Jun 26, 2024
bdc3bb1
Upgrade go version to 1.21 (#10911)
DharmitD Jun 26, 2024
29b7d2f
chore: Add ability to mount self-signed certs to kfp (#10849)
DharmitD Jun 27, 2024
e3a4980
No public description
Jun 27, 2024
fb9213b
chore: Added @rimolive, @hbelmiro and @DharmitD as approvers and revi…
hbelmiro Jun 29, 2024
d499172
test: Migrate KFP SDK YAPF test to a GHA Workflow (#10961)
DharmitD Jun 29, 2024
7a21329
test: Created a new GitHub action to reuse the creation of a KFP clus…
hbelmiro Jun 29, 2024
568777d
test: kubeflow-pipeline-upgrade-test migrated to GitHub Actions (#10932)
hbelmiro Jul 1, 2024
2fb4922
test: Migrate Frontend tests to a GHA Workflow (#10972)
DharmitD Jul 1, 2024
7d2ec39
test: install kfp on github periodic functional tests workflow (#10859)
tmvfb Jul 2, 2024
38ef986
chore: Add an option to re-run GHA workflows (#10930)
rimolive Jul 2, 2024
0eae430
chore(components): Update Starry Net description and add nan- and zer…
Jul 8, 2024
2c3d9d7
test: Moved KFP backend visualization tests to GitHub Actions (#10984)
hbelmiro Jul 9, 2024
574c2ff
test: Migrate KFP SDK Upgrade Test to GHA (#10989)
DharmitD Jul 9, 2024
71a52ab
test: Migrate KFP SDK Runtime Code Test to GHA (#10991)
DharmitD Jul 10, 2024
4930bee
chore(components): Bump image version for Structured Data pipelines
Jul 12, 2024
9cb5913
chore(components): Fix bug due to protobuf library being upgraded by …
Jul 15, 2024
7660e8a
chore(components): Add target_field_name as input parameters to llm_e…
Jul 23, 2024
58b342a
chore(components): Bump Starry Net images and enforce that TF Record …
Jul 24, 2024
62b355a
chore(components): Add check that component in preview.custom_job.uti…
Jul 24, 2024
c8f08ba
feat(internal): Adding proto field to support regional quota
Jul 24, 2024
10aaf43
feat(kubernetes_platform): Add empty dir mount (#10892)
gregsheremeta Jul 24, 2024
b274866
test: Migrate KFP SDK Execution Tests to GHA (#10975)
DharmitD Jul 25, 2024
39fbd60
test: Removed mkp tests (#10924)
hbelmiro Jul 25, 2024
08185e7
fix(sdk): Throw 'exit_task cannot depend on any other tasks.' error w…
hbelmiro Jul 25, 2024
d911c8b
fix(docs): add note about protoc dependency and version (#10895)
gregsheremeta Jul 25, 2024
13ff5a9
chore: Adding @gregsheremeta to SDK reviewers. (#11042)
chensun Jul 25, 2024
f6ea7e3
chore: Adding @HumairAK to backend and frontend reviewers (#11043)
chensun Jul 25, 2024
1e95eb6
fix(docs): IR -> Pipeline Spec (#11031)
gregsheremeta Jul 26, 2024
f1d5479
test: Migrate miscellaneous SDK tests to GHA Workflow (#11032)
DharmitD Jul 26, 2024
97f2c66
chore: Adding @gregsheremeta to SDK reviewers (kubernetes_platform) (…
gregsheremeta Jul 27, 2024
643c923
test: Migrate KFP SDK Tests to GHA (#11037)
DharmitD Jul 27, 2024
3324d67
chore: adding @hbelmiro to kubernetes_platform/OWNERS (#11045)
hbelmiro Jul 28, 2024
e940ba2
test: Moved kfp-kubernetes-execution-tests to GitHub Actions (#10926)
hbelmiro Jul 30, 2024
eea7d48
add dev docs for kfp/sdk (#11046)
HumairAK Jul 30, 2024
e44dfa7
feat(components): Support dynamic machine parameters in preview.custo…
Jul 31, 2024
87184fd
test: Moved kubeflow-pipelines-samples-v2 to GitHub Actions (#11048)
hbelmiro Jul 31, 2024
461d892
feat(components): internal
Jul 31, 2024
ad03bb6
feat(component): internal
Jul 31, 2024
c420f8c
test: Add script and GitHub Action for kfp-kubernetes-library (#11006)
diegolovison Jul 31, 2024
ff4e918
chore(components): GCPC 2.16.0 Release
Aug 2, 2024
1612dac
fix: Incorrect typing in samples/cores/loop_parallism and fixing loop…
papagala Aug 2, 2024
522b593
feat(components): internal
Aug 3, 2024
6c4a250
chore: Fixed e2e tests (#11072)
hbelmiro Aug 5, 2024
65f6475
chore(components): Bump image version for Structured Data pipelines
Aug 5, 2024
abe5257
feat(components): internal
Aug 5, 2024
e128bdb
feat(components): internal
Aug 6, 2024
c6f658b
feat(components): internal
Aug 6, 2024
83dcf1a
feat(api): Add new ResourceSpec proto fields to support dynamic value…
KevinGrantLee Aug 6, 2024
2eb9bec
feat(components): internal
Aug 6, 2024
6f62203
feat(components): internal
Aug 7, 2024
99bd234
docs: Fix environment variables names (#11013)
diegolovison Aug 7, 2024
0e37fd6
feat(backend): move comp logic to workflow params (#10979)
zazulam Aug 8, 2024
c06d9ae
feat(component): internal
Aug 8, 2024
e8f0208
feat(components): internal
Aug 9, 2024
289f64f
fix(components): Fix to model batch explanation component for Structu…
Aug 10, 2024
7b7918e
feat(components): Support dynamic values for boot_disk_type, boot_dis…
Aug 12, 2024
3a68b60
chore: Upgrade Argo to v3.4.17 (#10978)
gmfrasca Aug 14, 2024
4458bdd
test: Moved kubeflow-pipelines-manifests to GitHub Actions (#11066)
VaniHaripriya Aug 14, 2024
000ef60
fix: re-enable exit hanler test. (#11100)
liavweiss Aug 15, 2024
2e6e634
fix(frontend): retrieve archived logs from correct location (#11010)
droctothorpe Aug 15, 2024
8041ea8
feat(component): internal
Aug 16, 2024
383cbcd
feat(component): internal
Aug 16, 2024
36cf066
chore(components): GCPC 2.16.1 Release
Aug 16, 2024
120a908
test: Fail fast when image build fails on tests #11102 (#11115)
ElayAharoni Aug 20, 2024
1a07ffa
fix(components): Use instance.target_field_name format for text-bison…
Aug 21, 2024
38f8f8e
chore: Renamed GitHub workflows from *.yaml to *.yml for consistency …
hbelmiro Aug 21, 2024
43cdc20
Fix view edit cluster roles (#11067)
papagala Aug 21, 2024
0d3e79a
fix(components): Pass moddel name to eval_runner to process batch pre…
Aug 21, 2024
4f36fe3
feat(components): release LLM Model Evaluation image version v0.7
jsondai Aug 22, 2024
91cd1f4
chore: Adding @DharmitD to SDK reviewers (#11131)
DharmitD Aug 22, 2024
37441af
test: Kubeflow Pipelines V2 integration Tests (#11125)
diegolovison Aug 23, 2024
ae8315c
chore: Add make targets for building driver and launcher images (#11103)
gmfrasca Aug 23, 2024
7506a8e
feat(Backend + SDK): Update kfp backend and kubernetes sdk to support…
gregsheremeta Aug 23, 2024
a3adf94
docs:fixing broken links in readme (#11108)
Fiona-Waters Aug 23, 2024
a71033b
chore(deps): bump micromatch from 4.0.5 to 4.0.8 in /test/frontend-in…
dependabot[bot] Aug 26, 2024
e1d172b
Fix: Basic sample tests - sequential is flaky (#11138)
diegolovison Aug 27, 2024
7c7ff12
chore: Wrapped "Failed GetContextByTypeAndName" error for better trou…
hbelmiro Aug 28, 2024
0d098db
chore(components): Update AutoSxS and RLHF image tags
TheMichaelHu Aug 28, 2024
1c7954d
test: Improvements to wait_for_pods function (#11162)
hbelmiro Sep 3, 2024
51d2c92
fix(frontend): fixes filter pipeline text box shows error when typing…
ElayAharoni Sep 3, 2024
2c91fb7
correct artifact preview behavior in UI (#11059)
HumairAK Sep 3, 2024
4c955f4
chore: Added DCO link to PR template (#11176)
hbelmiro Sep 6, 2024
f075d0c
chore(backend): Update driver and launcher licenses (#11177)
chensun Sep 6, 2024
344ea02
chore(backend): update driver and launcher default images (#11178)
chensun Sep 6, 2024
bd76229
chore: Add instructions for releasing driver and launcher images (#11…
chensun Sep 6, 2024
01ad460
test: Fixed `kfp-runtime-tests` to run on master branch (#11158)
hbelmiro Sep 6, 2024
d64554b
(fix): reduce executor logs (#11169)
HumairAK Sep 6, 2024
a34552a
chore: add PaulinaPacyna and ouadakarim as reviewers (#11180)
chensun Sep 6, 2024
7f9cf65
test: Move run-all-gcpc-modules to GitHub Actions (#11157)
aman23bedi Sep 6, 2024
3efa029
fix(sdk): Kfp support for pip trusted host (#11151)
diegolovison Sep 6, 2024
a59261c
chore(sdk): Loosening kubernetes dependency constraint (#11079)
egeucak Sep 6, 2024
c7f8729
chore: Remove unwanted Frontend test files (#10973)
DharmitD Sep 6, 2024
e9c77ec
fix(ui): fixes empty string value in pipeline parameters (#11175)
jan-stanek Sep 6, 2024
b69c1b6
chore(backend): update driver and launcher default images (#11182)
chensun Sep 6, 2024
4467df5
chore(release): bumped version to 2.3.0
chensun Sep 6, 2024
3897764
chore: Update RELEASE.md to remove obsolete instructions (#11183)
chensun Sep 6, 2024
2481193
chore: Release kfp-pipeline-spec 0.4.0 (#11189)
chensun Sep 9, 2024
3af8b64
chore: release kfp-kubernetes 1.3.0 (#11190)
chensun Sep 9, 2024
d3aa837
chore: update kfp-kubernetes release scripts and instructions (#11191)
chensun Sep 9, 2024
dfd4cc1
feat(sdk)!: Pin kfp-pipeline-spec==0.4.0, kfp-server-api>=2.1.0,<2.4.…
chensun Sep 9, 2024
1cded35
chore(sdk): release KFP SDK 2.9.0 (#11193)
chensun Sep 9, 2024
d23b72b
replaced deprecated image repos with registry.k8s.io (#11152)
HumairAK Sep 12, 2024
123ed1e
chore: Set Python 3.9 as the Minimum Supported Version (#11159)
diegolovison Sep 12, 2024
c642949
chore(docs): clean up kfp-kubernetes documentation index page (#11207)
gregsheremeta Sep 14, 2024
1a4849a
chore: move release instruction screenshots out of root directory (#1…
chensun Sep 16, 2024
eee095e
fix(ui): Fixes V1 Run detail unnecessary reloading. Fixes #10590 (#11…
quinnovator Sep 16, 2024
cfb3b31
fix(frontend): first time choosing a pipeline definition is VERY slow…
ElayAharoni Sep 16, 2024
b3e75cf
chore: clean up obsolete requirements.txt under root directory (#11216)
chensun Sep 16, 2024
581b7e5
chore(components): GCPC 2.17.0 Release
Sep 16, 2024
ba006bd
chore: fix CI by adding a dependency of python/sdk for the e2e-test (…
rimolive Sep 17, 2024
0b92f86
refactor: fix invalid escape sequences (#11147)
TheKevJames Sep 20, 2024
6589d4a
chore(deps): bump send and express in /frontend/mock-backend (#11200)
dependabot[bot] Sep 20, 2024
f4857ad
chore(deps): bump express from 4.17.3 to 4.20.0 in /frontend/server (…
dependabot[bot] Sep 20, 2024
70aaf8a
feat(sdk): support dynamic machine type parameters in pipeline task s…
KevinGrantLee Sep 20, 2024
a4119a6
fix(backend): upgrade PyYMAL to fix metadata_writer build error (#11231)
chensun Sep 20, 2024
7b38b6b
chore(deps-dev): bump elliptic from 6.5.5 to 6.5.7 in /frontend (#11127)
dependabot[bot] Sep 22, 2024
28967bc
chore(deps): bump fast-xml-parser and @aws-sdk/credential-providers i…
dependabot[bot] Sep 22, 2024
2305344
chore(deps): bump send and express in /frontend/server (#11229)
dependabot[bot] Sep 23, 2024
ea8f37c
chore: add workflow to build images (#11232)
HumairAK Sep 23, 2024
ceeda01
fix(workflows): patch reversed launcher / driver in workflow matrix (…
CarterFendley Sep 23, 2024
be6adb6
chore: Remove PaulinaPacyna from reviewers (#11242)
PaulinaPacyna Sep 24, 2024
880e46d
test: Fixed kubeflow-pipelines-integration-v2 workflow (#11244)
hbelmiro Sep 24, 2024
3f49522
feat(sdk): Allow disabling default caching via a CLI flag and env var…
DharmitD Sep 25, 2024
db8669c
feat(frontend/backend): Allow the ability to sort experiments by last…
ElayAharoni Sep 25, 2024
feacb52
chore: adding HumairAK to root OWNERS (#11253)
chensun Sep 27, 2024
85fdd73
feat(backend): add configurable S3 path style support (#11246)
ntny Sep 27, 2024
6c3ab39
chore: adding @hbelmiro to backend reviewers (#11256)
hbelmiro Sep 27, 2024
f4cdbeb
chore: pinned estroz/rerun-actions version (#11257)
hbelmiro Sep 27, 2024
374b18b
feat(backend): Remove PipelineSpec Template storage from ObjStore res…
gmfrasca Oct 3, 2024
219725d
fix(backend): randomizing output uri path to avoid overwriting. Fixes…
b4sus Oct 3, 2024
6f6c8ae
correct lastrun unittest timestamps (#11270)
HumairAK Oct 3, 2024
8590ec1
chore(deps): bump rollup from 2.63.0 to 2.79.2 in /frontend (#11254)
dependabot[bot] Oct 4, 2024
03b488d
chore(deps): bump webpack from 5.90.3 to 5.95.0 in /frontend (#11271)
dependabot[bot] Oct 8, 2024
c27df6f
chore(doc): Update kfp-kubenetes release instructions. (#11276)
chensun Oct 8, 2024
391de8c
fix(backend): set default value to true for ForcePathStyle (#11281)
zazulam Oct 9, 2024
91328b1
Added new Github Action workflow to verify CI checks
VaniHaripriya Oct 1, 2024
753a2f1
fix(components): remove default prediction column names in evaluation…
jsondai Oct 10, 2024
1550b36
feat(workflows): use built images in Github workflows (#11284)
CarterFendley Oct 11, 2024
4ccb047
test: Integrate Git Hub Action Results into Tide (#11262)
VaniHaripriya Oct 12, 2024
8e40aff
update wf
VaniHaripriya Oct 14, 2024
f0fb537
update wf
VaniHaripriya Oct 14, 2024
02ee85a
update wf
VaniHaripriya Oct 14, 2024
c7808fe
update wf
VaniHaripriya Oct 14, 2024
b30330f
Merge pull request #330 from VaniHaripriya/ghaction-tide-integration
VaniHaripriya Oct 14, 2024
329dbbb
fix: frontend/server/package.json & frontend/server/package-lock.json…
snyk-bot Oct 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ steps:
args: ['pull', 'gcr.io/cloudsql-docker/gce-proxy:1.25.0']
id: 'pullCloudsqlProxy'
- name: 'gcr.io/cloud-builders/docker'
args: ['pull', 'gcr.io/ml-pipeline/argoexec:v3.4.16-license-compliance']
args: ['pull', 'gcr.io/ml-pipeline/argoexec:v3.4.17-license-compliance']
id: 'pullArgoExecutor'
- name: 'gcr.io/cloud-builders/docker'
args: ['pull', 'gcr.io/ml-pipeline/workflow-controller:v3.4.16-license-compliance']
args: ['pull', 'gcr.io/ml-pipeline/workflow-controller:v3.4.17-license-compliance']
id: 'pullArgoWorkflowController'

# V2 related images
Expand Down
5 changes: 5 additions & 0 deletions .github/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
approvers:
- hbelmiro
- DharmitD
reviewers:
- rimolive
21 changes: 21 additions & 0 deletions .github/actions/kfp-cluster/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Set up KFP on KinD"
description: "Step to start and configure KFP on KinD"

runs:
using: "composite"
steps:
- name: Create k8s Kind Cluster
uses: container-tools/kind-action@v2
with:
cluster_name: kfp
kubectl_version: v1.29.2
version: v0.22.0
node_image: kindest/node:v1.29.2

- name: Build images
shell: bash
run: ./scripts/deploy/github/build-images.sh

- name: Deploy KFP
shell: bash
run: ./scripts/deploy/github/deploy-kfp.sh
21 changes: 21 additions & 0 deletions .github/actions/kfp-tekton-cluster/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Set up KFP Tekton on KinD"
description: "Step to start and configure KFP on KinD"

runs:
using: "composite"
steps:
- name: Create k8s Kind Cluster
uses: container-tools/kind-action@v2
with:
cluster_name: kfp
kubectl_version: v1.29.2
version: v0.22.0
node_image: kindest/node:v1.29.2

- name: Build images
shell: bash
run: ./scripts/deploy/github/build-images.sh

- name: Deploy KFP
shell: bash
run: ./scripts/deploy/github/deploy-kfp-tekton.sh
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


**Checklist:**
- [ ] You have [signed off your commits](https://www.kubeflow.org/docs/about/contributing/#sign-off-your-commits)
- [ ] The title for your pull request (PR) should follow our title convention. [Learn more about the pull request title convention used in this repository](https://github.com/kubeflow/pipelines/blob/master/CONTRIBUTING.md#pull-request-title-convention).
<!--
PR titles examples:
Expand Down
84 changes: 84 additions & 0 deletions .github/workflows/add-ci-passed-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# This workflow adds the 'ci-passed' label to a pull request once the 'CI Check' workflow completes successfully.
# Resets the 'ci-passed' label status when a pull request is synchronized or reopened,
# indicating that changes have been pushed and CI needs to rerun.
name: Add CI Passed Label

on:
workflow_run:
workflows: ["CI Check"]
types:
- completed

permissions:
pull-requests: write
checks: read
actions: read

jobs:
fetch_data:
name: Fetch workflow payload
runs-on: ubuntu-latest
if: >
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
outputs:
pr_number: ${{ steps.extract.outputs.pr_number }}
event_action: ${{ steps.extract.outputs.event_action }}
steps:
- name: 'Download artifact'
uses: actions/github-script@v3.1.0
with:
script: |
var artifacts = await github.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: ${{github.event.workflow_run.id}},
});
var matchArtifact = artifacts.data.artifacts.filter((artifact) => {
return artifact.name == "pr"
})[0];
var download = await github.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: matchArtifact.id,
archive_format: 'zip',
});
var fs = require('fs');
fs.writeFileSync('${{github.workspace}}/pr.zip', Buffer.from(download.data));

- name: Unzip artifact
run: unzip pr.zip

- name: Extract PR information
id: extract
run: |
pr_number=$(cat ./pr_number)
event_action=$(cat ./event_action)
echo "pr_number=${pr_number}" >> $GITHUB_OUTPUT
echo "event_action=${event_action}" >> $GITHUB_OUTPUT

add_ci_passed_label:
name: Add 'ci-passed' label
runs-on: ubuntu-latest
needs: fetch_data
steps:
- name: Add 'ci-passed' label
run: |
echo "Adding 'ci-passed' label to PR #${{ needs.fetch_data.outputs.pr_number }}"
gh pr edit ${{ needs.fetch_data.outputs.pr_number }} --add-label "ci-passed" --repo $GITHUB_REPOSITORY
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

reset_ci_passed_label:
name: Reset 'ci-passed' label on PR Synchronization
runs-on: ubuntu-latest
needs: fetch_data
steps:
- name: Check and reset label
run: |
if [[ "${{ needs.fetch_data.outputs.event_action }}" == "synchronize" || "${{ needs.fetch_data.outputs.event_action }}" == "reopened" ]]; then
echo "Resetting 'ci-passed' label as changes were pushed (event: ${{ needs.fetch_data.outputs.event_action }})."
gh pr edit ${{ needs.fetch_data.outputs.pr_number }} --remove-label "ci-passed" --repo $GITHUB_REPOSITORY || echo "Label not present"
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26 changes: 26 additions & 0 deletions .github/workflows/backend-visualization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: KFP backend visualization tests

on:
push:
branches: [ master ]

pull_request:
paths:
- '.github/workflows/backend-visualization.yml'
- 'backend/src/apiserver/visualization/**'
- 'test/presubmit-backend-visualization.sh'

jobs:
backend-visualization-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: Run tests
run: ./test/presubmit-backend-visualization.sh
20 changes: 6 additions & 14 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
# Run tests for any PRs which change the backend code
pull_request:
paths:
- '.github/workflows/backend.yml'
- 'go.mod'
- 'backend/**'
- 'scripts/deploy/github/**'
Expand All @@ -23,7 +24,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.20.x
go-version: 1.21.x
- name: Checkout code
uses: actions/checkout@v4
- name: "run go unit tests"
Expand All @@ -33,26 +34,17 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Create k8s Kind Cluster
uses: container-tools/kind-action@v2
with:
cluster_name: kfp-tekton
kubectl_version: v1.29.2
version: v0.22.0
node_image: kindest/node:v1.29.2
- name: build images
run: ./scripts/deploy/github/build-images.sh
- name: Set up Python 3.10
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: "deploy kfp-tekton"
run: ./scripts/deploy/github/deploy-kfp.sh
python-version: '3.9'
- name: Install sdk
run: |
python3 -m venv .venv
. .venv/bin/activate
pip install -e sdk/python
- name: Create KFP cluster
uses: ./.github/actions/kfp-tekton-cluster
- name: "flip coin test"
run: |
. .venv/bin/activate
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/ci-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflow checks if all CI checks have passed by polling every 5 minutes for a total of 7 attempts.
name: CI Check

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
check_ci_status:
runs-on: ubuntu-latest
permissions:
checks: read
pull-requests: write
steps:
- name: Check if all CI checks passed
uses: wechuli/allcheckspassed@0b68b3b7d92e595bcbdea0c860d05605720cf479
with:
delay: '5'
retries: '7'
polling_interval: '5'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Save PR payload
shell: bash
run: |
mkdir -p ./pr
echo ${{ github.event.pull_request.number }} >> ./pr/pr_number
echo ${{ github.event.action }} >> ./pr/event_action
- uses: actions/upload-artifact@v3.1.0
with:
name: pr
path: pr/
Loading
Loading