wellies.triggers.OnceAMonthFamily(name='once_a_month', start=None, day_of_month=-1, ymd=None, **kwargs)
#
Bases: Family
A family whose tasks are only run once a month while another/superior YMD is daily.
| Parameters: |
|
|---|
Source code in wellies/triggers.py
Methods:#
generate_node()
#
Before generating node, make sure update_ymd_task is only triggered when all other tasks have completed.
Source code in wellies/triggers.py
wellies.tasks.EcfResourcesTask(name, submit_arguments, **kwargs)
#
Bases: Task
Class that automatically sets ecflow variables for each submit_arguments key:value pair as they are in the host configuration file.
Using variables makes it easier to change job directives values after deployment and using ecflow api.
Also, inspects task tree for identical key:values pairs defined in higher levels to avoid creating duplicated variable at every level.
Notes
The following names are protected and will not be touched:
- STHOST
- ECF_*
The following names will generate variables with other names than config keys:
- TMPDIR -> SSDTMP
Source code in wellies/tasks.py
wellies.data.DeployDataFamily(data_store, submit_arguments=None, name='deploy_data', **kwargs)
#
Bases: AnchorFamily
Defines "static_data" family contaning all tasks needed to deploy all types of datasets defined on a [data.StaticDataStore].
| Parameters: |
|
|---|
Source code in wellies/data.py
Methods:#
wellies.tools.DeployToolsFamily(tools, submit_arguments=None, name='deploy_tools', **kwargs)
#
Bases: AnchorFamily
The deployTools Family contains all the nodes required to install the tools of the suite in the target location (lib directory, $LIB_DIR).
The structure is the following: - The first level contains the environments, which includes a setup Task. - The second level contains the packages to install in the environment.
The environment will be created in $LIB_DIR/env_name.
Creates the DeployToolsFamily and pass the extra arguments to the Family constructor.
| Parameters: |
|
|---|
Source code in wellies/tools.py
Methods:#
wellies.tools.DeployPackagesFamily(tools, env_packages, env, submit_arguments, **kwargs)
#
Bases: Family
A deployment family class for the packages of an environment.
Source code in wellies/tools.py
wellies.log_archiving.ArchivedRepeatFamily(name, repeat_options, logs_backup=None, logs_archive=None, submit_arguments=None, **kwargs)
#
Bases: AnchorFamily
Source code in wellies/log_archiving.py
Methods:#
generate_node()
#
Before generating node, we need to set the right triggers to the loop_log tasks.