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

Issues in Docker Image and Generation Scripts #1004

Closed
stephenbanghart opened this issue Aug 3, 2021 · 0 comments · Fixed by #1005
Closed

Issues in Docker Image and Generation Scripts #1004

stephenbanghart opened this issue Aug 3, 2021 · 0 comments · Fixed by #1005
Assignees
Labels
bug Scope: Documentation This issue relates to OSCAL documentation. Scope: Website Issues targeted at the OSCAL project website.
Milestone

Comments

@stephenbanghart
Copy link
Contributor

stephenbanghart commented Aug 3, 2021

Describe the bug

The Docker Image as provided fails when running build/ci-cd/generate-model-documentation.sh, preventing the image from building website. The specific error is Error: Could not find or load main class com.xmlcalabash.drivers.Main. This error triggers on most of the child scripts.

The generate-specification-documentation.sh script has not been updated to reflect the new file structure of /docs, and creates a new /docs/content/documentation/processing/ folder. It should instead place the generated HTML in /docs/content/concepts/processing.

Docker has integrated compose into the default docker CLI, support is waning for docker-compose, I suggest the READMEs and Image make the switch over. See: Discussion around continued support of docker-compose

docker-compose {args} -> docker compose {args}

Who is the bug affecting?

Users of the docker image. Users of the generate-specification-documentation.sh script.

@stephenbanghart stephenbanghart added bug Scope: Website Issues targeted at the OSCAL project website. Scope: Documentation This issue relates to OSCAL documentation. labels Aug 3, 2021
david-waltermire added a commit to david-waltermire/OSCAL that referenced this issue Aug 5, 2021
Also made docs Docker container dependent on the build container, which should ease future maintenance.
Updated readmes to address docker 20.10 compose syntax, and to add new dependencies.
Changed location of profile-resolution.html.
Resolves usnistgov#1004.
david-waltermire added a commit that referenced this issue Aug 5, 2021
Also made docs Docker container dependent on the build container, which should ease future maintenance.
Updated readmes to address docker 20.10 compose syntax, and to add new dependencies.
Changed location of profile-resolution.html.
Resolves #1004.
@david-waltermire david-waltermire added this to the OSCAL 1.0.1 milestone Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Scope: Documentation This issue relates to OSCAL documentation. Scope: Website Issues targeted at the OSCAL project website.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants