Scriptworker

Latest version: v60.0.0

Safety actively analyzes 634697 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 27 of 37

10.1.0

---------------------

.. _added-42:

Added
~~~~~

- added functions used in script depending on scriptworker.

- added ``utils.get_single_item_from_sequence()``
- added ``script.sync_main()`` and ``script.validate_task_schema()``
- added ``exceptions.TaskVerificationError``

.. _section-78:

10.0.0

---------------------

.. _added-43:

Added
~~~~~

- added ``get_loggable_url`` to avoid logging secrets
- added integration test for private artifacts

.. _changed-38:

Changed
~~~~~~~

- ``create_artifact`` now has a default expiration of the task
expiration date.
- ``get_artifact_url`` now supports signed URLs for private artifacts
- ``get_artifact_url`` no longer returns unquoted urls (breaks signed
urls)
- ``validate_artifact_url`` unquotes paths before returning them

.. _fixed-35:

Fixed
~~~~~

- fix integration tests for osx py36
`135 <https://github.com/mozilla-releng/scriptworker/issues/135>`__

.. _removed-16:

Removed
~~~~~~~

- removed the config for ``artifact_expiration_hours``.
- removed support for taskcluster 0.3.x

.. _section-79:

9.0.0

--------------------

.. _added-44:

Added
~~~~~

- added support for bouncer scriptworker

.. _changed-39:

Changed
~~~~~~~

- renamed ``run_loop`` to ``run_tasks``
- ``run_tasks`` now shuts down gracefully after receiving a SIGTERM: it
finishes the current task(s), and exits.

.. _fixed-36:

Fixed
~~~~~

- ``run_tasks`` now sleeps 5 if there were no tasks claimed.

.. _section-80:

8.1.1

--------------------

.. _fixed-37:

Fixed
~~~~~

- Freeze aiohttp to 2.x.y

.. _section-81:

8.1.0

--------------------

.. _added-45:

Added
~~~~~

- ``valid_vcs_rules``, ``source_env_prefix``,
``extra_run_task_arguments`` depend on ``cot_product``
- ``cot_product`` is defined in example configuration
- Support for ship-it tasks

.. _section-82:

8.0.0

--------------------

.. _added-46:

Added
~~~~~

- Added ``scriptworker.cot.verify.get_jsone_template``, because action
tasks use actions.json instead of .taskcluster.yml

.. _changed-40:

Changed
~~~~~~~

- Added a ``tasks_for`` argument to ``populate_jsone_context``.
- Used ``format_json`` instead of ``pprint.pformat`` in most
``scriptworker.cot.verify`` functions.

.. _removed-17:

Removed
~~~~~~~

- Removed ``scriptworker.utils.render_jsone``, since it reduced to a
``jsone.render`` call.
- Removed the now-unused
``scriptworker.constants.max_jsone_iterations``

.. _section-83:

Page 27 of 37

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.