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

Updates to enable e2e test for v1alpha2 #629

Merged
merged 3 commits into from
Jun 7, 2018

Conversation

ankushagarwal
Copy link

@ankushagarwal ankushagarwal commented Jun 6, 2018

  • Update test_runner.py to track new fields in version v1alpha2 for TFJob
  • Update simple_tfjob.jsonnet with new TFJob spec for v1alpha2

/assign @gaocegege

Related kubeflow/kubeflow#852


This change is Reviewable

@gaocegege
Copy link
Member

/LGTM

else:
for replicakey in results.get("spec", {}).get("tfReplicaSpecs", {}):
logging.info("replicakey: %s", results.get("spec", {}).get("tfReplicaSpecs", {}).get(replicakey, {}))
num_expected += results.get("spec", {}).get("tfReplicaSpecs", {}).get(replicakey, {}).get("replicas", 0)
Copy link
Member

Choose a reason for hiding this comment

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

Could the code work when there is a replicaspec worker while it does not specify the replicas (In this case the replicas will be set to 1)?

Copy link
Author

Choose a reason for hiding this comment

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

Done. PTAL.

@ankushagarwal ankushagarwal force-pushed the ankushagarwal-v1alpha2-test branch from c25eacf to 579b515 Compare June 7, 2018 03:10
@k8s-ci-robot k8s-ci-robot removed the lgtm label Jun 7, 2018
@gaocegege
Copy link
Member

/lgtm
/approve
Great thanks!

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gaocegege

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

@gaocegege
Copy link
Member

/retest

@k8s-ci-robot k8s-ci-robot removed the lgtm label Jun 7, 2018
@ankushagarwal
Copy link
Author

Fixed lint issues. @gaocegege Can you review again?

@gaocegege
Copy link
Member

/lgtm

@ankushagarwal
Copy link
Author

/retest

@k8s-ci-robot k8s-ci-robot merged commit 76661c0 into master Jun 7, 2018
@gaocegege gaocegege deleted the ankushagarwal-v1alpha2-test branch June 7, 2018 05:59
yph152 pushed a commit to yph152/tf-operator that referenced this pull request Jun 18, 2018
* Pass tfjob version to wait_for_job

* Handle case where replicas is not set

* Update
jetmuffin pushed a commit to jetmuffin/tf-operator that referenced this pull request Jul 9, 2018
* Pass tfjob version to wait_for_job

* Handle case where replicas is not set

* Update
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.

3 participants