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

Cleanup v1.6.2 rocks #34

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Conversation

claudiubelu
Copy link
Contributor

The longhorn-engine rock should contain the longhorn-instance-manager, but longhorn-engine is built and included instead.

Removes redundant liblonghorn clone and installation.

Removes redundant cd $CRAFT_PART_SRC.

The longhorn-engine rock should contain the longhorn-instance-manager, but
longhorn-engine is built and included instead.

Removes redundant liblonghorn clone and installation.

Removes redundant cd $CRAFT_PART_SRC.
@claudiubelu claudiubelu requested a review from a team as a code owner September 23, 2024 07:32
Copy link
Member

@berkayoz berkayoz left a comment

Choose a reason for hiding this comment

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

LGTM, one small question.

Comment on lines -99 to -108
# NOTE(aznashwan): pull and install liblonghorn
# https://github.com/longhorn/longhorn-engine/blob/v1.6.2/package/Dockerfile#L12-L19
LIBLONGHORN_COMMIT_ID="53d1c063b95efc8d949b095bd4bf04637230265f"
cd /usr/src
git clone https://github.com/rancher/liblonghorn.git
cd liblonghorn
git checkout ${LIBLONGHORN_COMMIT_ID}
make
make install

Copy link
Member

Choose a reason for hiding this comment

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

Is this not used at all or included through another build step/part?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We already have a build-liblonghorn step below, which clones this repo at this commit hash and runs make and make install.

@berkayoz berkayoz merged commit c5f9bbb into canonical:main Sep 24, 2024
5 of 8 checks passed
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.

2 participants