Skip to content

ci: Complete dev container configuration #3052

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

Merged
merged 1 commit into from
Jun 10, 2025
Merged

ci: Complete dev container configuration #3052

merged 1 commit into from
Jun 10, 2025

Conversation

jonaharagon
Copy link
Member

Developing locally with Docker is now fully functional and covers all website builds (including blogs and videos).

@jonaharagon jonaharagon added the m:contributing relating to contributing/community label Jun 5, 2025
@Copilot Copilot AI review requested due to automatic review settings June 5, 2025 23:35
@jonaharagon jonaharagon added fix:python Pull requests that update Python/pip dependencies ci:build blog Enable blog builds on a PR docker Pull requests that update Docker code ci:build videos Enable videos site builds on a PR labels Jun 5, 2025
@github-project-automation github-project-automation bot moved this to Unreviewed in PR Review Status Jun 5, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR finalizes the development container and local build configuration, unifies navigation URLs via environment variables, and streamlines MkDocs config management.

  • Introduces a Debian-based multi-stage Dockerfile and pins Pipenv dependencies into a project virtual environment.
  • Refactors all MkDocs navigation entries and homepages to use !ENV lookups and removes outdated net-site configs.
  • Adds a new .devcontainer/devcontainer.json for local development and updates GitHub Actions to export URL environment variables for production builds.

Reviewed Changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
run.sh Use static mkdocs.insiders.yml instead of dynamic temp files
net/index.md Removed legacy community index page
modules/mkdocs-material Bumped submodule commit
mkdocs.yml Converted blog/video nav entries to !ENV syntax for dynamic URLs
mkdocs.videos.yml Updated homepage and nav to use !ENV variables
mkdocs.net.yml Deleted obsolete net site configuration
mkdocs.insiders.yml Added base MkDocs override for insiders preview
mkdocs.blog.yml Changed homepage and nav entries to use !ENV lookups
Dockerfile Switched from Alpine to Debian (bookworm) and implemented multi-stage build
.vscode/extensions.json Updated VS Code recommended extensions list
.github/workflows/build.yml Added step to export site URL environment variables for production
.devcontainer/devcontainer.json Added new devcontainer definition with tasks for live previews
Comments suppressed due to low confidence (1)

run.sh:115

  • Using if $insiders will attempt to execute the variable rather than test its value; replace it with a test expression, for example: if [ "$insiders" = true ]; then.
if $insiders ; then

Copy link

github-actions bot commented Jun 5, 2025

Your preview is ready!

Name Link
🔨 Latest commit fd0d995
😎 Preview https://pr3052.unreviewed.privacyguides.dev/en/

@jonaharagon jonaharagon marked this pull request as draft June 6, 2025 00:12
@jonaharagon jonaharagon force-pushed the upgrade-deps branch 3 times, most recently from 1a90180 to 87a6fe1 Compare June 6, 2025 02:28
@jonaharagon jonaharagon marked this pull request as ready for review June 6, 2025 04:14
@jonaharagon jonaharagon requested a review from dngray as a code owner June 6, 2025 04:53
@jonaharagon jonaharagon merged commit fd0d995 into main Jun 10, 2025
20 checks passed
@jonaharagon jonaharagon deleted the upgrade-deps branch June 10, 2025 16:35
@github-project-automation github-project-automation bot moved this from Unreviewed to Done in PR Review Status Jun 10, 2025
@privacyguides-bot
Copy link
Collaborator

This pull request has been mentioned on Privacy Guides Community. There might be relevant details there:

https://discuss.privacyguides.net/t/2025-07-22/29337/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:build blog Enable blog builds on a PR ci:build videos Enable videos site builds on a PR docker Pull requests that update Docker code fix:python Pull requests that update Python/pip dependencies m:contributing relating to contributing/community
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants