Skip to content

Commit

Permalink
Resolve install demo config access issue and use 1.0.2 lib to fix min…
Browse files Browse the repository at this point in the history
…Upload for Windows (opensearch-project#2721)

* Test Again

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Test 1.0.2 lib

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Update check for build 2.4.0 to be every 60min

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
Signed-off-by: Monu Singh <msnghgw@amazon.com>
  • Loading branch information
peterzhuamazon authored and monusingh-1 committed Nov 2, 2022
1 parent 03aca29 commit fe47855
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions jenkins/check-for-build.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ pipeline {
parameterizedCron '''
H 1 * * * %INPUT_MANIFEST=2.3.1/opensearch-dashboards-2.3.1.yml;TARGET_JOB_NAME=distribution-build-opensearch-dashboards
H 1 * * * %INPUT_MANIFEST=2.3.1/opensearch-2.3.1.yml;TARGET_JOB_NAME=distribution-build-opensearch
H 1 * * * %INPUT_MANIFEST=2.4.0/opensearch-dashboards-2.4.0.yml;TARGET_JOB_NAME=distribution-build-opensearch-dashboards
H 1 * * * %INPUT_MANIFEST=2.4.0/opensearch-2.4.0.yml;TARGET_JOB_NAME=distribution-build-opensearch
H/60 * * * * %INPUT_MANIFEST=2.4.0/opensearch-dashboards-2.4.0.yml;TARGET_JOB_NAME=distribution-build-opensearch-dashboards
H/60 * * * * %INPUT_MANIFEST=2.4.0/opensearch-2.4.0.yml;TARGET_JOB_NAME=distribution-build-opensearch;BUILD_PLATFORM=linux
H 1 * * * %INPUT_MANIFEST=3.0.0/opensearch-3.0.0.yml;TARGET_JOB_NAME=distribution-build-opensearch
H 1 * * * %INPUT_MANIFEST=3.0.0/opensearch-dashboards-3.0.0.yml;TARGET_JOB_NAME=distribution-build-opensearch-dashboards
'''
Expand Down
2 changes: 1 addition & 1 deletion jenkins/opensearch/distribution-build.jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lib = library(identifier: 'jenkins@1.0.0', retriever: modernSCM([
lib = library(identifier: 'jenkins@1.0.2', retriever: modernSCM([
$class: 'GitSCMSource',
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git',
]))
Expand Down
2 changes: 1 addition & 1 deletion jenkins/promotion/promote-artifacts.jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lib = library(identifier: 'jenkins@1.0.0', retriever: modernSCM([
lib = library(identifier: 'jenkins@1.0.2', retriever: modernSCM([
$class: 'GitSCMSource',
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git',
]))
Expand Down
5 changes: 2 additions & 3 deletions scripts/components/security/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,11 @@ fi
[ -z "$ARCHITECTURE" ] && ARCHITECTURE=`uname -m`

SECURITY_PLUGIN="opensearch-security"
chmod -c 755 $OUTPUT/plugins/$SECURITY_PLUGIN/tools/*.sh

if [ "$PLATFORM" = "windows" ]; then
chmod -c 755 $OUTPUT/plugins/$SECURITY_PLUGIN/tools/*.bat

# Temporary solution to run shell script on Windows through MinGW
# Tracking issue: https://github.com/opensearch-project/security/issues/2148
$OUTPUT/plugins/$SECURITY_PLUGIN/tools/install_demo_configuration.sh -y -i -s
bash $OUTPUT/plugins/$SECURITY_PLUGIN/tools/install_demo_configuration.sh -y -i -s

fi

0 comments on commit fe47855

Please sign in to comment.