Test Batch Script
The test-batch
script is designed to test the processing controller logic
concerning processing block dependencies.
The sequence of actions carried out by the script is:
Claims processing block
Reads value of
duration
parameter (type: float, units: seconds) from processing blockSets processing block
status
to'WAITING'
Waits for
resources_available
to beTrue
This is the signal from the processing controller that the script can start
Sets processing block
status
to'RUNNING'
Does some “processing” (i.e. sleeps) for the requested duration
Sets processing block
status
to'FINISHED'
The script makes no deployments.
Changelog
0.5.0
Update to scripting library v0.6.1
0.4.1
Fix bug in how script determines if deployment is finished
0.4.0
Update to latest scripting library (0.5.0). This required the update of how phase.wait_loop is used in the script.
0.3.0
Port to use SDP scripting library (formerly known as the workflow library).
0.2.5
Use dependencies from the central artefact repository and publish the workflow image there.
0.2.4
Ported to use the latest version of workflow library (0.2.4).
0.2.3
use python:3.9-slim as the base docker image