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
Commits
c146e221
Commit
c146e221
authored
2 years ago
by
Yordan Kinkov
Browse files
Options
Downloads
Patches
Plain Diff
"
#17
add task execution documentation"
parent
30890e0f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Pipeline
#51863
passed with stages
in 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/task.md
+12
-0
12 additions, 0 deletions
docs/task.md
with
12 additions
and
0 deletions
docs/task.md
+
12
−
0
View file @
c146e221
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment