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

Use argument in init.sh to avoid usage of sudo #1028

Merged
merged 4 commits into from Jun 23, 2023

Conversation

sea212
Copy link
Member

@sea212 sea212 commented Jun 22, 2023

What does it do?

Instead of relying on the (seemingly unreliable) /.dockerenv file to determine a docker build requirement within scripts/init.sh, an optional argument is now used.

What important points should reviewers know?

This PR is a result of a failed workflow.

Is there something left for follow-up PRs?

No.

What alternative implementations were considered?

None.

Are there relevant PRs or issues?

A previous PR attempted to fix this already. While the solution worked until now, it seems it is not 100% reliable.

References

None.

@sea212 sea212 added the s:review-needed The pull request requires reviews label Jun 22, 2023
@sea212 sea212 added this to the v0.3.9 milestone Jun 22, 2023
@sea212 sea212 self-assigned this Jun 22, 2023
@sea212 sea212 changed the base branch from release-v0.3.9 to main June 22, 2023 17:52
@sea212 sea212 changed the base branch from main to release-v0.3.9 June 22, 2023 19:57
@sea212
Copy link
Member Author

sea212 commented Jun 22, 2023

@sea212 sea212 requested a review from Chralt98 June 22, 2023 22:08
scripts/init.sh Outdated Show resolved Hide resolved
Co-authored-by: Chralt <chralt.developer@gmail.com>
@sea212 sea212 merged commit f78657c into release-v0.3.9 Jun 23, 2023
1 check passed
@sea212 sea212 deleted the sea212-fix-docker-build branch June 23, 2023 07:02
@sea212 sea212 added s:accepted This pull request is ready for merge and removed s:review-needed The pull request requires reviews labels Jun 23, 2023
@sea212 sea212 mentioned this pull request Jul 3, 2023
sea212 added a commit that referenced this pull request Jul 5, 2023
* Update weights (#1025)

* Update crate and runtime version (#1026)

* Use argument in init.sh to avoid usage of sudo (#1028)

* Update scripts/init.sh

Co-authored-by: Chralt <chralt.developer@gmail.com>

* Update script documentation

---------

Co-authored-by: Chralt <chralt.developer@gmail.com>

* Fix name collision (#1029)

* Use updated Rococo bootnodes (#1030)

---------

Co-authored-by: Chralt <chralt.developer@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s:accepted This pull request is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants