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

Website Build Scripts Path Confusion and Filesystem Watching #1102

Closed
aj-stein-nist opened this issue Jan 22, 2022 · 0 comments · Fixed by #1103
Closed

Website Build Scripts Path Confusion and Filesystem Watching #1102

aj-stein-nist opened this issue Jan 22, 2022 · 0 comments · Fixed by #1103
Labels
Milestone

Comments

@aj-stein-nist
Copy link
Contributor

Describe the bug

I determined this yesterday when completing a review for #1089, but the run script had some minor pathing issues that load somewhat confusing mounts of /oscal for the source code and remounting the sub-directory of docs as /docs within the container. Additionally, the container does not watch for local changes (hugo --watch ...) so reloading the server manually slows down the development and review flow.

Who is the bug affecting?

NIST OSCAL Developers, primarily those reviewing the website changes during review before merge and publication at pages.nist.gov/OSCAL.

What is affected by this bug?

An ergonomic experience for testing website content, using the same docker-compose mounts and harness for all the respective images for build and local web dev testing.

When does this occur?

Frequently

How do we replicate the issue?

{What are the steps to reproduce the behavior?

  1. Build and run the container for local builds and testing (cd /path/to/oscal/build && docker-compose build && docker-compose up -d)
  2. Build and run the local web testing container (`cd /path/to/oscal/docs && docker-compose build && docker-compose up -d)
  3. Observe mount confusion and the lack of reload content as source file changes are made in source tree

Expected behavior (i.e. solution)

A more ergonomic dev, build, test cycle

@aj-stein-nist aj-stein-nist changed the title Website Build Scripts Use Wrong Absolute Path Website Build Scripts Path Confusion and Filesystem Watching Jan 22, 2022
@david-waltermire david-waltermire added this to the OSCAL 1.0.1 milestone Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants