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

Trigger controller with caches #9485

Merged
merged 2 commits into from
Jun 24, 2016
Merged

Trigger controller with caches #9485

merged 2 commits into from
Jun 24, 2016

Conversation

0xmichalis
Copy link
Contributor

@deads2k in a similar fashion to the main controller.

cc: @smarterclayton @ironcladlou @mfojtik

@0xmichalis
Copy link
Contributor Author

[test]

@0xmichalis
Copy link
Contributor Author

Coupled with #9349, we will stop using the image change controller and will also fix issues like #9018.

func (s *StoreToDeploymentConfigLister) GetConfigsForImageStream(stream *imageapi.ImageStream) ([]*deployapi.DeploymentConfig, error) {
var matching []*deployapi.DeploymentConfig
// TODO: Maybe build an index for object references
configs, err := s.List()
Copy link
Contributor

Choose a reason for hiding this comment

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

doing the List() blocks others from observing writes. Let's make that index.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hm

@deads2k
Copy link
Contributor

deads2k commented Jun 23, 2016

lgtm, squash and wait for #9442 with the mutation checks before merging

@0xmichalis 0xmichalis mentioned this pull request Jun 23, 2016
10 tasks
@openshift-bot openshift-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 23, 2016
@openshift-bot
Copy link
Contributor

Evaluated for origin test up to befece1

@openshift-bot openshift-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 23, 2016
@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/5331/)

@0xmichalis
Copy link
Contributor Author

[merge]

@mfojtik
Copy link
Contributor

mfojtik commented Jun 24, 2016

flake:

=== BEGIN TEST CASE ===
test/cmd/admin.sh:247: executing 'oc create -f test/extended/testdata/roles/policy-clusterroles.yaml' expecting success
FAILURE after 0.742s: test/cmd/admin.sh:247: executing 'oc create -f test/extended/testdata/roles/policy-clusterroles.yaml' expecting success: the command returned the wrong error code
Standard output from the command:
clusterrole "basic-user2" created

[merge]

@openshift-bot
Copy link
Contributor

openshift-bot commented Jun 24, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/5359/) (Image: devenv-rhel7_4452)

@0xmichalis
Copy link
Contributor Author

#9444, [merge]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to befece1

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.

5 participants