Commit Graph

21 Commits

Author SHA1 Message Date
David van der Spek 434b41a19c
fix(backend): update requirements scripts (#10009)
* fix: update requirements scripts

Signed-off-by: David van der Spek <vanderspek.david@gmail.com>

* fix: visualization dependency hell

Signed-off-by: David van der Spek <vanderspek.david@gmail.com>

* bump snapshottest

Signed-off-by: David van der Spek <vanderspek.david@gmail.com>

* fix: pin jinja2

Signed-off-by: David van der Spek <vanderspek.david@gmail.com>

* fix: pin markupsafe to fix ci

Signed-off-by: David van der Spek <vanderspek.david@gmail.com>

---------

Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
2023-09-21 20:35:37 +00:00
gkcalat c2bc434c11
chore(backend): Add golangci-lint and pre-commit config (#9428)
* Add golangci-lint and pre-commit config

* Adopt golanci-lint config from k8s
2023-05-17 18:23:06 +00:00
Lingqing Gan fe66d20b98
chore(backend): format backend code and add style guide (#8140)
* go fmt backend/src folder

* add backend style info

* Add backend code style guide

* update wording

* fix typo and link

* small fix
2022-08-17 12:50:52 -07:00
Chen Sun 47809d4150
chore: Avoid duplicate go-licenses tool installation instructions (#8010) 2022-07-12 11:33:06 -07:00
James Wu 3867496983
feat(conformance): containerize KFP conformance test. (#7738)
* feat(conformance): containerize KFP conformance test.

* Address code review comments.

* Address code review comments.

* Address code review comments.

* Addressed code review comments.
2022-05-23 19:31:01 +00:00
Yuan (Bob) Gong 7c2f520fe3
chore: use the upstream go-licenses tool (#7408) 2022-03-16 02:10:34 +00:00
Chen Sun d5b615e517
chore: update go-licenses installation path in backend/README.md (#7221) 2022-01-28 13:04:37 +00:00
Yuan (Bob) Gong 59a0c9d1de
feat: upgrade TFX to 1.2.0 (#6375)
* feat: upgrade TFX to 1.2.0

* fix

* update

* fix visualization server

* fix2
2021-08-18 01:50:37 -07:00
Yuan (Bob) Gong c9d72e2f12
chore: check and comply with go mod licenses when building images. Fixes #4715 (#5908)
* chore: add licenses for persistence agent

* chore: update licenses for cache server, swf, viewer

* update

* check licenses when building images

* fix

* fix

* fix more

* add build image commands to makefile

* wip

* update argo license workflow to use the new go-licenses tool

* clean up

* clean up

* upgrade tool

* update
2021-06-25 05:48:53 -07:00
Niklas Hansson e669b22954
fix(backend): remove Bazel from building the API. Part of #3250 (#4906)
* updated to remove bazel

* rename@

* script to run in container

* update the generation

* updated docker image

* changed name

* updated the code

* regenerated API

* fix env variables

* updated version of go swagger

* rerun generate with updated package

* added healthz

* typo with folders fixed

* changed version

* set version of protoc compiler

* test if version is correct

* test version

* changed version

* updated version agian

* test version

* the latest test

* updated docker image

* fixed some stuff

* new test

* tested other version

* new tests

* changed swagger

* new test

* updated versions

* missed docker file

* updated files@

* change back

* updated after feedback@

* clean up

* remove license and install binary

* update and check differences

* completed rebase

* go mod tidy

* updated based upon work of boby

* remove code commited by misstake

* added by misstake

* updated after feedback

* futher updates after feedback

* final updates from feedback

* switch to Makefile

* update

* fix non-root execution

* clean up, fix release script

* fix swagger

* fix healthz endpoint & regenerate python client

* Delete sample.py.tar.gz

Co-authored-by: Yuan Gong <gongyuan94@gmail.com>
Co-authored-by: Yuan (Bob) Gong <4957653+Bobgy@users.noreply.github.com>
2021-02-16 16:58:30 -08:00
capri-xiyue 1791d8e185
docs(backend)update docs of deploying apiserver (#4930) 2020-12-22 22:34:26 -08:00
Yuan (Bob) Gong 9acc440c31
docs(backend): clean up readme (#4896) 2020-12-14 21:37:48 -08:00
Niklas Hansson 1b924e6e72
fix(Process): update backend development README. Fixes #4750 (#4774)
* updated backend README.md

* updated the name
2020-11-16 21:14:04 -08:00
Yihong Wang 06bf42998e
chore(backend): remove unused import in .proto (#4448)
nit: Clean up unused `import`s in proto files.
Since no actually code change, code gen is skipped.
2020-09-22 00:28:47 -07:00
Niklas Hansson 0f83eece66
chore(backend): mention the Bazel version requirements in the README.md (#3969)
* Update README.md

* Update backend/README.md
2020-06-24 16:58:07 +08:00
Alexey Volkov 915c84da99
Infra - Improved the update_requirements script (#3535)
This helps generating requirements for multiple requirements.in files.
It also fixes the locking issues that seem to be caused by mounting directories using Docker.
2020-04-17 13:20:04 -07:00
Kubernetes Prow Robot 7e610d1a32
backend: Pin python dependencies (#3161)
* backend: Pin python dependencies

Builds/tests failed due to broken transident dependencies. This pins the
python dependencies to prevent this in the future.

* Add README to test/sample-test
2020-03-05 01:54:38 -08:00
Ajay Gopinathan a882999c42 Use Remote Build Execution for Bazel builds. (#1031)
* [WIP] Use Remote Build Execution for Bazel builds.

* Add build_api_server.sh build script for API server.

* update build_image.yaml

* update build_image.yaml

* update build_image.yaml

* update build_image.yaml

* update build_image.yaml

* update build_image.yaml

* escape newlines

* Try using bazelbuilder's service account credentials.

* Clean up

* Add README

* Update backend README

* Update OWNERS
2019-09-30 10:41:38 -07:00
Ajay Gopinathan 02de9c55e8 Add fake metadata store and fix tests. (#958)
* Add fake metadata store and fix tests.

Also, add instructions on how to build/run the backend with Bazel.

Note that the fake metadata store works, but I need to add proper tests
that exercise it. That'll be done in a separate PR.

One thing I'm missing here is how to make Bazel run well in Travis. I
will send a follow up PR for doing this.

* move select for update to the db interface
2019-03-21 00:57:35 -07:00
Yasser Elsayed ec4d7e8bd3 Return resource count from ListXXX calls (#595)
* add count to protos and libs

* close db rows before second query

* count -> total_size

* int32 -> int

* move scan count row to util

* add comments

* add logs when transactions fail

* dedup from and where clauses

* simplify job count query

* job count queries

* run count queries

* add job_store total size test

* added tests for list util

* pr comments

* list_utils -> list

* fix clients and fake clients to support TotalSize

* added TotalSize checks in api integration tests
2019-01-31 11:15:54 -08:00
Ajay Gopinathan 163545b370 Use Bazel to build the entire backend and perform API code generation (#609)
* Use Bazel to build the entire backend.

This also uses Bazel to generate code from the API definition in the
proto files.

The Makefile is replaced with a script that uses Bazel to first generate
the code, and then copy them back into the source tree.

Most of the BUILD files were generated automatically using Gazelle.

* Fix indentation in generate_api.sh

* Clean up WORKSPACE

* Add README for building/testing backend.

Also fix the missing licenses in the generated proto files.

* Add license to files under go_http_client
2019-01-04 17:17:20 -08:00