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

Restore setting up temp dir for windows service #44541

Merged
merged 18 commits into from
Jul 21, 2019

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Jul 18, 2019

In #41913 setting up the
temp dir for ES was moved from the env script to individual cli scripts.
However, moving it to the windows service cli was missed. This commit
restores setting up the temp dir for the windows service control script.

In elastic#41913 setting up the
temp dir for ES was moved from the env script to individual cli scripts.
However, moving it to the windows service cli was missed. This commit
restores setting up the temp dir for the windows service control script.
@rjernst rjernst added >bug :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts v8.0.0 v7.3.0 v7.4.0 labels Jul 18, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@rjernst
Copy link
Member Author

rjernst commented Jul 18, 2019

Note I currently have the fix commented out here in order to ensure the new test would have caught the existing bug (I have had issues running the windows vagrant image on my local machine lately). I will restore the fix here once I see the packaging tests fail as expected.

@rjernst rjernst requested a review from jasontedor July 20, 2019 03:21
@rjernst
Copy link
Member Author

rjernst commented Jul 20, 2019

Ok, this is ready for review. Getting tests running again required a couple fixes to how the java paths are handled, and I also added future protection in case our windows script fails.

@rjernst
Copy link
Member Author

rjernst commented Jul 20, 2019

@elasticmachine run elasticsearch-ci/packaging-sample

@rjernst rjernst added the v7.2.1 label Jul 20, 2019
@rjernst
Copy link
Member Author

rjernst commented Jul 20, 2019

@elasticmachine run elasticsearch-ci/packaging-sample

Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

I tested this in a Windows VM. I was able to reproduce the existing issue, and verify that this fix addresses the issue.

@rjernst rjernst merged commit 8f8cc91 into elastic:master Jul 21, 2019
@rjernst rjernst deleted the fix_windows_service_temp branch July 21, 2019 15:49
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Jul 21, 2019
In elastic#41913 setting up the
temp dir for ES was moved from the env script to individual cli scripts.
However, moving it to the windows service cli was missed. This commit
restores setting up the temp dir for the windows service control script.
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Jul 21, 2019
In elastic#41913 setting up the
temp dir for ES was moved from the env script to individual cli scripts.
However, moving it to the windows service cli was missed. This commit
restores setting up the temp dir for the windows service control script.
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Jul 21, 2019
In elastic#41913 setting up the
temp dir for ES was moved from the env script to individual cli scripts.
However, moving it to the windows service cli was missed. This commit
restores setting up the temp dir for the windows service control script.
rjernst added a commit that referenced this pull request Jul 21, 2019
In #41913 setting up the
temp dir for ES was moved from the env script to individual cli scripts.
However, moving it to the windows service cli was missed. This commit
restores setting up the temp dir for the windows service control script.
rjernst added a commit that referenced this pull request Jul 21, 2019
In #41913 setting up the
temp dir for ES was moved from the env script to individual cli scripts.
However, moving it to the windows service cli was missed. This commit
restores setting up the temp dir for the windows service control script.
rjernst added a commit that referenced this pull request Jul 21, 2019
In #41913 setting up the
temp dir for ES was moved from the env script to individual cli scripts.
However, moving it to the windows service cli was missed. This commit
restores setting up the temp dir for the windows service control script.
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts Team:Delivery Meta label for Delivery team v7.2.1 v7.3.0 v7.4.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants