Skip to content

🔨 Add docs container deployment.#746

Merged
Phinease merged 1 commit intodevelopfrom
jpl/jpl_0730
Aug 6, 2025
Merged

🔨 Add docs container deployment.#746
Phinease merged 1 commit intodevelopfrom
jpl/jpl_0730

Conversation

@porkpink
Copy link
Contributor

@porkpink porkpink commented Aug 6, 2025

#714 🔨 Add docs container deployment.

Copilot AI review requested due to automatic review settings August 6, 2025 09:24
Copy link
Contributor

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 adds documentation container deployment to the existing Docker workflow. It introduces a new build job for creating a docs Docker image and updates the deployment process to include starting the docs container.

  • Adds a new build-docs job that builds a Docker image for documentation
  • Updates the deploy job dependencies to include the new docs build
  • Adds a deployment step to start the docs container on port 4173

deploy:
runs-on: ${{ fromJson(inputs.runner_label_json) }}
needs: [ build-main, build-data-process, build-web ]
needs: [ build-main, build-data-process, build-web, build-docs ]
Copy link

Copilot AI Aug 6, 2025

Choose a reason for hiding this comment

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

[nitpick] The deploy job now depends on all build jobs including the new build-docs. Consider whether the docs container deployment should be independent of the main application deployment to avoid blocking the entire deployment if docs build fails.

Suggested change
needs: [ build-main, build-data-process, build-web, build-docs ]
needs: [ build-main, build-data-process, build-web ]

Copilot uses AI. Check for mistakes.
run: |
docker stop nexent-docs 2>/dev/null || true
docker rm nexent-docs 2>/dev/null || true
docker run -d --name nexent-docs -p 4173:4173 nexent/nexent-docs
Copy link

Copilot AI Aug 6, 2025

Choose a reason for hiding this comment

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

The docs container is started without restart policy or health checks. Consider adding --restart=unless-stopped and other production-ready flags for better reliability.

Suggested change
docker run -d --name nexent-docs -p 4173:4173 nexent/nexent-docs
docker run -d --name nexent-docs --restart=unless-stopped \

Copilot uses AI. Check for mistakes.
@codecov
Copy link

codecov bot commented Aug 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Phinease Phinease merged commit dd006e3 into develop Aug 6, 2025
9 of 18 checks passed
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.

4 participants