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

fix ironic building from source in PR test #1330

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

tuminoid
Copy link
Member

@tuminoid tuminoid commented Dec 21, 2023

In a PR CI test, repo having the change and being tested is cloned as /path/to/tested_repo. This doesn't match ronic-image directory like it normally would, and causes Ironic image to not be built from soruce. Same issue with CAPI. Identify the local image via the prefix of the XXX_LOCAL_IMAGE variable rather than the variable content (repo path).

In a PR, repo being tested is cloned as tested_repo. This doesn't match
"ironic-image" like it normally would, and Ironic is not built from
soruce. Same issue with CAPI. Identify the local image via the prefix
of the LOCAL_IMAGE variable rather than the variable content
(repo path).

Signed-off-by: Tuomo Tanskanen <tuomo.tanskanen@est.tech>
@metal3-io-bot metal3-io-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 21, 2023
@tuminoid
Copy link
Member Author

/test-ubuntu-integration-main
/test-centos-integration-main

@tuminoid
Copy link
Member Author

/hold
until local testing finishes.

@metal3-io-bot metal3-io-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 21, 2023
@tuminoid
Copy link
Member Author

/unhold
Worked as expected.
/cc @Sunnatillo @smoshiur1237 @lentzi90 @Rozzii

@metal3-io-bot metal3-io-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 22, 2023
@tuminoid
Copy link
Member Author

/test-centos-integration-release-1-5
/test-ubuntu-e2e-integration-main

@metal3-io-bot metal3-io-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 22, 2023
Copy link
Member

@Rozzii Rozzii left a comment

Choose a reason for hiding this comment

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

/lgtm

@Rozzii Rozzii self-requested a review December 22, 2023 06:51
@Rozzii
Copy link
Member

Rozzii commented Dec 22, 2023

/hold cancel

@metal3-io-bot metal3-io-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 22, 2023
Copy link
Member

@lentzi90 lentzi90 left a comment

Choose a reason for hiding this comment

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

/approve

@metal3-io-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lentzi90, Rozzii

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

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 22, 2023
Copy link
Member

@Sunnatillo Sunnatillo left a comment

Choose a reason for hiding this comment

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

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 22, 2023
@metal3-io-bot metal3-io-bot merged commit 5903a5f into metal3-io:main Dec 22, 2023
1 check passed
@metal3-io-bot metal3-io-bot deleted the tuomo/fix-ironic-building-v2 branch December 22, 2023 08:09
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/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants