-
Notifications
You must be signed in to change notification settings - Fork 166
Closed
Labels
area: ctkChanges in the CTK (Compliance Test Kit)Changes in the CTK (Compliance Test Kit)area: specChanges in the SpecificationChanges in the Specificationchange: documentationImprovements or additions to documentation. It won't impact a version change.Improvements or additions to documentation. It won't impact a version change.change: fixSomething isn't working. Impacts in a minor version change.Something isn't working. Impacts in a minor version change.wontfixThis will not be worked onThis will not be worked on
Milestone
Description
What would you like to be added:
Fix the script process by:
-
Document that runtimes must supportjs(executed byNodeJS) andpython(executed byPython) by default. -
Document thatlanguageshould also specify the version (ex:js:22.2.0,python:3). - Add an
argumentsproperty, of typestring[], used to pass arguments to the script to execute. Document that the arguments can contain runtime expressions. - Document that
environmentcan contain runtime expressions. -
Add an object used to define how the output is read from a script's execution (see below example)
Define script output proposal:
run:
script:
language: jq:22.2.0
code: ...
output:
console: {} #indicates that we should read the output from the console (stdout)
file: {} #indicates that the script is expected to output to a file relative to the script's working directory
code: {} #indicates that the script outputs its exit codeWhy is this needed:
Allow proper execution of script processes.
Metadata
Metadata
Assignees
Labels
area: ctkChanges in the CTK (Compliance Test Kit)Changes in the CTK (Compliance Test Kit)area: specChanges in the SpecificationChanges in the Specificationchange: documentationImprovements or additions to documentation. It won't impact a version change.Improvements or additions to documentation. It won't impact a version change.change: fixSomething isn't working. Impacts in a minor version change.Something isn't working. Impacts in a minor version change.wontfixThis will not be worked onThis will not be worked on
Type
Projects
Status
Done