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

Rework CI to ensure up-to-date containers prior to builds #256

Merged
merged 5 commits into from
Feb 20, 2024

Conversation

mhidalgo-bdai
Copy link
Collaborator

This patch merges lint, docker image build, and package build and test workflows into a single one, so as to ensure that package builds are performed in up-to-date containers. Similar to bdaiinstitute/ros_utilities#47. Necessary for #234.

Comment on lines +74 to +75
cache-from: type=gha
cache-to: type=gha,mode=max
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Layer caching will keep the cost of image re-builds at bay.


jobs:
clean-ghcr:
name: Prune old images from Github Container Registry
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Necessary to prevent PR specific images from accumulating in the institute's container registry.

@mhidalgo-bdai
Copy link
Collaborator Author

Dependencies still wrong. I'll rework that and push once bdaiinstitute/spot_wrapper#85 lands.

@mhidalgo-bdai
Copy link
Collaborator Author

Coveralls complains in spot_wrapper sources. I don't think that is related to this patch.

Copy link
Collaborator

@bhung-bdai bhung-bdai left a comment

Choose a reason for hiding this comment

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

This appears all well to me. Can we separate out the spot_wrapper tests for now, since they keep screwing the CI over?

@mhidalgo-bdai
Copy link
Collaborator Author

Can we separate out the spot_wrapper tests for now, since they keep screwing the CI over?

@bhung-bdai do you want that to happen in this PR or in a follow-up one?

Signed-off-by: Michel Hidalgo <mhidalgo@theaiinstitute.com>
Signed-off-by: Michel Hidalgo <mhidalgo@theaiinstitute.com>
Signed-off-by: Michel Hidalgo <mhidalgo@theaiinstitute.com>
Signed-off-by: Michel Hidalgo <mhidalgo@theaiinstitute.com>
Signed-off-by: Michel Hidalgo <mhidalgo@theaiinstitute.com>
Copy link

Pull Request Test Coverage Report for Build 7965081000

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 41.434%

Totals Coverage Status
Change from base Build 7933118973: 0.0%
Covered Lines: 1840
Relevant Lines: 4397

💛 - Coveralls

@amessing-bdai amessing-bdai merged commit 4ef4426 into main Feb 20, 2024
6 checks passed
@amessing-bdai amessing-bdai deleted the rework-ci branch February 20, 2024 14:44
@mhidalgo-bdai mhidalgo-bdai mentioned this pull request Mar 1, 2024
1 task
marlow-fawn pushed a commit to marlow-fawn/spot_ros2 that referenced this pull request Aug 19, 2024
…ute#256)

Signed-off-by: Michel Hidalgo <mhidalgo@theaiinstitute.com>
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