Skip to content

Conversation

@epmog
Copy link
Contributor

@epmog epmog commented Feb 8, 2025

Fixes #66

PR for other purpose

Adds JSON example of a job template to the sample directory. I made the choice to use the same effective workload as one of the existing templates to help illustrate the differences in the formats.

There's some topics that this sample doesn't illustrate that are relevant to users looking to write JSON templates, such as how they can write multi-line embedded files, but at the very least there's a starting point for users that might prefer writing JSON.

$ openjd check ffmpeg.json 
Template at 'ffmpeg.json' passes validation checks.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@epmog epmog requested a review from a team as a code owner February 8, 2025 01:56
mwiebe
mwiebe previously approved these changes Feb 8, 2025
@epmog epmog merged commit 7d3d252 into OpenJobDescription:mainline Feb 8, 2025
4 checks passed
@epmog epmog deleted the add_json_sample branch February 8, 2025 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wiki: Please provide AT LEAST one json template for a job

2 participants