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

Make test README compatible with a Dockerhub based setup. #2716

Merged
merged 6 commits into from
Jan 3, 2019

Conversation

markusthoemmes
Copy link
Contributor

Fixes #2715

Proposed Changes

  • Push test-images using just their basepath (that is: The folder they're located in, for example timeout). That makes the upload script compatible with Dockerhub.
  • Actually default --dockerrepo to DOCKER_REPO_OVERRIDE as the readmes say.

Release Note

NONE

@knative-prow-robot knative-prow-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 14, 2018
Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@markusthoemmes: 0 warnings.

In response to this:

Fixes #2715

Proposed Changes

  • Push test-images using just their basepath (that is: The folder they're located in, for example timeout). That makes the upload script compatible with Dockerhub.
  • Actually default --dockerrepo to DOCKER_REPO_OVERRIDE as the readmes say.

Release Note

NONE

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.

@markusthoemmes
Copy link
Contributor Author

/assign @jessiezcc
/assign @adrcunha

@markusthoemmes
Copy link
Contributor Author

/test pull-knative-serving-unit-tests

@markusthoemmes markusthoemmes changed the title Make test README compatible with a Dockerhub based setup. [WIP] Make test README compatible with a Dockerhub based setup. Dec 14, 2018
@knative-prow-robot knative-prow-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 14, 2018
@markusthoemmes
Copy link
Contributor Author

@adrcunha can we update ko to the latest version for the Prow jobs?

test/cluster.sh Outdated
@@ -147,9 +147,9 @@ function uninstall_knative_serving() {
# Publish all e2e test images in ${REPO_ROOT_DIR}/test/test_images/
function publish_test_images() {
echo ">> Publishing test images"
kubectl create namespace serving-tests
Copy link
Contributor

@adrcunha adrcunha Dec 17, 2018

Choose a reason for hiding this comment

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

This shouldn't be removed from here, see below.

header "Running tests"
kubectl create namespace serving-tests
Copy link
Contributor

Choose a reason for hiding this comment

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

Moving this here will break the other tests (performance, upgrade/downgrade, etc). All E2E tests expect the images to be pushed to the serving-tests namespace.

@adrcunha
Copy link
Contributor

@adrcunha can we update ko to the latest version for the Prow jobs?

Done.
/retest

@adrcunha
Copy link
Contributor

/retest

@adrcunha
Copy link
Contributor

/hold

Looks like we can't update the image used by the Prow jobs. You get -B in ko, but the Knative installation breaks. For details, please see #2479

@knative-prow-robot knative-prow-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 17, 2018
@adrcunha
Copy link
Contributor

#2479 is resolved, merge conflict fixed, unholding.

/retest

@adrcunha
Copy link
Contributor

Upgrade tests failed due to the missing test namespace, as expected.

@markusthoemmes
Copy link
Contributor Author

/test pull-knative-serving-upgrade-tests

@markusthoemmes markusthoemmes changed the title [WIP] Make test README compatible with a Dockerhub based setup. Make test README compatible with a Dockerhub based setup. Jan 2, 2019
@knative-prow-robot knative-prow-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 2, 2019
@markusthoemmes
Copy link
Contributor Author

@adrcunha added the "create namespace" call back in, thanks for bumping! Should be good to go now.

test/cluster.sh Outdated Show resolved Hide resolved
Co-Authored-By: markusthoemmes <[email protected]>
@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 3, 2019
@adrcunha
Copy link
Contributor

adrcunha commented Jan 3, 2019

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 3, 2019
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adrcunha, markusthoemmes

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

@adrcunha
Copy link
Contributor

adrcunha commented Jan 3, 2019

/retest

1 similar comment
@markusthoemmes
Copy link
Contributor Author

/retest

@adrcunha
Copy link
Contributor

adrcunha commented Jan 3, 2019

/hold cancel

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 3, 2019
@knative-prow-robot knative-prow-robot merged commit 9468093 into knative:master Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants