* Generate clickable artifact url for s3 URI
Signed-off-by: Jiaxin Shan <seedjeffwan@gmail.com>
* Format code using prettier@1.19.1
* Fix unit test failure
* Use encoded string in bucket url
* [UI] Also cloning recurring run schedule
* Fix unit test for trigger and utils
* Add and fix unit tests for Trigger
* Add NewRun page unit tests
* Fix unit tests
* Fix jest test timezone
* Show version tag in UI
* Add new arguments to test cloudbuild configuration
* backend cloudbuild should use commit_sha as argument
* Fix minor bug during dev
* show a preview of an artifact in the ui
* Add styling to preview box
* fix minor typo in unit test
* minor fixes + DetailsTable now accepts a ValueComponent again
* encode uricomponent for generate artifact url
* fix classname typo
* Added valueComponentProps for DetailsTable for better type checking.
* fix mock bug in test. peek -> maxbytes & maxlines for MinioArtifactPreview
* fix format
* mock Editor
* Rename artifacts tab to visualizations and add documentation link
* Show a banner when no visualizations
* Clean up code
* Update snapshots
* Fix banner tests
* Add unit test for visualization creator
* Update VisualizationCreator.tsx
* Update VisualizationCreator.tsx
* Add service account field to run and job api objects
* Update description
* Fix field casing
* Use service account from api object
* Fix bug and add unit test
* [UI] Allow choosing Kubernetes service account
* fix unit tests
* fix format
* Also clone service account
* service account UI features
* Add unit test for cloning service account
* Fix frontend integration tests
* archive button to experiment details page
* list of archived exp
* remove a prop
* restore; new run only in unarchived experiment
* in all experiments tab, only unarchived ones are listed
* refine dialog messages; disable selection of runs in archived experiment list
* unit test for experiment list component
* more unit tests
* remove unnecessary methods and props
* using tabs instead of radio buttons to switch between archived runs and archived experiments
* added tests
* fix rundetails test
* add tests
* sidenav snapshot
* sidenav snapshot update
* address comments
* format
* Authorization service proto
* implement auth service
* Add unit tests
* Generate auth api client
* Authorization checks for tensorboard apis
* UI Server authorization checks
* Clean up error parsing
* Revert changes
* Fix portable-fetch not found bug
* Fix unit test
* Include portable-fetch required by api client
* Fix portable-fetch module import error
* Fix portable-fetch again
* Add unit tests
* Address CR comments
* add unit test for header
* Update readme
* WorkflowParser->loadNodeOutputPaths
source: s3.endpoint === 's3.amazonaws.com' ? StorageService.S3 : StorageService.MINIO
* Use isS3Endpoint (server/aws-helper.ts) to identify artifact source
* npm run format
* created src/lib/AwsHelper.ts (for frontend code), because frontend client and frontend server do not share code for now.
* [UI Server] Proxy /namespaces/:namespace/artifacts/get requests to namespace specific artifact services
* [UI] Show artifacts by namespace
* Fix minio artifact link tests
* Fix DetailsTable tests
* Fix OutputArtifactLoader.test
* Change artifact proxy to use query param instead
* Add integration tests for artifact proxy
* Fix unit tests
* Rename service name
* Add comment
* add more comments
* Fix import
* Refactored how to spy on internal methods from tests
* add new field in db schema and api schema
* auto genereted types for experiment storage state
* add archive and unarchive methods to backend for experiments.
* auto generated archive/unarchive methods for epxeriments
* add archive and unarchive to client
* set proper storage state when creating experiment
* retrieve storage state when we get/list epxeriment(s)
* change expection in test to have storage state
* add storage state in resource manager test
* revise experiemnt server test
* revise api converter test
* integration test of experiment archive
* archive/unarchive experiment affect the storage state of runs in it
* test all the runs in archive/unarchive experiment
* test all runs are archived/unarchived with their experiment in experiment server
* integration test
* integration test: value type mismatch in assertion
* unused import; default value for storage state
* autogen code for frontend
* reorder the fields in api experiment schema
* switch the position of the two enum to verify a hypothesis
* Put a place hodler to prevent any valid item to take the value 0
* Get rid of the place holder since the cause of issue related to value 0 is found and fixed.
* The returned api experiment now has storage state field
* create experiment return doesn't contain storege state
* Cleanup needs to clean runs and pipeliens now
* a missing client
* use resource reference as fileter instead of experiment uuid
* use same namespace in archive unit test
* Leave archive/unarchive experiment integration test to a separate PR
* also need to update jobs when experiments are archived
* Change of unarchiving logic. When experiment is unarchived, jobs/runs in
it stay archived
* add unit test for the job status in archived/unarchived experiment
* change archive state to 3 value enum; add experiment integration test
* make archive state 3 value enum to avoid 0 value mapped to available; add integration test
* run swagger autogen
* fix an expected value
* fix experiment server test
* add job check in experiment server test
* update job crds
* fix a typo
* remove accidentally included irrelevant changes
* [UI Server] Add namespace argument for tensorboard endpoints
* Allow local node server to talk to minio in cluster
* Use tensorboard namespace in UI
* Add unit tests for tensorboard UI server
* Fix tests
* Fix tensorboard proxy url
* Fix tensorboard proxy failure
* Fix tests
* Remove unecessary encodeURIComponent
* Add old comment back
* [UI] Stops experiment list from leaking previous error message
* Move the fix to Page component so it's more generic
* [UI] Add namespace to AllRunsList api request
* [UI] Add namespace to archived run page
* Fix snapshot
* [UI] Stops experiment list from leaking previous error message
* Move the fix to Page component so it's more generic
* Update ExperimentList.test.tsx
* [UI Server] Pod info handler
* [UI] Pod info tab in run details page
* Change pod info preview to use yaml editor
* Fix namespace
* Adds error handling for PodInfo
* Adjust to warning message
* [UI] Pod events in RunDetails page
* Adjust error message
* Refactor k8s helper to get rid of in cluster limit
* Tests for pod info handler
* Tests for pod event list handler
* Move pod yaml viewer related components to separate file.
* Unit tests for PodYaml component
* Fix react unit tests
* Fix error message
* Address CR comments
* Add permission to ui role
* Regenerate frontend api client
* [UI] Add namespace resource reference to experiment api call
* Pass namespace to experiment list api call
* Add namespace to NewRun page api calls
* Parametrize the image used for the Tensorboard viewer
Right now, the image is hard-coded and it's not possible to override it.
This is a problem when running Kubeflow Pipelines in a cluster without
access to the internet or public repositories (e.g.
https://github.com/kubeflow/pipelines/issues/3232). This solves the
issue by parametrizing the image name through an environment
variable.
* Fix formatting issues
* Address review comments