Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add task examples #3509

Merged
merged 1 commit into from
Jan 15, 2025
Merged

Add task examples #3509

merged 1 commit into from
Jan 15, 2025

Conversation

lcawl
Copy link
Contributor

@lcawl lcawl commented Jan 14, 2025

Relates to #2482

This PR adds more examples derived from https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html and edits the descriptions.

Copy link
Contributor

Following you can find the validation results for the APIs you have changed.

API Status Request Response
tasks.cancel 🟢 2/2 2/2
tasks.get 🟢 10/10 10/10
tasks.list 🟢 9/9 9/9

You can validate these APIs yourself by using the make validate target.

@lcawl lcawl marked this pull request as ready for review January 14, 2025 08:25
Copy link
Contributor

Following you can find the validation results for the APIs you have changed.

API Status Request Response
tasks.cancel 🟢 2/2 2/2
tasks.get 🟢 10/10 10/10
tasks.list 🟢 9/9 9/9

You can validate these APIs yourself by using the make validate target.

@lcawl lcawl merged commit 4d7c5a2 into main Jan 15, 2025
8 checks passed
@lcawl lcawl deleted the task-examples branch January 15, 2025 19:02
github-actions bot pushed a commit that referenced this pull request Jan 15, 2025
(cherry picked from commit 4d7c5a2)
Copy link
Contributor

The backport to 8.17 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.17 8.17
# Navigate to the new working tree
cd .worktrees/backport-8.17
# Create a new branch
git switch --create backport-3509-to-8.17
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 4d7c5a293151660df6ba363dbbfb43f673fdc5b5
# Push it to GitHub
git push --set-upstream origin backport-3509-to-8.17
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.17

Then, create a pull request where the base branch is 8.17 and the compare/head branch is backport-3509-to-8.17.

lcawl added a commit that referenced this pull request Jan 15, 2025
(cherry picked from commit 4d7c5a2)

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
lcawl added a commit that referenced this pull request Jan 15, 2025
(cherry picked from commit 4d7c5a2)
@lcawl
Copy link
Contributor Author

lcawl commented Jan 15, 2025

💚 All backports created successfully

Status Branch Result
8.17

Questions ?

Please refer to the Backport tool documentation

lcawl added a commit that referenced this pull request Jan 15, 2025
(cherry picked from commit 4d7c5a2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants