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

Move web content from OSCAL, and other streamlining. (Revised for Release) #1856

Merged
merged 5 commits into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
62 changes: 0 additions & 62 deletions .github/workflows/link-check.yml

This file was deleted.

55 changes: 0 additions & 55 deletions .github/workflows/package-release.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/periodic.yml
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
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
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*
56 changes: 0 additions & 56 deletions .github/workflows/status-ci-cd.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/status.yml
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
69 changes: 0 additions & 69 deletions .github/workflows/workflow-generate-ci-documentation.yml

This file was deleted.

Loading