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

feat(conformance): Enable experiment API tests in KF mode. #7596

Merged
merged 2 commits into from
Apr 29, 2022

Conversation

james-jwu
Copy link
Contributor

Added 3 flags:

  • isDebugMode is enables HTTP request/response logging
  • IsKubeflowMode enables the tests in full Kubeflow mode
  • resourceNamespace: the namespace/profile under which the test
    resources are created

Added a new HTTP client that uses SA token volume projection auth. The
test pods will be set up to project SA token.

Plumbed everything through for experiment API tests. The other tests
will be enabled in subsequent PRs.

Added 3 flags:
- isDebugMode is enables HTTP request/response logging
- IsKubeflowMode enables the tests in full Kubeflow mode
- resourceNamespace: the namespace/profile under which the test
  resources are created

Added a new HTTP client that uses SA token volume projection auth. The
test pods will be set up to project SA token.

Plumbed everything through for experiment API tests. The other tests
will be enabled in subsequent PRs.
Copy link
Member

@chensun chensun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left a few nitpicks, overall LGTM.

Thanks!

/lgtm

backend/src/common/client/api_server/experiment_client.go Outdated Show resolved Hide resolved
backend/src/common/client/api_server/job_client.go Outdated Show resolved Hide resolved
backend/src/common/client/api_server/util.go Outdated Show resolved Hide resolved
backend/src/common/client/api_server/util.go Outdated Show resolved Hide resolved
@google-oss-prow google-oss-prow bot added the lgtm label Apr 27, 2022
@google-oss-prow google-oss-prow bot removed the lgtm label Apr 27, 2022
@james-jwu james-jwu requested a review from chensun April 27, 2022 19:30
@chensun
Copy link
Member

chensun commented Apr 28, 2022

/lgtm
/approve

Thanks!

@google-oss-prow google-oss-prow bot added the lgtm label Apr 28, 2022
@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chensun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@james-jwu james-jwu linked an issue Apr 29, 2022 that may be closed by this pull request
@google-oss-prow google-oss-prow bot merged commit 1265113 into kubeflow:master Apr 29, 2022
jagadeeshi2i pushed a commit to jagadeeshi2i/pipelines that referenced this pull request May 11, 2022
…7596)

* Conformance: Enable experiment API tests in KF mode.

Added 3 flags:
- isDebugMode is enables HTTP request/response logging
- IsKubeflowMode enables the tests in full Kubeflow mode
- resourceNamespace: the namespace/profile under which the test
  resources are created

Added a new HTTP client that uses SA token volume projection auth. The
test pods will be set up to project SA token.

Plumbed everything through for experiment API tests. The other tests
will be enabled in subsequent PRs.

* Updated change to address comments.
abaland pushed a commit to abaland/pipelines that referenced this pull request May 29, 2022
…7596)

* Conformance: Enable experiment API tests in KF mode.

Added 3 flags:
- isDebugMode is enables HTTP request/response logging
- IsKubeflowMode enables the tests in full Kubeflow mode
- resourceNamespace: the namespace/profile under which the test
  resources are created

Added a new HTTP client that uses SA token volume projection auth. The
test pods will be set up to project SA token.

Plumbed everything through for experiment API tests. The other tests
will be enabled in subsequent PRs.

* Updated change to address comments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adapt API integration test to run in full Kubeflow
3 participants