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

ensure nova-operator is always required #868

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SeanMooney
Copy link
Contributor

@SeanMooney SeanMooney commented Oct 1, 2024

This change ensures that if we trigger a job without a chagne to the
nova operator repo via upstream nova that we include it as a
required project so that the meta content provider will include
the nova operator image.

Copy link
Contributor

openshift-ci bot commented Oct 1, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SeanMooney

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 openshift-ci bot added the approved label Oct 1, 2024
This change ensures that if we trigger a job without a chagne to the
nova operator repo via upstream nova that we include it as a
required project so that the meta content provider will include
the nova operator image.
# when run from nova we need to ensure we list the nova-operator
# so that it will be built by the meta content provider
required-projects:
- github.com/openstack-k8s-operators/nova-operator
Copy link
Contributor Author

Choose a reason for hiding this comment

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

for context when we trigger a job form nova with a depends on it appears to work
but if we don't have a depend on against this repo and trigger it it fails in a way that
makes me think its because we don't actually build the correct images.

this is an attempt to fix that

the problem is i don't think we can test that without merging this.

the other way i could do this is to move the require projects to the definition of the jobs however that would require me to inherit form openstack-meta-content-provider
and add a nova-meta-content-provider with the required-project to make that work

so while i prefer to avoid creating job variants in templates i think this is the cleanest way to do this today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant