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: Build locally in Docker to streamline testing #46

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

joeyparrish
Copy link
Member

When making changes to this process, it really helps to have a simple container environment to test changes. This adds a script for a fully-automated build with standard Ubuntu containers to make it easier to check build script changes before deploying them to the repo.

When making changes to this process, it really helps to have a simple container
environment to test changes.  This adds a script for a fully-automated build
with standard Ubuntu containers to make it easier to check build script changes
before deploying them to the repo.
build.sh Outdated
# supports Ubuntu as a container, for simplicity.
if [[ $(id -u) == "0" ]]; then
# If we're on Ubuntu before 24.04, there's no default "ubuntu" user.
# This maps these older versions to the starting state of 24.04+.

Choose a reason for hiding this comment

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

nit; for clarity, specify this is creating a user with a username/password of "ubuntu"

Copy link
Member Author

Choose a reason for hiding this comment

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

It's not creating a password at all. That user would be unable to log in with a password. I'll try to clarify the comment.

@joeyparrish joeyparrish merged commit 4e5a3de into shaka-project:main Oct 10, 2024
2 checks passed
@joeyparrish joeyparrish deleted the local-docker branch October 10, 2024 21:56
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Dec 17, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants