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

E2E test for the CRD #49

Merged
merged 25 commits into from
Oct 17, 2017
Merged

E2E test for the CRD #49

merged 25 commits into from
Oct 17, 2017

Conversation

jlewi
Copy link
Contributor

@jlewi jlewi commented Oct 13, 2017

  • Add links to the testgrid.
  • Start expanding runner.py to run an actual E2E test.

* Start expanding runner.py to run an actual E2E test.
* Deploys the TfJob helm chart and then runs the tests.
* Doesn't deploy the chart in its own namespace because the E2E test
  assumes its using default namespace.
* The output can be used by runner.py to determine the GCR path of
  the newly built image.
  and run the tests on.

* Fix a lint issue in the helm chart.
* Need to install docker so we can build the image locally without GCB.
* Fix some flags.
* runner.py should delete the GKE cluster.
* Add instructions about running the test inside a Docker container.
@krzyzacy
Copy link

good to see the presubmit is actually running now, but github status is not showing up properly

@jlewi
Copy link
Contributor Author

jlewi commented Oct 16, 2017

/test all

@jlewi
Copy link
Contributor Author

jlewi commented Oct 16, 2017

It looks like "/test all" successfully triggers jobs. The comment above appears to have triggered the run
https://prow.k8s.io/?repo=jlewi%2Fmlkube.io
Revision: #49 (aafcf4a) by jlewi
Started: Oct 16 19:10:53

So I think the only problem with GitHub integration is the k8s robots can't update the conversation thread.

@jlewi
Copy link
Contributor Author

jlewi commented Oct 16, 2017

/test all

* Need to get credentials otherwise helm won't work.
* Echo command output to logs so that it will show up in job log.
* Add some notes on the steps followed to setup Prow integration.
* Run helm init as part of retry loop waiting for helm to be initialized.
* Set a 2 minute timeout on waiting for helm to be initialized.
@jlewi
Copy link
Contributor Author

jlewi commented Oct 17, 2017

/test all

@jlewi
Copy link
Contributor Author

jlewi commented Oct 17, 2017

/test all

@jlewi
Copy link
Contributor Author

jlewi commented Oct 17, 2017

/test all

@jlewi jlewi merged commit 9a97daa into master Oct 17, 2017
@jhseu jhseu deleted the e2e_test branch November 3, 2017 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants