Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
jobspec: allow non-string attributes #2081
This relaxes the requirement that jobspec user and system attributes must be of type string. They can be anything with this change.
Adds a couple of valid yaml inputs that demonstrate this.
Also fixes a bug in the ingest sharness test that would mask ingest failures of valid jobspec.
Finally, makes the same change to
A corresponding change (or is it a clarification?) to RFC 14 is proposed in flux-framework/rfc#172
Jobspec should allow system and user attributes of type other than string. Relax this check in the ingest jobspec json-schema.
Problem: job-ingest test of valid jobspec inputs would always succeed because the result was not tested properly. Fix the test.
@@ Coverage Diff @@ ## master #2081 +/- ## ========================================== + Coverage 80.42% 80.43% +<.01% ========================================== Files 193 193 Lines 30540 30540 ========================================== + Hits 24562 24565 +3 + Misses 5978 5975 -3