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

build: twoliter skip version check #3489

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

webern
Copy link
Contributor

@webern webern commented Sep 25, 2023

Issue number:

Improves #3479

Description of changes:

Improves the method by which we can avoid re-installing from source when we are testing changes to Twoliter.

Testing done:

I ran this command twice and both times it took 365 seconds to install Twoliter: cargo make -e TWOLITER_VERSION=09734ab -e TWOLITER_ALLOW_BINARY_INSTALL=false unit-tests

I then ran this and the re-installation did not take place: cargo make -e TWOLITER_VERSION=09734ab -e TWOLITER_ALLOW_BINARY_INSTALL=false -e TWOLITER_SKIP_VERSION_CHECK=true unit-tests

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Allow the skipping of the Twoliter version when deciding whether or not
to install Twoliter. This allows us to accept any installed Twoliter
binary and move on without re-installing.
Copy link
Contributor

@stmcginnis stmcginnis left a comment

Choose a reason for hiding this comment

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

lgtm

@webern webern merged commit 3a55236 into bottlerocket-os:develop Sep 26, 2023
@webern webern deleted the twoliter-skip-version-check branch September 26, 2023 18:12
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.

3 participants