-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revamp CI/CD Infrastructure, Simplify Build (#1857), Fix JSON->XML Co…
…nverter (#1849) * Replaced `metaschema` submodule with `metaschema-xslt` * The `metaschema-xslt` version also fixes #1849 * Removed all bespoke scripts and replaced them with Makefile targets * Changed CI infrastructure to use the new Makefile scripts * Removed Dockerfile and infrastructure as it is no longer needed * Changed model version to `1.1.0` Co-authored-by: Wendell Piez <[email protected]> Co-authored-by: Dmitry Cousin <[email protected]> Co-authored-by: Chris Compton <[email protected]> Co-authored-by: A.J. Stein <[email protected]>
- Loading branch information
1 parent
708ce87
commit d4e5c5c
Showing
75 changed files
with
632 additions
and
7,859 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Periodic Checks | ||
on: | ||
schedule: | ||
- cron: "0 0 * * MON" | ||
- cron: "0 0 * * THU" | ||
workflow_dispatch: | ||
jobs: | ||
linkcheck: | ||
name: Validate Markdown Links | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c | ||
with: | ||
node-version-file: "build/.nvmrc" | ||
cache: "npm" | ||
cache-dependency-path: "build/package-lock.json" | ||
- name: Perform link checking | ||
run: | | ||
make linkcheck | ||
working-directory: build | ||
- name: Create an issue if bad links are detected | ||
if: failure() | ||
uses: peter-evans/create-issue-from-file@433e51abf769039ee20ba1293a088ca19d573b7f # v3.0.0 | ||
with: | ||
title: Scheduled Check of Markdown Documents Found Bad Hyperlinks | ||
content-filepath: build/generated/mlc_report.log | ||
labels: | | ||
bug | ||
Scope: Documentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Package Release | ||
on: | ||
push: | ||
tags: | ||
- v* | ||
jobs: | ||
package-release: | ||
name: Package Release | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: "temurin" | ||
java-version: "17" | ||
- name: Generate artifacts | ||
# RELEASE is set to the tag name (vX.X.X) without the first character | ||
run: | | ||
make -j2 artifacts archives RELEASE=${GITHUB_REF_NAME:1} | ||
working-directory: build | ||
- name: Create release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
token: ${{ secrets.COMMIT_TOKEN }} | ||
draft: true | ||
generate_release_notes: true | ||
fail_on_unmatched_files: true | ||
files: | | ||
build/generated/oscal* |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: OSCAL CI/CD | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
- "feature-*" | ||
- "release-*" | ||
pull_request: | ||
branches: | ||
- main | ||
- develop | ||
- "feature-*" | ||
- "release-*" | ||
workflow_dispatch: | ||
jobs: | ||
checks: | ||
name: Status Checks | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: "temurin" | ||
java-version: "17" | ||
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c | ||
with: | ||
node-version-file: "build/.nvmrc" | ||
cache: "npm" | ||
cache-dependency-path: "build/package-lock.json" | ||
- name: Install xmllint | ||
run: sudo apt-get install -y libxml2-utils | ||
- name: Run all pipelines | ||
run: | | ||
make --keep-going all | ||
working-directory: build |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.