taskcluster-taskgraph 24.6.0__tar.gz → 24.8.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/.github/workflows/codeql-analysis.yml +3 -3
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/.github/workflows/codspeed.yml +2 -2
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/.github/workflows/pypi-publish.yml +9 -9
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/.pre-commit-config.yaml +2 -2
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/.taskcluster.yml +6 -1
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/CHANGELOG.md +17 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/PKG-INFO +1 -1
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/index.rst +1 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/parameters.rst +3 -0
- taskcluster_taskgraph-24.8.0/docs/reference/run-task.rst +68 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/pyproject.toml +3 -1
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/run-task/fetch-content +122 -61
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/run-task/run-task +216 -3
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/taskcluster.py +10 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/fetch/Dockerfile +1 -1
- taskcluster_taskgraph-24.8.0/taskcluster/docker/index-task/Dockerfile +14 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/index-task/package.json +2 -2
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/index-task/yarn.lock +27 -52
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/run-task/Dockerfile +1 -1
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/skopeo/Dockerfile +3 -3
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/kinds/test/linux.yml +6 -3
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_generator.py +34 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_scripts_fetch_content.py +192 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_scripts_run_task.py +428 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/uv.lock +1389 -773
- taskcluster_taskgraph-24.6.0/taskcluster/docker/index-task/Dockerfile +0 -11
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/.codespell-ignore-words.txt +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/.github/CODEOWNERS +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/.gitignore +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/.readthedocs.yaml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/.yamllint +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/CODE_OF_CONDUCT.md +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/CONTRIBUTING.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/LICENSE +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/Makefile +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/README.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/concepts/index.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/concepts/kind.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/concepts/loading.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/concepts/optimization.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/concepts/overview.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/concepts/scopes.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/concepts/task-graphs.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/concepts/transforms.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/conf.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/contributing.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/glossary.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/howto/bootstrap-taskgraph.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/howto/create-actions.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/howto/create-tasks.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/howto/debugging.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/howto/define-schemas.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/howto/docker.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/howto/index.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/howto/load-task-locally.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/howto/resolve-keyed-by.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/howto/run-locally.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/howto/send-notifications.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/howto/use-fetches.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/index.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/cli.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/migrations.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/optimization-strategies.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/source/modules.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/source/taskgraph.actions.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/source/taskgraph.loader.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/source/taskgraph.optimize.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/source/taskgraph.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/source/taskgraph.transforms.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/source/taskgraph.transforms.run.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/source/taskgraph.util.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/transforms/chunking.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/transforms/from_deps.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/transforms/index.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/transforms/matrix.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/reference/transforms/task_context.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/tutorials/connecting-taskcluster.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/tutorials/creating-a-task-graph.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/tutorials/example-taskcluster.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/tutorials/getting-started.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/docs/tutorials/index.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/make.bat +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/packages/pytest-taskgraph/README.md +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/packages/pytest-taskgraph/pyproject.toml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/packages/pytest-taskgraph/src/pytest_taskgraph/__init__.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/packages/pytest-taskgraph/src/pytest_taskgraph/fixtures/gen.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/packages/pytest-taskgraph/src/pytest_taskgraph/fixtures/vcs.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/packages/sphinx-taskgraph/README.md +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/packages/sphinx-taskgraph/pyproject.toml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/packages/sphinx-taskgraph/src/sphinx_taskgraph/__init__.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/packages/sphinx-taskgraph/src/sphinx_taskgraph/autoschema.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/renovate.json +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/__init__.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/actions/__init__.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/actions/add_new_jobs.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/actions/cancel.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/actions/cancel_all.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/actions/rebuild_cached_tasks.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/actions/registry.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/actions/retrigger.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/actions/util.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/config.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/create.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/decision.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/docker.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/filter_tasks.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/generator.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/graph.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/loader/__init__.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/loader/default.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/loader/transform.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/main.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/morph.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/optimize/__init__.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/optimize/base.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/optimize/strategies.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/parameters.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/run-task/hgrc +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/run-task/robustcheckout.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/target_tasks.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/task.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/taskgraph.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/__init__.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/base.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/cached_tasks.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/chunking.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/code_review.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/docker_image.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/fetch.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/from_deps.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/matrix.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/notify.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/run/__init__.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/run/common.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/run/index_search.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/run/run_task.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/run/toolchain.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/task.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/transforms/task_context.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/__init__.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/archive.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/attributes.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/cached_tasks.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/caches.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/copy.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/dependencies.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/docker.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/hash.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/json.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/keyed_by.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/memory.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/parameterization.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/path.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/python_path.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/readonlydict.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/schema.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/set_name.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/shell.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/task_context.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/taskgraph.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/templates.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/time.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/treeherder.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/vcs.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/verify.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/workertypes.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/util/yaml.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/config.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/REGISTRY +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/decision/Dockerfile +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/decision/HASH +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/decision/README.md +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/decision/VERSION +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/decision/system-setup.sh +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/image_builder/README.rst +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/index-task/README +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/index-task/insert-indexes.js +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/python/Dockerfile +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/run-task/system-setup.sh +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/skopeo/policy.json +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/docker/skopeo/push_image.sh +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/kinds/check/kind.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/kinds/codecov/kind.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/kinds/complete/kind.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/kinds/doc/kind.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/kinds/docker-image/kind.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/kinds/fetch/kind.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/kinds/push-image/kind.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/kinds/test/kind.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/kinds/test/windows.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/scripts/codecov-upload.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/self_taskgraph/__init__.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/self_taskgraph/custom_parameters.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/self_taskgraph/custom_target_tasks.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/self_taskgraph/transforms/add_pr_route.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/self_taskgraph/transforms/push_image.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/test/params/main-repo-pull-request-untrusted.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/test/params/main-repo-pull-request.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/test/params/main-repo-push.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/test/params/main-repo-release-pytest-taskgraph.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/taskcluster/test/params/main-repo-release-taskcluster-taskgraph.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/template/cookiecutter.json +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/template/hooks/post_gen_project.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/template/{{cookiecutter.project_name}}/taskcluster/config.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/template/{{cookiecutter.project_name}}/taskcluster/docker/linux/Dockerfile +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/template/{{cookiecutter.project_name}}/taskcluster/kinds/docker-image/kind.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/template/{{cookiecutter.project_name}}/taskcluster/kinds/hello/kind.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/template/{{cookiecutter.project_name}}/taskcluster/{{cookiecutter.project_slug}}_taskgraph/transforms/hello.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/template/{{cookiecutter.project_name}}/taskcluster.github.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/__init__.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/automationrelevance.json +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/conftest.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/data/task_context.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/data/taskcluster/config.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/data/taskcluster/docker/hello-world/Dockerfile +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/data/taskcluster/docker/hello-world-tag/Dockerfile +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/data/taskcluster/docker/hello-world-tag/REGISTRY +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/data/taskcluster/docker/hello-world-tag/VERSION +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/data/taskcluster/kinds/docker-image/kind.yml +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/data/taskcluster/scripts/toolchain/run.ps1 +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/data/taskcluster/scripts/toolchain/run.sh +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/data/taskcluster/test_taskgraph/transforms/foo.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/data/testmod/thing.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/mockedopen.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_actions_rebuild_cached_tasks.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_actions_registry.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_config.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_create.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_decision.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_docker.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_graph.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_graph_perf.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_main.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_morph.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_optimize.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_optimize_strategies.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_parameters.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_target_tasks.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_taskgraph.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_transform_chunking.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_transform_docker_image.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_transform_task_context.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_transforms_base.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_transforms_cached_tasks.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_transforms_fetch.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_transforms_from_deps.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_transforms_matrix.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_transforms_notify.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_transforms_run.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_transforms_run_run_task.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_transforms_run_toolchain.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_transforms_task.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_archive.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_attributes.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_cached_tasks.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_copy.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_dependencies.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_docker.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_json.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_keyed_by.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_memory.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_parameterization.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_path.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_python_path.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_readonlydict.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_schema.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_taskcluster.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_templates.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_time.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_treeherder.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_vcs.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_verify.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_workertypes.py +0 -0
- {taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/test/test_util_yaml.py +0 -0
{taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/.github/workflows/codeql-analysis.yml
RENAMED
|
@@ -42,7 +42,7 @@ jobs:
|
|
|
42
42
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
43
43
|
# Initializes the CodeQL tools for scanning.
|
|
44
44
|
- name: Initialize CodeQL
|
|
45
|
-
uses: github/codeql-action/init@
|
|
45
|
+
uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
|
|
46
46
|
with:
|
|
47
47
|
languages: ${{ matrix.language }}
|
|
48
48
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
@@ -55,7 +55,7 @@ jobs:
|
|
|
55
55
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
56
56
|
# If this step fails, then you should remove it and run the build manually (see below)
|
|
57
57
|
- name: Autobuild
|
|
58
|
-
uses: github/codeql-action/autobuild@
|
|
58
|
+
uses: github/codeql-action/autobuild@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
|
|
59
59
|
|
|
60
60
|
# ℹ️ Command-line programs to run using the OS shell.
|
|
61
61
|
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
|
@@ -67,4 +67,4 @@ jobs:
|
|
|
67
67
|
# echo "Run, Build Application using script"
|
|
68
68
|
# ./location_of_script_within_repo/buildscript.sh
|
|
69
69
|
- name: Perform CodeQL Analysis
|
|
70
|
-
uses: github/codeql-action/analyze@
|
|
70
|
+
uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
|
{taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/.github/workflows/codspeed.yml
RENAMED
|
@@ -19,13 +19,13 @@ jobs:
|
|
|
19
19
|
id-token: write # required for OIDC authentication with CodSpeed
|
|
20
20
|
steps:
|
|
21
21
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
22
|
-
- uses: astral-sh/setup-uv@
|
|
22
|
+
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
|
|
23
23
|
with:
|
|
24
24
|
python-version: "3.12"
|
|
25
25
|
- name: Install dependencies
|
|
26
26
|
run: uv sync
|
|
27
27
|
- name: Run benchmarks
|
|
28
|
-
uses: CodSpeedHQ/action@
|
|
28
|
+
uses: CodSpeedHQ/action@61efe07e57e55bedeab750c434504de272a56e8c # v5.6.1
|
|
29
29
|
with:
|
|
30
30
|
mode: simulation
|
|
31
31
|
run: uv run pytest test/ --codspeed
|
{taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/.github/workflows/pypi-publish.yml
RENAMED
|
@@ -13,9 +13,9 @@ jobs:
|
|
|
13
13
|
steps:
|
|
14
14
|
- name: Checkout sources
|
|
15
15
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
16
|
-
- uses: actions/setup-python@
|
|
16
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
17
17
|
with:
|
|
18
|
-
python-version: '3.
|
|
18
|
+
python-version: '3.15'
|
|
19
19
|
cache: 'pip'
|
|
20
20
|
- name: Build taskcluster-taskgraph package distributions
|
|
21
21
|
run: |
|
|
@@ -28,7 +28,7 @@ jobs:
|
|
|
28
28
|
# Renovate offsets that by bumping the pinned SHA (tracked via the
|
|
29
29
|
# trailing `# vX.Y.Z` comment), so merge those bump PRs promptly.
|
|
30
30
|
- name: Publish package distributions to PyPI
|
|
31
|
-
uses: pypa/gh-action-pypi-publish@
|
|
31
|
+
uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
|
|
32
32
|
pypi-publish-pytest-taskgraph:
|
|
33
33
|
name: upload release to PyPI
|
|
34
34
|
if: startsWith(github.ref, 'refs/tags/pytest-taskgraph')
|
|
@@ -39,9 +39,9 @@ jobs:
|
|
|
39
39
|
steps:
|
|
40
40
|
- name: Checkout sources
|
|
41
41
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
42
|
-
- uses: actions/setup-python@
|
|
42
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
43
43
|
with:
|
|
44
|
-
python-version: '3.
|
|
44
|
+
python-version: '3.15'
|
|
45
45
|
cache: 'pip'
|
|
46
46
|
- name: Build pytest-taskgraph package distributions
|
|
47
47
|
working-directory: packages/pytest-taskgraph
|
|
@@ -49,7 +49,7 @@ jobs:
|
|
|
49
49
|
pip install build
|
|
50
50
|
python -m build
|
|
51
51
|
- name: Publish package distributions to PyPI
|
|
52
|
-
uses: pypa/gh-action-pypi-publish@
|
|
52
|
+
uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
|
|
53
53
|
with:
|
|
54
54
|
packages-dir: packages/pytest-taskgraph/dist
|
|
55
55
|
pypi-publish-sphinx-taskgraph:
|
|
@@ -62,9 +62,9 @@ jobs:
|
|
|
62
62
|
steps:
|
|
63
63
|
- name: Checkout sources
|
|
64
64
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
65
|
-
- uses: actions/setup-python@
|
|
65
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
66
66
|
with:
|
|
67
|
-
python-version: '3.
|
|
67
|
+
python-version: '3.15'
|
|
68
68
|
cache: 'pip'
|
|
69
69
|
- name: Build sphinx-taskgraph package distributions
|
|
70
70
|
working-directory: packages/sphinx-taskgraph
|
|
@@ -72,6 +72,6 @@ jobs:
|
|
|
72
72
|
pip install build
|
|
73
73
|
python -m build
|
|
74
74
|
- name: Publish package distributions to PyPI
|
|
75
|
-
uses: pypa/gh-action-pypi-publish@
|
|
75
|
+
uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
|
|
76
76
|
with:
|
|
77
77
|
packages-dir: packages/sphinx-taskgraph/dist
|
|
@@ -13,13 +13,13 @@ repos:
|
|
|
13
13
|
exclude: template
|
|
14
14
|
- id: check-added-large-files
|
|
15
15
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
16
|
-
rev: v0.
|
|
16
|
+
rev: v0.17.3
|
|
17
17
|
hooks:
|
|
18
18
|
- id: ruff
|
|
19
19
|
args: [--fix, --exit-non-zero-on-fix]
|
|
20
20
|
- id: ruff-format
|
|
21
21
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
|
22
|
-
rev: 0.
|
|
22
|
+
rev: 0.13.6
|
|
23
23
|
hooks:
|
|
24
24
|
- id: uv-lock
|
|
25
25
|
- repo: https://github.com/adrienverge/yamllint.git
|
|
@@ -224,6 +224,11 @@ tasks:
|
|
|
224
224
|
TASKGRAPH_HEAD_REF: '${head_ref}'
|
|
225
225
|
TASKGRAPH_HEAD_REV: '${head_sha}'
|
|
226
226
|
TASKGRAPH_REPOSITORY_TYPE: git
|
|
227
|
+
RUN_TASK_SECRETS:
|
|
228
|
+
$json:
|
|
229
|
+
- type: github-repo-token
|
|
230
|
+
app: read
|
|
231
|
+
repo: '${baseRepoUrl}'
|
|
227
232
|
REPOSITORIES: {$json: {taskgraph: Taskgraph}}
|
|
228
233
|
- $if: 'isPullRequest'
|
|
229
234
|
then:
|
|
@@ -282,7 +287,7 @@ tasks:
|
|
|
282
287
|
--tasks-for='${tasks_for}'
|
|
283
288
|
--base-repository='${baseRepoUrl}'
|
|
284
289
|
--base-ref='${base_ref}'
|
|
285
|
-
--base-rev=
|
|
290
|
+
--base-rev="$TASKGRAPH_BASE_REV"
|
|
286
291
|
--head-repository='${repoUrl}'
|
|
287
292
|
--head-ref='${head_ref}'
|
|
288
293
|
--head-rev='${head_sha}'
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [24.8.0] - 2026-11-12
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- run-task: fetch Github repo tokens listed in `RUN_TASK_SECRETS` env
|
|
8
|
+
- run-task: use GitHub's compare API to fix up `<PREFIX>_BASE_REV`
|
|
9
|
+
|
|
10
|
+
## [24.7.0] - 2026-11-06
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- don't reuse the parent's HTTP connections in forked children (bug 2088960) (#1095)
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- fetch-content: record a profiler marker for each fetched file (#1083)
|
|
19
|
+
|
|
3
20
|
## [24.6.0] - 2026-10-30
|
|
4
21
|
|
|
5
22
|
### Added
|
|
@@ -28,6 +28,9 @@ base_rev
|
|
|
28
28
|
~~~~~~~~
|
|
29
29
|
The previous revision before ``head_rev`` got merged into. This can be a short revision string.
|
|
30
30
|
|
|
31
|
+
For ``github-push`` and ``github-pull-request`` tasks_for, ``run-task`` can replace the
|
|
32
|
+
reported base with the merge base. See :ref:`run-task-base-revisions`.
|
|
33
|
+
|
|
31
34
|
head_rev
|
|
32
35
|
~~~~~~~~
|
|
33
36
|
The revision to check out, this can be a short revision string.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
run-task
|
|
2
|
+
========
|
|
3
|
+
|
|
4
|
+
`run-task`_ is a script in the Docker images provided by Taskgraph. It wraps a
|
|
5
|
+
task's command and handles setup such as cloning repositories, fetching
|
|
6
|
+
artifacts and installing Python requirements.
|
|
7
|
+
|
|
8
|
+
.. _run-task: https://github.com/taskcluster/taskgraph/blob/main/src/taskgraph/run-task/run-task
|
|
9
|
+
|
|
10
|
+
.. _run-task-secrets:
|
|
11
|
+
|
|
12
|
+
Secrets
|
|
13
|
+
-------
|
|
14
|
+
|
|
15
|
+
``run-task`` can fetch secrets before it clones anything, so the checkout and
|
|
16
|
+
the task can both use them. List them as JSON in ``RUN_TASK_SECRETS``:
|
|
17
|
+
|
|
18
|
+
.. code-block:: yaml
|
|
19
|
+
|
|
20
|
+
payload:
|
|
21
|
+
env:
|
|
22
|
+
RUN_TASK_SECRETS:
|
|
23
|
+
$json:
|
|
24
|
+
- type: github-repo-token
|
|
25
|
+
app: read
|
|
26
|
+
repo: https://github.com/myorg/myrepo
|
|
27
|
+
|
|
28
|
+
The only type so far is ``github-repo-token``. It asks Taskcluster's auth service
|
|
29
|
+
for an installation token of the GitHub App ``app``, scoped to ``repo``. Its
|
|
30
|
+
keys are:
|
|
31
|
+
|
|
32
|
+
``app`` (required)
|
|
33
|
+
The name of the GitHub App registered with Taskcluster.
|
|
34
|
+
``repo`` (required)
|
|
35
|
+
The GitHub repository the token is for.
|
|
36
|
+
``permissions``
|
|
37
|
+
The token's permissions. Defaults to ``{"contents": "read"}``.
|
|
38
|
+
``env``
|
|
39
|
+
The environment variable to export the token in. Defaults to
|
|
40
|
+
``GITHUB_TOKEN``. A variable that is already set is never replaced.
|
|
41
|
+
|
|
42
|
+
``run-task`` also keeps the token for its own GitHub requests. The task needs
|
|
43
|
+
the ``taskclusterProxy`` feature and an
|
|
44
|
+
``auth:github-repo-token:<app>/<owner>/<repo>:<permission>:<level>`` scope for
|
|
45
|
+
each permission. If a request fails, for example because a pull request from a
|
|
46
|
+
fork lacks the scope, ``run-task`` logs a warning and carries on without the
|
|
47
|
+
token. The same happens when the auth service rejects the request, such as for
|
|
48
|
+
an unknown ``app`` or invalid ``permissions``. Invalid JSON, an unknown ``type``
|
|
49
|
+
or key, or a ``repo`` that isn't on GitHub fails the task. Installation tokens
|
|
50
|
+
expire after an hour.
|
|
51
|
+
|
|
52
|
+
.. _run-task-base-revisions:
|
|
53
|
+
|
|
54
|
+
GitHub base revisions
|
|
55
|
+
---------------------
|
|
56
|
+
|
|
57
|
+
GitHub often reports the wrong base revision: the null revision for a new
|
|
58
|
+
branch, the orphaned old tip for a force push, and the target's current tip for
|
|
59
|
+
a pull request. For a GitHub git checkout that sets ``<PREFIX>_HEAD_REV`` and
|
|
60
|
+
either ``<PREFIX>_BASE_REV`` or ``<PREFIX>_BASE_REF``, ``run-task`` uses GitHub's
|
|
61
|
+
compare API to find the right base. It then fetches that commit and exports it
|
|
62
|
+
as ``<PREFIX>_BASE_REV``. The requests are authenticated with a
|
|
63
|
+
``github-repo-token`` for the repository from :ref:`run-task-secrets` if there
|
|
64
|
+
is one, or else with ``GITHUB_TOKEN`` if it is set. If the lookup fails, the
|
|
65
|
+
reported base is kept.
|
|
66
|
+
|
|
67
|
+
Every task that sets ``<PREFIX>_BASE_REV`` or ``<PREFIX>_BASE_REF`` on a GitHub
|
|
68
|
+
repository makes these compare requests implicitly.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
### Project
|
|
2
2
|
[project]
|
|
3
3
|
name = "taskcluster-taskgraph"
|
|
4
|
-
version = "24.
|
|
4
|
+
version = "24.8.0"
|
|
5
5
|
description = "Build taskcluster taskgraphs"
|
|
6
6
|
readme = "README.rst"
|
|
7
7
|
authors = [
|
|
@@ -92,6 +92,8 @@ xfail_strict = true
|
|
|
92
92
|
[tool.coverage.run]
|
|
93
93
|
branch = true
|
|
94
94
|
source = ["src/taskgraph/", "src/taskgraph/run-task/", "packages", "test"]
|
|
95
|
+
parallel = true
|
|
96
|
+
patch = ["_exit"]
|
|
95
97
|
|
|
96
98
|
### Lint and Format
|
|
97
99
|
[tool.ruff]
|
{taskcluster_taskgraph-24.6.0 → taskcluster_taskgraph-24.8.0}/src/taskgraph/run-task/fetch-content
RENAMED
|
@@ -57,6 +57,50 @@ def log(msg):
|
|
|
57
57
|
sys.stderr.flush()
|
|
58
58
|
|
|
59
59
|
|
|
60
|
+
def open_for_append(path):
|
|
61
|
+
"""Open path for writes that are each appended atomically, even when
|
|
62
|
+
several processes append to it concurrently."""
|
|
63
|
+
if sys.platform != "win32":
|
|
64
|
+
return os.open(path, os.O_WRONLY | os.O_APPEND)
|
|
65
|
+
|
|
66
|
+
import _winapi
|
|
67
|
+
import msvcrt
|
|
68
|
+
|
|
69
|
+
# O_APPEND seeks to the end before each write on Windows, which isn't
|
|
70
|
+
# atomic. Writes through a handle that may only append go to the end of
|
|
71
|
+
# the file atomically.
|
|
72
|
+
FILE_APPEND_DATA = 0x4
|
|
73
|
+
FILE_SHARE_READ_WRITE_DELETE = 0x7
|
|
74
|
+
handle = _winapi.CreateFile(
|
|
75
|
+
path,
|
|
76
|
+
FILE_APPEND_DATA,
|
|
77
|
+
FILE_SHARE_READ_WRITE_DELETE,
|
|
78
|
+
0,
|
|
79
|
+
_winapi.OPEN_EXISTING,
|
|
80
|
+
0,
|
|
81
|
+
0,
|
|
82
|
+
)
|
|
83
|
+
return msvcrt.open_osfhandle(handle, 0)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
def record_marker(name, start, end, text):
|
|
87
|
+
"""Add a marker to the profile of the resource monitor run-task runs, if
|
|
88
|
+
any, using the forwarding protocol of mozsystemmonitor."""
|
|
89
|
+
path = os.environ.get("MOZ_RESOURCE_MONITOR_FORWARD")
|
|
90
|
+
if not path:
|
|
91
|
+
return
|
|
92
|
+
# 2 is the "Tasks" category.
|
|
93
|
+
record = ["marker", name, start, end, {"type": "Text", "text": text}, 2]
|
|
94
|
+
try:
|
|
95
|
+
fd = open_for_append(path)
|
|
96
|
+
try:
|
|
97
|
+
os.write(fd, (json.dumps(record) + "\n").encode("utf-8"))
|
|
98
|
+
finally:
|
|
99
|
+
os.close(fd)
|
|
100
|
+
except OSError:
|
|
101
|
+
pass
|
|
102
|
+
|
|
103
|
+
|
|
60
104
|
class IntegrityError(Exception):
|
|
61
105
|
"""Represents an integrity error when downloading a URL."""
|
|
62
106
|
|
|
@@ -971,6 +1015,21 @@ def fetch_and_extract(url, dest_dir, extract=True, sha256=None, size=None):
|
|
|
971
1015
|
pass
|
|
972
1016
|
|
|
973
1017
|
|
|
1018
|
+
@contextlib.contextmanager
|
|
1019
|
+
def fetch_marker(url):
|
|
1020
|
+
"""Record the duration of a fetch, including failures."""
|
|
1021
|
+
start = time.monotonic()
|
|
1022
|
+
try:
|
|
1023
|
+
yield
|
|
1024
|
+
finally:
|
|
1025
|
+
record_marker("fetch-content", start, time.monotonic(), url)
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
def fetch_and_extract_with_marker(url, *args):
|
|
1029
|
+
with fetch_marker(url):
|
|
1030
|
+
fetch_and_extract(url, *args)
|
|
1031
|
+
|
|
1032
|
+
|
|
974
1033
|
def fetch_urls(downloads):
|
|
975
1034
|
"""Fetch URLs pairs to a pathlib.Path.
|
|
976
1035
|
|
|
@@ -984,7 +1043,7 @@ def fetch_urls(downloads):
|
|
|
984
1043
|
extractions = []
|
|
985
1044
|
for url, dest_dir, *rest in downloads:
|
|
986
1045
|
staging_dir = pathlib.Path(tempfile.mkdtemp(prefix=".fetch.", dir=dest_dir))
|
|
987
|
-
future = e.submit(
|
|
1046
|
+
future = e.submit(fetch_and_extract_with_marker, url, staging_dir, *rest)
|
|
988
1047
|
extractions.append((future, staging_dir, dest_dir))
|
|
989
1048
|
|
|
990
1049
|
for future, staging_dir, dest_dir in extractions:
|
|
@@ -1179,81 +1238,83 @@ def git_checkout_archive(
|
|
|
1179
1238
|
|
|
1180
1239
|
|
|
1181
1240
|
def command_git_checkout_archive(args):
|
|
1182
|
-
|
|
1241
|
+
with fetch_marker(args.repo):
|
|
1242
|
+
dest = pathlib.Path(args.dest)
|
|
1183
1243
|
|
|
1184
|
-
try:
|
|
1185
|
-
git_checkout_archive(
|
|
1186
|
-
dest,
|
|
1187
|
-
args.repo,
|
|
1188
|
-
args.commit,
|
|
1189
|
-
prefix=args.path_prefix,
|
|
1190
|
-
ssh_key=args.ssh_key_secret,
|
|
1191
|
-
include_dot_git=args.include_dot_git,
|
|
1192
|
-
fetch_mode=args.fetch_mode,
|
|
1193
|
-
)
|
|
1194
|
-
except Exception:
|
|
1195
1244
|
try:
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1245
|
+
git_checkout_archive(
|
|
1246
|
+
dest,
|
|
1247
|
+
args.repo,
|
|
1248
|
+
args.commit,
|
|
1249
|
+
prefix=args.path_prefix,
|
|
1250
|
+
ssh_key=args.ssh_key_secret,
|
|
1251
|
+
include_dot_git=args.include_dot_git,
|
|
1252
|
+
fetch_mode=args.fetch_mode,
|
|
1253
|
+
)
|
|
1254
|
+
except Exception:
|
|
1255
|
+
try:
|
|
1256
|
+
dest.unlink()
|
|
1257
|
+
except FileNotFoundError:
|
|
1258
|
+
pass
|
|
1199
1259
|
|
|
1200
|
-
|
|
1260
|
+
raise
|
|
1201
1261
|
|
|
1202
1262
|
|
|
1203
1263
|
def command_static_url(args):
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
if bool(gpg_sig_url) != bool(gpg_env_key):
|
|
1208
|
-
print("--gpg-sig-url and --gpg-key-env must both be defined")
|
|
1209
|
-
return 1
|
|
1264
|
+
with fetch_marker(args.url):
|
|
1265
|
+
gpg_sig_url = args.gpg_sig_url
|
|
1266
|
+
gpg_env_key = args.gpg_key_env
|
|
1210
1267
|
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1268
|
+
if bool(gpg_sig_url) != bool(gpg_env_key):
|
|
1269
|
+
print("--gpg-sig-url and --gpg-key-env must both be defined")
|
|
1270
|
+
return 1
|
|
1214
1271
|
|
|
1215
|
-
|
|
1216
|
-
|
|
1272
|
+
if gpg_sig_url:
|
|
1273
|
+
gpg_signature = b"".join(stream_download(gpg_sig_url))
|
|
1274
|
+
gpg_key = os.environb[gpg_env_key.encode("ascii")]
|
|
1217
1275
|
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
dl_dest = dest
|
|
1221
|
-
else:
|
|
1222
|
-
dl_dest = dest.parent / basename
|
|
1276
|
+
dest = pathlib.Path(args.dest)
|
|
1277
|
+
dest.parent.mkdir(parents=True, exist_ok=True)
|
|
1223
1278
|
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
if gpg_sig_url:
|
|
1230
|
-
gpg_verify_path(dl_dest, gpg_key, gpg_signature)
|
|
1279
|
+
basename = urllib.parse.urlparse(args.url).path.split("/")[-1]
|
|
1280
|
+
if basename.endswith("".join(dest.suffixes)):
|
|
1281
|
+
dl_dest = dest
|
|
1282
|
+
else:
|
|
1283
|
+
dl_dest = dest.parent / basename
|
|
1231
1284
|
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
repack_archive(
|
|
1236
|
-
dl_dest,
|
|
1237
|
-
dest,
|
|
1238
|
-
args.strip_components,
|
|
1239
|
-
args.add_prefix,
|
|
1240
|
-
args.force_archive,
|
|
1285
|
+
try:
|
|
1286
|
+
download_to_path(
|
|
1287
|
+
args.url, dl_dest, sha256=args.sha256, size=args.size, headers=args.headers
|
|
1241
1288
|
)
|
|
1242
|
-
elif dl_dest != dest:
|
|
1243
|
-
log(f"Renaming {dl_dest} to {dest}")
|
|
1244
|
-
dl_dest.rename(dest)
|
|
1245
1289
|
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1290
|
+
if gpg_sig_url:
|
|
1291
|
+
gpg_verify_path(dl_dest, gpg_key, gpg_signature)
|
|
1292
|
+
|
|
1293
|
+
if args.force_archive or should_repack_archive(
|
|
1294
|
+
dl_dest, dest, args.strip_components, args.add_prefix
|
|
1295
|
+
):
|
|
1296
|
+
repack_archive(
|
|
1297
|
+
dl_dest,
|
|
1298
|
+
dest,
|
|
1299
|
+
args.strip_components,
|
|
1300
|
+
args.add_prefix,
|
|
1301
|
+
args.force_archive,
|
|
1302
|
+
)
|
|
1303
|
+
elif dl_dest != dest:
|
|
1304
|
+
log(f"Renaming {dl_dest} to {dest}")
|
|
1305
|
+
dl_dest.rename(dest)
|
|
1251
1306
|
|
|
1252
|
-
|
|
1307
|
+
except Exception:
|
|
1308
|
+
try:
|
|
1309
|
+
dl_dest.unlink()
|
|
1310
|
+
except FileNotFoundError:
|
|
1311
|
+
pass
|
|
1253
1312
|
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
dl_dest.
|
|
1313
|
+
raise
|
|
1314
|
+
|
|
1315
|
+
if dl_dest != dest and dl_dest.exists():
|
|
1316
|
+
log(f"Removing {dl_dest}")
|
|
1317
|
+
dl_dest.unlink()
|
|
1257
1318
|
|
|
1258
1319
|
|
|
1259
1320
|
def api(root_url, service, version, path):
|