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

Added support for assembling on Windows. #809

Merged
merged 2 commits into from
Oct 27, 2021

Conversation

dblock
Copy link
Member

@dblock dblock commented Oct 26, 2021

Signed-off-by: dblock [email protected]

Description

~/source/opensearch-project/opensearch-build/dblock-opensearch-build (assemble-windows)$ ./assemble.sh builds/ core-plugins/ dist/         manifest.yml  maven/        plugins/
~/source/opensearch-project/opensearch-build/dblock-opensearch-build (assemble-windows)$ ./assemble.sh builds/manifest.yml
Installing dependencies in . ...
Installing dependencies from Pipfile.lock (9310b0)...
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Running ./src/run_assemble.py builds/manifest.yml ...
2021-10-26 16:02:59 INFO     Bundling OpenSearch (x64) on windows into C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\dist ...
2021-10-26 16:03:02 INFO     Executing "bash C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\components\OpenSearch\install.sh -a "C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds" -o "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT"" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
+ getopts :h:a:o: arg
+ case $arg in
+ ARTIFACTS='C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds'
+ getopts :h:a:o: arg
+ case $arg in
+ OUTPUT='C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT'
+ getopts :h:a:o: arg
++ dirname 'C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\components\OpenSearch\install.sh'
+ DIR='C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\components\OpenSearch'
+ echo 'C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\components\OpenSearch'
C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\components\OpenSearch
+ cd 'C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\components\OpenSearch'
+ cp ../../../scripts/legacy/tar/linux/opensearch-tar-install.sh 'C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT/'
2021-10-26 16:03:02 INFO     Installing job-scheduler
2021-10-26 16:03:02 INFO     Executing "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT\bin\opensearch-plugin.bat install --batch file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-job-scheduler-1.1.0.0-SNAPSHOT.zip" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
Picked up _JAVA_OPTIONS: -Xmx4096M
Picked up _JAVA_OPTIONS: -Xmx4096M
-> Installing file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-job-scheduler-1.1.0.0-SNAPSHOT.zip
-> Downloading file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-job-scheduler-1.1.0.0-SNAPSHOT.zip
-> Installed opensearch-job-scheduler with folder name opensearch-job-scheduler
2021-10-26 16:03:03 INFO     Executing "bash C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\default\install.sh -a "C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds" -o "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT"" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
+ getopts :h:a:o: arg
+ case $arg in
+ ARTIFACTS='C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds'
+ getopts :h:a:o: arg
+ case $arg in
+ OUTPUT='C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT'
+ getopts :h:a:o: arg
2021-10-26 16:03:04 INFO     Installing sql
2021-10-26 16:03:04 INFO     Executing "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT\bin\opensearch-plugin.bat install --batch file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-sql-1.1.0.0-SNAPSHOT.zip" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
Picked up _JAVA_OPTIONS: -Xmx4096M
Picked up _JAVA_OPTIONS: -Xmx4096M
-> Installing file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-sql-1.1.0.0-SNAPSHOT.zip
-> Downloading file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-sql-1.1.0.0-SNAPSHOT.zip
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission accessDeclaredMembers
* java.lang.RuntimePermission defineClass
* java.lang.reflect.ReflectPermission suppressAccessChecks
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
-> Installed opensearch-sql with folder name opensearch-sql
2021-10-26 16:03:06 INFO     Executing "bash C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\default\install.sh -a "C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds" -o "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT"" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
+ getopts :h:a:o: arg
+ case $arg in
+ ARTIFACTS='C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds'
+ getopts :h:a:o: arg
+ case $arg in
+ OUTPUT='C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT'
+ getopts :h:a:o: arg
2021-10-26 16:03:06 INFO     Installing alerting
2021-10-26 16:03:06 INFO     Executing "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT\bin\opensearch-plugin.bat install --batch file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-alerting-1.1.0.0-SNAPSHOT.zip" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
Picked up _JAVA_OPTIONS: -Xmx4096M
Picked up _JAVA_OPTIONS: -Xmx4096M
-> Installing file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-alerting-1.1.0.0-SNAPSHOT.zip
-> Downloading file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-alerting-1.1.0.0-SNAPSHOT.zip
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission createClassLoader
* java.lang.RuntimePermission getClassLoader
* java.net.NetPermission getProxySelector
* java.net.SocketPermission * connect,resolve
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
-> Installed opensearch-alerting with folder name opensearch-alerting
2021-10-26 16:03:08 INFO     Executing "bash C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\default\install.sh -a "C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds" -o "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT"" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
+ getopts :h:a:o: arg
+ case $arg in
+ ARTIFACTS='C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds'
+ getopts :h:a:o: arg
+ case $arg in
+ OUTPUT='C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT'
+ getopts :h:a:o: arg
2021-10-26 16:03:08 INFO     Installing security
2021-10-26 16:03:08 INFO     Executing "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT\bin\opensearch-plugin.bat install --batch file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-security-1.1.0.0-SNAPSHOT.zip" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
Picked up _JAVA_OPTIONS: -Xmx4096M
Picked up _JAVA_OPTIONS: -Xmx4096M
-> Installing file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-security-1.1.0.0-SNAPSHOT.zip
-> Downloading file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-security-1.1.0.0-SNAPSHOT.zip
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.io.FilePermission /proc/sys/net/core/somaxconn#plus read
* java.io.SerializablePermission enableSubstitution
* java.lang.RuntimePermission accessClassInPackage.com.sun.jndi.*
* java.lang.RuntimePermission accessClassInPackage.sun.misc
* java.lang.RuntimePermission accessClassInPackage.sun.nio.ch
* java.lang.RuntimePermission accessClassInPackage.sun.security.x509
* java.lang.RuntimePermission accessDeclaredMembers
* java.lang.RuntimePermission accessUserInformation
* java.lang.RuntimePermission createClassLoader
* java.lang.RuntimePermission getClassLoader
* java.lang.RuntimePermission setContextClassLoader
* java.lang.RuntimePermission shutdownHooks
* java.lang.reflect.ReflectPermission suppressAccessChecks
* java.net.NetPermission getNetworkInformation
* java.net.NetPermission getProxySelector
* java.net.SocketPermission * connect,accept,resolve
* java.security.SecurityPermission getProperty.ssl.KeyManagerFactory.algorithm
* java.security.SecurityPermission insertProvider.BC
* java.security.SecurityPermission org.apache.xml.security.register
* java.security.SecurityPermission putProviderProperty.BC
* java.security.SecurityPermission setProperty.ocsp.enable
* java.util.PropertyPermission * read,write
* java.util.PropertyPermission org.apache.xml.security.ignoreLineBreaks write
* javax.security.auth.AuthPermission doAs
* javax.security.auth.AuthPermission modifyPrivateCredentials
* javax.security.auth.kerberos.ServicePermission * accept
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
-> Installed opensearch-security with folder name opensearch-security
2021-10-26 16:03:10 INFO     Executing "bash C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\default\install.sh -a "C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds" -o "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT"" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
+ getopts :h:a:o: arg
+ case $arg in
+ ARTIFACTS='C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds'
+ getopts :h:a:o: arg
+ case $arg in
+ OUTPUT='C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT'
+ getopts :h:a:o: arg
2021-10-26 16:03:10 INFO     Installing cross-cluster-replication
2021-10-26 16:03:10 INFO     Executing "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT\bin\opensearch-plugin.bat install --batch file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-cross-cluster-replication-1.1.0.0-SNAPSHOT.zip" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
Picked up _JAVA_OPTIONS: -Xmx4096M
Picked up _JAVA_OPTIONS: -Xmx4096M
-> Installing file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-cross-cluster-replication-1.1.0.0-SNAPSHOT.zip
-> Downloading file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-cross-cluster-replication-1.1.0.0-SNAPSHOT.zip
-> Installed opensearch-cross-cluster-replication with folder name opensearch-cross-cluster-replication
2021-10-26 16:03:13 INFO     Executing "bash C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\default\install.sh -a "C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds" -o "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT"" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
+ getopts :h:a:o: arg
+ case $arg in
+ ARTIFACTS='C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds'
+ getopts :h:a:o: arg
+ case $arg in
+ OUTPUT='C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT'
+ getopts :h:a:o: arg
2021-10-26 16:03:13 INFO     Installing index-management
2021-10-26 16:03:13 INFO     Executing "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT\bin\opensearch-plugin.bat install --batch file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-index-management-1.1.0.0-SNAPSHOT.zip" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
Picked up _JAVA_OPTIONS: -Xmx4096M
Picked up _JAVA_OPTIONS: -Xmx4096M
-> Installing file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-index-management-1.1.0.0-SNAPSHOT.zip
-> Downloading file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-index-management-1.1.0.0-SNAPSHOT.zip
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission createClassLoader
* java.lang.RuntimePermission getClassLoader
* java.net.NetPermission getProxySelector
* java.net.SocketPermission * connect,resolve
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
-> Installed opensearch-index-management with folder name opensearch-index-management
2021-10-26 16:03:15 INFO     Executing "bash C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\default\install.sh -a "C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds" -o "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT"" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
+ getopts :h:a:o: arg
+ case $arg in
+ ARTIFACTS='C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds'
+ getopts :h:a:o: arg
+ case $arg in
+ OUTPUT='C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT'
+ getopts :h:a:o: arg
2021-10-26 16:03:15 INFO     Installing anomaly-detection
2021-10-26 16:03:15 INFO     Executing "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT\bin\opensearch-plugin.bat install --batch file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-anomaly-detection-1.1.0.0-SNAPSHOT.zip" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
Picked up _JAVA_OPTIONS: -Xmx4096M
Picked up _JAVA_OPTIONS: -Xmx4096M
-> Installing file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-anomaly-detection-1.1.0.0-SNAPSHOT.zip
-> Downloading file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-anomaly-detection-1.1.0.0-SNAPSHOT.zip
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission accessClassInPackage.sun.misc
* java.lang.RuntimePermission accessDeclaredMembers
* java.lang.RuntimePermission getClassLoader
* java.lang.RuntimePermission setContextClassLoader
* java.lang.reflect.ReflectPermission suppressAccessChecks
* java.net.SocketPermission * connect,resolve
* javax.management.MBeanPermission org.apache.commons.pool2.impl.GenericObjectPool#-[org.apache.commons.pool2:name=pool,type=GenericObjectPool] registerMBean
* javax.management.MBeanPermission org.apache.commons.pool2.impl.GenericObjectPool#-[org.apache.commons.pool2:name=pool,type=GenericObjectPool] unregisterMBean
* javax.management.MBeanServerPermission createMBeanServer
* javax.management.MBeanTrustPermission register
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
-> Installed opensearch-anomaly-detection with folder name opensearch-anomaly-detection
2021-10-26 16:03:17 INFO     Executing "bash C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\default\install.sh -a "C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds" -o "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT"" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
+ getopts :h:a:o: arg
+ case $arg in
+ ARTIFACTS='C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds'
+ getopts :h:a:o: arg
+ case $arg in
+ OUTPUT='C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT'
+ getopts :h:a:o: arg
2021-10-26 16:03:17 INFO     Installing asynchronous-search
2021-10-26 16:03:17 INFO     Executing "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT\bin\opensearch-plugin.bat install --batch file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-asynchronous-search-1.1.0.0-SNAPSHOT.zip" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
Picked up _JAVA_OPTIONS: -Xmx4096M
Picked up _JAVA_OPTIONS: -Xmx4096M
-> Installing file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-asynchronous-search-1.1.0.0-SNAPSHOT.zip
-> Downloading file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-asynchronous-search-1.1.0.0-SNAPSHOT.zip
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission createClassLoader
* java.lang.RuntimePermission getClassLoader
* java.net.NetPermission getProxySelector
* java.net.SocketPermission * connect,resolve
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
-> Installed opensearch-asynchronous-search with folder name opensearch-asynchronous-search
2021-10-26 16:03:19 INFO     Executing "bash C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\default\install.sh -a "C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds" -o "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT"" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
+ getopts :h:a:o: arg
+ case $arg in
+ ARTIFACTS='C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds'
+ getopts :h:a:o: arg
+ case $arg in
+ OUTPUT='C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT'
+ getopts :h:a:o: arg
2021-10-26 16:03:19 INFO     Installing dashboards-reports
2021-10-26 16:03:19 INFO     Executing "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT\bin\opensearch-plugin.bat install --batch file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-reports-scheduler-1.1.0.0-SNAPSHOT.zip" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
Picked up _JAVA_OPTIONS: -Xmx4096M
Picked up _JAVA_OPTIONS: -Xmx4096M
-> Installing file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-reports-scheduler-1.1.0.0-SNAPSHOT.zip
-> Downloading file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-reports-scheduler-1.1.0.0-SNAPSHOT.zip
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission createClassLoader
* java.lang.RuntimePermission getClassLoader
* java.net.NetPermission getProxySelector
* java.net.SocketPermission * connect,resolve
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
-> Installed opensearch-reports-scheduler with folder name opensearch-reports-scheduler
2021-10-26 16:03:22 INFO     Executing "bash C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\default\install.sh -a "C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds" -o "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT"" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
+ getopts :h:a:o: arg
+ case $arg in
+ ARTIFACTS='C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds'
+ getopts :h:a:o: arg
+ case $arg in
+ OUTPUT='C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT'
+ getopts :h:a:o: arg
2021-10-26 16:03:22 INFO     Installing dashboards-notebooks
2021-10-26 16:03:22 INFO     Executing "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT\bin\opensearch-plugin.bat install --batch file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-notebooks-1.1.0.0-SNAPSHOT.zip" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
Picked up _JAVA_OPTIONS: -Xmx4096M
Picked up _JAVA_OPTIONS: -Xmx4096M
-> Installing file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-notebooks-1.1.0.0-SNAPSHOT.zip
-> Downloading file:C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-notebooks-1.1.0.0-SNAPSHOT.zip
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission createClassLoader
* java.lang.RuntimePermission getClassLoader
* java.net.NetPermission getProxySelector
* java.net.SocketPermission * connect,resolve
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
-> Installed opensearch-notebooks with folder name opensearch-notebooks
2021-10-26 16:03:24 INFO     Executing "bash C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\scripts\default\install.sh -a "C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds" -o "C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT"" in C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT
+ getopts :h:a:o: arg
+ case $arg in
+ ARTIFACTS='C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\builds'
+ getopts :h:a:o: arg
+ case $arg in
+ OUTPUT='C:\Users\ADMINI~1\AppData\Local\Temp\2\tmpnkzd37bo\opensearch-1.1.0-SNAPSHOT'
+ getopts :h:a:o: arg
2021-10-26 16:03:24 INFO     Installed plugins: ['opensearch-alerting', 'opensearch-anomaly-detection', 'opensearch-asynchronous-search', 'opensearch-cross-cluster-replication', 'opensearch-index-management', 'opensearch-job-scheduler', 'opensearch-notebooks', 'opensearch-reports-scheduler', 'opensearch-security', 'opensearch-sql']
2021-10-26 16:03:55 INFO     Published C:\Users\Administrator\source\opensearch-project\opensearch-build\dblock-opensearch-build\dist\opensearch-1.1.0-SNAPSHOT-windows-x64.zip.
2021-10-26 16:03:55 INFO     Done.

Issues Resolved

Part of #33.

Check List

  • Commits are signed per the DCO using --signoff

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.

Copy link
Member

@peternied peternied left a comment

Choose a reason for hiding this comment

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

I don't like this direction, we are duplicating more configuration files which makes it hard to know if 1.1.0 mac is equivalent to 1.1.0 windows builds and how to tell what the differences are

README.md Show resolved Hide resolved
@@ -0,0 +1,82 @@
---
Copy link
Member

Choose a reason for hiding this comment

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

I'm not a fan of this manifest duplication, I would much rather we add in a new section platform-restriction that could be next to components with these more unique attributes

  - name: common-utils
    repository: https://github.com/opensearch-project/common-utils.git
    ref: "1.1"
    platform-restriction:
       - not:windows // if platform==x do not include
       - only:mac // only include if platform==x
       - include:solaris // add only if platform==x
    checks:
      - gradle:publish
      - gradle:properties:version

Copy link
Member Author

@dblock dblock Oct 26, 2021

Choose a reason for hiding this comment

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

Agreed, opened #811 to take care of this. This PR is getting large.

Copy link
Member Author

Choose a reason for hiding this comment

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

I did it in #817, will rebase this change once that's merged.

@dblock dblock requested review from peternied and gaiksaya October 26, 2021 18:46
@dblock dblock requested a review from VachaShah October 27, 2021 11:21
@dblock dblock force-pushed the assemble-windows branch 2 times, most recently from f041f50 to aeaa33a Compare October 27, 2021 19:17
@dblock
Copy link
Member Author

dblock commented Oct 27, 2021

Rebased, ready to re-review, maybe @gaiksaya @peternied pls.

@dblock dblock merged commit f66ca99 into opensearch-project:main Oct 27, 2021
@dblock dblock deleted the assemble-windows branch October 27, 2021 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants