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

Run framework tests on OCM PRs #125

Merged
merged 2 commits into from
Mar 21, 2024

Conversation

zyjjay
Copy link
Contributor

@zyjjay zyjjay commented Mar 12, 2024

ref: https://issues.redhat.com/browse/ACM-4811
Signed-off-by: Jason Zhang <jaszhang@redhat.com>
@zyjjay
Copy link
Contributor Author

zyjjay commented Mar 14, 2024

/test all

Copy link

openshift-ci bot commented Mar 14, 2024

@zyjjay: No presubmit jobs available for open-cluster-management-io/governance-policy-framework-addon@main

In response to this:

/test all

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.

kind load docker-image $(REGISTRY)/$(IMG):$(TAG) --name $(KIND_NAME)
kubectl annotate -n $(subst -hosted,,$(KIND_NAMESPACE)) --overwrite managedclusteraddon governance-policy-framework\
addon.open-cluster-management.io/values='{"global":{"imagePullPolicy": "Never", "imageOverrides":{"governance_policy_framework_addon": "$(REGISTRY)/$(IMG):$(TAG)"}}}'

Copy link
Contributor

Choose a reason for hiding this comment

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

oh why? imagePullPolicy": "Never"

Comment on lines +201 to +206
.PHONY: kind-deploy-controller-dev-addon
kind-deploy-controller-dev-addon:
@echo Hosted mode test
kind load docker-image $(REGISTRY)/$(IMG):$(TAG) --name $(KIND_NAME)
kubectl annotate -n $(subst -hosted,,$(KIND_NAMESPACE)) --overwrite managedclusteraddon governance-policy-framework\
addon.open-cluster-management.io/values='{"global":{"imagePullPolicy": "Never", "imageOverrides":{"governance_policy_framework_addon": "$(REGISTRY)/$(IMG):$(TAG)"}}}'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I cherry-picked this commit from stolostron in order to fix the hosted mode tests. Is there a reason we would use governance_policy_framework over the framework_addon?

@zyjjay zyjjay force-pushed the ACM-4811 branch 2 times, most recently from 6fab8b3 to 6961389 Compare March 19, 2024 19:12
Copy link

openshift-ci bot commented Mar 21, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: yiraeChristineKim, zyjjay

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

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.

3 participants