Skip to content

Add test for building on an air-gapped system#1760

Merged
mosteo merged 5 commits into
alire-project:masterfrom
Seb-MCaw:feat/Air-gap-test
Sep 24, 2024
Merged

Add test for building on an air-gapped system#1760
mosteo merged 5 commits into
alire-project:masterfrom
Seb-MCaw:feat/Air-gap-test

Conversation

@Seb-MCaw

Copy link
Copy Markdown
Contributor

We are currently interested in the possibility of using Alire on an air-gapped system. The idea would be to fetch a crate and its dependencies online, then transfer to an offline system/network before building.

alr get and alr build seem to already implement the necessary functionality, so this PR simply adds a test to verify the process works as expected.

@Seb-MCaw Seb-MCaw marked this pull request as ready for review September 18, 2024 09:20

@mosteo mosteo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The test is essentially OK but please fix these minor comments.

@Fabien-Chouteau, I guess you need to review this one too.

Comment thread testsuite/tests/workflows/air-gapping/test.py Outdated
Comment thread testsuite/tests/workflows/air-gapping/test.py Outdated
Comment thread testsuite/tests/workflows/air-gapping/test.py Outdated
Comment thread testsuite/tests/workflows/air-gapping/my_index/crates/hello/HEAD Outdated
@Fabien-Chouteau

Copy link
Copy Markdown
Member

Hi Alejandro,

@Fabien-Chouteau, I guess you need to review this one too.

You don't need my reviews for @Seb-MCaw 's contributions :)

@Seb-MCaw Seb-MCaw requested a review from mosteo September 23, 2024 10:10
@mosteo

mosteo commented Sep 23, 2024

Copy link
Copy Markdown
Member

You don't need my reviews for @Seb-MCaw 's contributions :)

OK, noted.

@mosteo mosteo merged commit 9742e81 into alire-project:master Sep 24, 2024
@mosteo

mosteo commented Sep 24, 2024

Copy link
Copy Markdown
Member

Merged, thanks!

@mosteo mosteo mentioned this pull request Oct 1, 2024
mosteo pushed a commit to mosteo/alire that referenced this pull request Oct 8, 2024
* Add test for offline build

* Move constraints to YAML file

* Remove redundant build check

* Change crates from git repos to .tgz archives
@Seb-MCaw Seb-MCaw deleted the feat/Air-gap-test branch November 22, 2024 11:57
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