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

feat(source-scan): logging, refactor, image with same cargo-near embedded, remove --no-docker flag #144

Merged

Conversation

dj8yfo
Copy link
Collaborator

@dj8yfo dj8yfo commented Apr 9, 2024

Following output was generated by using the branch of current pr with build local cargo-near Dockerfile => image on this repo

Screenshot_20240412_230234
Screenshot_20240412_230436
Screenshot_20240412_230749

@dj8yfo dj8yfo force-pushed the source-scan-configure-build-command branch 3 times, most recently from ebcbadc to 7f4e5d1 Compare April 9, 2024 21:13
@dj8yfo dj8yfo marked this pull request as ready for review April 9, 2024 21:14
@dj8yfo dj8yfo force-pushed the source-scan-configure-build-command branch from 5127c38 to ebf8963 Compare April 10, 2024 14:03
@dj8yfo dj8yfo changed the title Source scan : improve loggin of cargo near build Source scan : loggin, refactor, image with same cargo-near embedded, remove --no-docker flag Apr 12, 2024
@dj8yfo dj8yfo changed the title Source scan : loggin, refactor, image with same cargo-near embedded, remove --no-docker flag feat(source-scan): loggin, refactor, image with same cargo-near embedded, remove --no-docker flag Apr 12, 2024
@dj8yfo dj8yfo changed the title feat(source-scan): loggin, refactor, image with same cargo-near embedded, remove --no-docker flag feat(source-scan): logging, refactor, image with same cargo-near embedded, remove --no-docker flag Apr 12, 2024
@dj8yfo dj8yfo force-pushed the source-scan-configure-build-command branch from 87c32fa to ca224e3 Compare April 12, 2024 20:18
Copy link
Contributor

@frol frol left a comment

Choose a reason for hiding this comment

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

I approve this PR as is. It targets a still-in-progress source-scan-integration branch, where we will review and refactor everything at once after we have a solid MVP

cargo-near/src/commands/build_command/mod.rs Show resolved Hide resolved
let docker_image = docker_build_meta.concat_image();
let near_build_env_ref = format!("NEAR_BUILD_ENVIRONMENT_REF={}", docker_image);

// Platform-specific UID/GID retrieval
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a pretty pointless comment. More useful comment would be to explain that we only really need to match uid/gid on Linux since Docker is running natively and mounted FS needs to have proper permissions.

@frol frol merged commit 1bd466b into near:source-scan-integration Apr 13, 2024
13 of 14 checks passed
@dj8yfo dj8yfo deleted the source-scan-configure-build-command branch May 13, 2024 13:37
@dj8yfo dj8yfo mentioned this pull request Jul 5, 2024
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.

2 participants