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

Create a script to release the TFJob operator image #515

Merged
merged 5 commits into from
Apr 2, 2018

Conversation

jlewi
Copy link
Contributor

@jlewi jlewi commented Mar 30, 2018

  • Add a script to submit the Argo workflow.

  • Related to

kubeflow/kubeflow#215


This change is Reviewable

@jlewi
Copy link
Contributor Author

jlewi commented Mar 30, 2018

/uncc @lluunn
/uncc @zjj2wry
/assign @willb
/assign @gaocegege

@coveralls
Copy link

coveralls commented Mar 30, 2018

Coverage Status

Coverage remained the same at 45.236% when pulling 4a3e853 on jlewi:release_docs into c5c8c26 on kubeflow:master.

Copy link

@willb willb left a comment

Choose a reason for hiding this comment

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

nit: could the title of this commit be "create a script to release the TFJob operator image"? "instructions" implies prose documentation to me.

@jlewi jlewi changed the title Create instructions for doing a release of TFJob operator docker image Create a script to release the TFJob operator image Mar 30, 2018
@jlewi
Copy link
Contributor Author

jlewi commented Mar 30, 2018

Done.

PROW_VAR="${PROW_VAR},REPO_OWNER=${REPO_OWNER},BUILD_NUMBER=${BUILD_NUMBER}"
PROW_VAR="${PROW_VAR},PULL_BASE_SHA=${PULL_BASE_SHA}"

cd test/workflows
Copy link

Choose a reason for hiding this comment

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

nit: maybe cd $(git rev-parse --show-toplevel)/test/workflows so developers could run this from anywhere in the tree (or keep it in their PATH, even).

Copy link

@willb willb left a comment

Choose a reason for hiding this comment

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

If we can figure out how to run this script in CI (we aren't doing that now, right?), that would be really useful.

Otherwise, this looks good.

/lgtm

@jlewi
Copy link
Contributor Author

jlewi commented Mar 30, 2018

@willb Its definitely doable but I think that falls into the bucket of how to further improve the tooling around releases.

jlewi added 2 commits March 30, 2018 15:56
* Update the submit_release_job.sh so it can run from anywhere in the tree.
@k8s-ci-robot k8s-ci-robot removed the lgtm label Mar 30, 2018
@willb
Copy link

willb commented Mar 30, 2018

@jlewi agreed that this shouldn’t block on having the script run in CI; I’ll file an issue for a future release.

The script changes look good; thanks!

/lgtm
/approve

@gaocegege
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot removed the lgtm label Apr 2, 2018
@jlewi
Copy link
Contributor Author

jlewi commented Apr 2, 2018

/retest

@jlewi
Copy link
Contributor Author

jlewi commented Apr 2, 2018

/approve
/lgtm

@k8s-ci-robot
Copy link

@jlewi: you cannot LGTM your own PR.

In response to this:

/approve
/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ankushagarwal
Copy link

/lgtm

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ankushagarwal, gaocegege, jlewi, willb

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

@k8s-ci-robot k8s-ci-robot merged commit a83ccdc into kubeflow:master Apr 2, 2018
jetmuffin pushed a commit to jetmuffin/tf-operator that referenced this pull request Jul 9, 2018
* Create instructions for doing a release of TFJob operator docker image

* Add a script to submit the Argo workflow.

* * Add instructions for how to do a release.
* Update the submit_release_job.sh so it can run from anywhere in the tree.

* * Get the root directory based on the script.
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.

6 participants