Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
task
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaia-X
Trust Services API
task
Merge requests
!12
Add task execution documentation
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add task execution documentation
17-task-execution-documentation
into
main
Overview
2
Commits
1
Pipelines
1
Changes
1
Merged
Yordan Kinkov
requested to merge
17-task-execution-documentation
into
main
2 years ago
Overview
2
Commits
1
Pipelines
1
Changes
1
Expand
Closes
#17 (closed)
@valerii.kalashnikov
@lyuben.penkovski
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
c146e221
1 commit,
2 years ago
1 file
+
12
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
docs/task.md
+
12
−
0
Options
@@ -36,6 +36,18 @@ given as input will be used as the body of the task request. The caller will rec
immediately the
`taskID`
as response, and the result of the asynchronous task
execution will be stored in the TSA Cache after the task is completed.
The actual _Task execution_ is strictly bound to the _Task definition_. In order a _task_
to be executed successfully, its _definition_
**must**
contain either a
`requestPolicy`
OR
`url`
and
`method`
. When a
`requestPolicy`
is set in the _Task definition_, the task will
evaluate it and will ignore the
`url`
and the
`method`
. If a
`requestPolicy`
is missing in
the _Task definition_, the task will execute an HTTP request to the given
`url`
with the
given
`method`
. If both
`requestPolicy`
AND
`url`
and
`method`
are missing in the _Task definition_,
the task cannot be executed. Reference table:
_Task definition_
contains: |
`requestPolicy`
only |
`url`
and
`method`
only | Both
`requestPolicy`
AND
`url`
and
`method`
| Neither
--- | --- | --- | --- |---
**_Task_ will execute**
|
`requestPolicy`
|
`url`
and
`method`
|
`requestPolicy`
| None
### Task Executor Configuration
There are two environment variables that control the level of concurrency
Loading