Enable custom start commands and options to resolve GHA issues#676
Conversation
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
|
Hi @finnegancarroll @cwperks please take a look on this. Thanks. |
|
Should we also update actions/setup-java to v4? |
This particular PR is just to update previously failed and unsupported upload artifact actions. Thanks. |
Sounds good, just mentioned cause I think I faced some node issue for the setup-java upgrades. Not a maintainer on this repo but updating on a different PR sounds good |
cwperks
left a comment
There was a problem hiding this comment.
Thank you @peterzhuamazon! This PR looks good to me. I'm not a maintainer of this repo so a maintainer should also have a look.
| @@ -30,16 +30,11 @@ jobs: | |||
| # this image tag is subject to change as more dependencies and updates will arrive over time | |||
| image: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-version-linux }} | |||
| # need to switch to root so that github actions can install runner binary on container without permission issues. | |||
There was a problem hiding this comment.
nit: remove this comment since the line below it is getting removed in this PR
|
The backport to To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/asynchronous-search/backport-1.3 1.3
# Navigate to the new working tree
pushd ../.worktrees/asynchronous-search/backport-1.3
# Create a new branch
git switch --create backport/backport-676-to-1.3
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 8caf59ca49a3fa8c80cf05b1877b29bf32afd8b2
# Push it to GitHub
git push --set-upstream origin backport/backport-676-to-1.3
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/asynchronous-search/backport-1.3Then, create a pull request where the |
|
The backport to To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/asynchronous-search/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/asynchronous-search/backport-2.x
# Create a new branch
git switch --create backport/backport-676-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 8caf59ca49a3fa8c80cf05b1877b29bf32afd8b2
# Push it to GitHub
git push --set-upstream origin backport/backport-676-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/asynchronous-search/backport-2.xThen, create a pull request where the |
…earch-project#676) * Enable custom start commands and options to resolve GHA issues Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Enable custom start commands and options to resolve GHA issues Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Enable custom start commands and options to resolve GHA issues Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> --------- Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> (cherry picked from commit 8caf59c)
…#678) * Enable custom start commands and options to resolve GHA issues Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Enable custom start commands and options to resolve GHA issues Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Enable custom start commands and options to resolve GHA issues Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> --------- Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> (cherry picked from commit 8caf59c) Co-authored-by: Peter Zhu <zhujiaxi@amazon.com>
Description
Enable custom start commands and options to resolve GHA issues
Related Issues
Closes #666 #673
opensearch-project/opensearch-build#5178
Check List
[ ] New functionality includes testing.[ ] New functionality has been documented.[ ] API changes companion pull request created.--signoff.[ ] Public documentation issue/PR created.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.