Skip to content

Commit

Permalink
move resources into package
Browse files Browse the repository at this point in the history
  • Loading branch information
tiltingpenguin committed Sep 23, 2023
1 parent 9c334c4 commit 15c9fcf
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 4,484 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/resources
folder: libcobblersignatures/data
22 changes: 6 additions & 16 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
- name: Validate JSON
uses: nhalstead/[email protected]
with:
schema: ./libcobblersignatures/docs/resources/v1/schema.json
jsons: ./libcobblersignatures/docs/resources/v1/distro_signatures.json
schema: ./libcobblersignatures/data/v1/schema.json
jsons: ./libcobblersignatures/data/v1/distro_signatures.json
verify-json-validation-website-3-0-x:
runs-on: ubuntu-latest
name: Website V3.0.x
Expand All @@ -28,8 +28,8 @@ jobs:
- name: Validate JSON
uses: nhalstead/[email protected]
with:
schema: ./libcobblersignatures/docs/resources/v2/schema.json
jsons: ./libcobblersignatures/docs/resources/v2/distro_signatures.json
schema: ./libcobblersignatures/data/v2/schema.json
jsons: ./libcobblersignatures/data/v2/distro_signatures.json
verify-json-validation-website-latest:
runs-on: ubuntu-latest
name: Website V3.0.x
Expand All @@ -38,15 +38,5 @@ jobs:
- name: Validate JSON
uses: nhalstead/[email protected]
with:
schema: ./libcobblersignatures/docs/resources/v2/schema.json
jsons: ./libcobblersignatures/docs/resources/v2/distro_signatures.json
verify-json-validation-package-latest:
runs-on: ubuntu-latest
name: Website V3.0.x
steps:
- uses: actions/checkout@v3
- name: Validate JSON
uses: nhalstead/[email protected]
with:
schema: ./libcobblersignatures/libcobblersignatures/data/schema.json
jsons: ./libcobblersignatures/libcobblersignatures/data/distro_signatures.json
schema: ./libcobblersignatures/data/v2/schema.json
jsons: ./libcobblersignatures/data/v2/distro_signatures.json
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Can be found in our Docs: <https://libcobblersignatures.readthedocs.io>

The JSON Schema and an example can be found at

* <https://cobbler.github.io/libcobblersignatures/docs/resources/<version>/schema.json >
* <https://cobbler.github.io/libcobblersignatures/docs/resources/<version>/distro_signatures.json >
* <https://cobbler.github.io/libcobblersignatures/libcobblersignatures/data/<version>/schema.json >
* <https://cobbler.github.io/libcobblersignatures/libcobblersignatures/data/<version>/distro_signatures.json >


| version | cobbler_version |
Expand Down
2 changes: 1 addition & 1 deletion changelog.d/57.changed
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Refactoring for hosting of distro signatures at cobbler.github.io
Refactoring for hosting of distro signatures at cobbler.github.io and added them to package as data
Loading

0 comments on commit 15c9fcf

Please sign in to comment.