-
Notifications
You must be signed in to change notification settings - Fork 386
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 SSL checking function in windows OVS script #4029
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4029 +/- ##
==========================================
+ Coverage 60.62% 64.22% +3.60%
==========================================
Files 296 293 -3
Lines 43864 43686 -178
==========================================
+ Hits 26592 28057 +1465
+ Misses 15080 13348 -1732
- Partials 2192 2281 +89
|
hack/windows/Install-OVS.ps1
Outdated
} | ||
} | ||
$SSLZip = "openssl-1.0.2u-x64_86-win64.zip" | ||
curl.exe -LO https://indy.fulgan.com/SSL/$SSLZip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add check on the curl result before trying to unzip it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
hack/windows/Install-OVS.ps1
Outdated
@@ -199,6 +199,22 @@ function InstallOVS() { | |||
SetEnvVar "Path" $env:Path | |||
} | |||
|
|||
function CheckIfLibInstalled() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename it as "InstallDependency"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
$SSLDownloadURL = "https://indy.fulgan.com/SSL/$SSLZip" | ||
curl.exe -LO $SSLDownloadURL | ||
If (!$?) { | ||
Log "Download SSL files failed, URL: $SSLDownloadURL" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a reminder to let user manual install the dependent dll files, and we should list the exact name of the two dependent files.?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
0c74166
to
3bd5741
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
s/ |
Windows OVS needs SSL files to start service. Add new funtion in Install-OVS.ps1 to check files exist and install SSL library if files don't exist. Fixes antrea-io#4027 Signed-off-by: Shuyang Xin <gavinx@vmware.com> Co-authored-by: wenyingd <wenyingd@vmware.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/skip-all |
Windows OVS needs SSL files to start service.
Add new funtion in Install-OVS.ps1 to check files exist and install
SSL library if files don't exist.
Fixes #4027
Signed-off-by: Shuyang Xin gavinx@vmware.com
Co-authored-by: wenyingd wenyingd@vmware.com