-
Notifications
You must be signed in to change notification settings - Fork 97
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
Use docker in GA [AP-1085] #1393
Conversation
761af2f
to
37f688e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall brings generation inline with what's produced when docker is used locally. Should resolve annoying issues of late with getting this CI stage to pass
- uses: gradle/gradle-build-action@v2 | ||
with: | ||
gradle-version: 7.1.1 | ||
git config --global --add safe.directory /__w/libsbp/libsbp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure this is ideal but required to resolve a permissions issue which I think is caused by different UIDs being used inside and outside the container
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is fine/I don't know a better solution here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems reasonable but I guess I'm curious why you abandoned goal of using latest
and switched to a tagged version. I guess my concern is that we could run into this issue where the latest build gets broken if there is a delta between the two.
This situation is a lot better than it was, and very happy to see this work
It's so that we are able to build historical commit moving forwards. It we somehow bork the |
That seems very reasonable, maybe we should put the bumping of the build tag as part of the release process then |
Quality Gate passed for 'libsbp-c'Kudos, no new issues were introduced! 0 New issues |
Description
@swift-nav/devinfra
Make use of
libsbp-build
docker image in the "check generated artefacts" stage. This bring consistency to the artefacts generated in the CI check since the canonical way of generating libsbp is via the docker image. This PR doesn't actually make any changes but should resolve some of the issues which have been seen recently when generating libsbp locally versus in CI.API compatibility
Does this change introduce a API compatibility risk?
N/A
API compatibility plan
If the above is "Yes", please detail the compatibility (or migration) plan:
N/A
JIRA Reference
https://swift-nav.atlassian.net/browse/AP-1085