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

Update RTI dockerfile to match file layout change #399

Merged
merged 2 commits into from
Apr 1, 2024

Conversation

petervdonovan
Copy link
Contributor

@petervdonovan petervdonovan commented Mar 22, 2024

This could harm reproducibility and could increase the size of the RTI image. However, reproducibility is actually not much worse than the status quo which was still copying whole directories. Also, the amount of extra stuff copied is small. In the long run this will keep us from running into further problems as we continue to refactor this repo without testing the dockerized RTI build in CI (I am assuming that it is not worthwhile to add a test for it in CI)

I have manually verified that this does build locally.

@petervdonovan petervdonovan marked this pull request as ready for review March 22, 2024 04:27
This could harm reproducibility and could increase the size of the RTI
image. However, reproducibility is actually not much worse than the
status quo which was still copying whole directories. Also, the amount
of extra stuff copied is small. In the long run this will keep us from
running into further problems as we continue to refactor this repo
without testing the dockerized RTI build in CI (I am assuming that it
is not worthwhile to add a test for it in CI)
@petervdonovan petervdonovan force-pushed the update-rti-dockerfile branch from ee0a6e6 to 8158f7c Compare March 22, 2024 05:40
@petervdonovan petervdonovan requested a review from lhstrh March 22, 2024 05:42
@erlingrj
Copy link
Collaborator

Hm, @lhstrh told me that the target parameter:

  docker: {
    rti-image: "rti:local"
  }

Would trigger lfc to build a docker image, presumably with the Dockerfile, and this is apparently used in CI, I wonder why those tests didn't fail after your refactoring Peter

@petervdonovan
Copy link
Contributor Author

I wonder why those tests didn't fail after your refactoring Peter

OK, filed a PR (lf-lang/lingua-franca#2249) to fix the error handling.

@petervdonovan petervdonovan requested a review from erlingrj March 28, 2024 06:23
Copy link
Collaborator

@erlingrj erlingrj left a comment

Choose a reason for hiding this comment

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

This looks correct, ran into the same problem myself.

Copy link
Member

@lhstrh lhstrh left a comment

Choose a reason for hiding this comment

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

This looks good but needs to be merged after lf-lang/lingua-franca#2249, which still reports failures.

@petervdonovan petervdonovan added this pull request to the merge queue Apr 1, 2024
Merged via the queue into main with commit ec06c93 Apr 1, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants