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

Bug 1834852: Add make target to run operator with telepresence #241

Merged
merged 2 commits into from
May 14, 2020

Conversation

marun
Copy link
Contributor

@marun marun commented Apr 24, 2020

Once telepresence has been installed (see the run-telepresence.sh script for instructions), make telepresence will replace the operator's pod with a local process that has access to the same environment as the pod. This can speed up development since iteration doesn't rely on image build/push/pull cycle. See https://telepresence.io for more details.

@marun marun changed the title Add make target to run operator with telepresence WIP Add make target to run operator with telepresence Apr 24, 2020
@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 24, 2020
@marun marun force-pushed the telepresence branch 2 times, most recently from beb373c to 7fbe547 Compare April 27, 2020 05:14
@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 28, 2020
@marun marun changed the title WIP Add make target to run operator with telepresence Bug 1834852: Add make target to run operator with telepresence May 13, 2020
@openshift-ci-robot openshift-ci-robot added bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. and removed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels May 13, 2020
@openshift-ci-robot
Copy link

@marun: This pull request references Bugzilla bug 1834852, which is valid. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.5.0) matches configured target release for branch (4.5.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

In response to this:

Bug 1834852: Add make target to run operator with telepresence

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.

@openshift-ci-robot openshift-ci-robot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label May 13, 2020
@openshift-ci-robot
Copy link

@marun: This pull request references Bugzilla bug 1834852, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.5.0) matches configured target release for branch (4.5.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

In response to this:

Bug 1834852: Add make target to run operator with telepresence

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.

@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 13, 2020
@marun
Copy link
Contributor Author

marun commented May 14, 2020

@damemi @ingvagabund Is there something I'm missing in this PR that would be breaking e2e-aws-operator, or is it just flaking?

# Configure the 'telepresence' target
# See vendor/github.com/openshift/build-machinery-go/scripts/run-telepresence.sh for usage and configuration details
export TP_DEPLOYMENT_YAML ?=./manifests/0000_25_kube-scheduler-operator_06_deployment.yaml
export TP_CMD_PATH ?=./cmd/cluster-kube-scheduler-operator
Copy link
Member

Choose a reason for hiding this comment

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

Since you don't use $(call telepresence ...), will both variables have any effect?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for your review! The make target added by line 10 will be configured by these values. I've tested it to work on this and other PRs adding the telepresence target. Feel free to give it a try! :)

@ingvagabund
Copy link
Member

@marun I don't see how your changes might be related to e2e-aws-operator

/retest

@ingvagabund
Copy link
Member

Changes are scoped to the Makefile only. No customer impact.

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 14, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ingvagabund, marun

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 14, 2020
@openshift-merge-robot openshift-merge-robot merged commit 9fbc9a5 into openshift:master May 14, 2020
@openshift-ci-robot
Copy link

@marun: Some pull requests linked via external trackers have merged: openshift/cluster-authentication-operator#276, openshift/cluster-authentication-operator#284. The following pull requests linked via external trackers have not merged:

In response to this:

Bug 1834852: Add make target to run operator with telepresence

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.

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. bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants