From 2e14e7d4365e420459a45a80ca33cbdb55c8cbab Mon Sep 17 00:00:00 2001 From: achini Date: Mon, 2 Dec 2019 11:18:34 +0530 Subject: [PATCH 1/2] Update apt install queries --- single-node/single-node.yaml | 12 +++++++----- two-node-cluster/2-node-cluster.yml | 10 +++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/single-node/single-node.yaml b/single-node/single-node.yaml index 6b0491ee..a80c4418 100755 --- a/single-node/single-node.yaml +++ b/single-node/single-node.yaml @@ -325,8 +325,8 @@ Resources: - - '#!/bin/bash' - 'export PATH=~/.local/bin:$PATH' - apt-get update - - apt-get install -y mysql-client - - apt-get install -y unzip + - DEBIAN_FRONTEND=noninteractive apt-get install -yq mysql-client + - DEBIAN_FRONTEND=noninteractive apt-get install -y unzip - curl -o jdk-setup.tar.gz https://s3.amazonaws.com/is-performance-test/java-setup/jdk-8u212-linux-x64.tar.gz - sudo mkdir /usr/lib/jvm - sudo tar -xvf jdk-setup.tar.gz -C /usr/lib/jvm @@ -369,8 +369,8 @@ Resources: - - '#!/bin/bash' - 'export PATH=~/.local/bin:$PATH' - apt-get update - - apt-get install -y mysql-client - - apt-get install -y unzip + - DEBIAN_FRONTEND=noninteractive apt-get install -yq mysql-client + - DEBIAN_FRONTEND=noninteractive apt-get install -y unzip - curl -o jdk-setup.tar.gz https://s3.amazonaws.com/is-performance-test/java-setup/jdk-8u212-linux-x64.tar.gz - sudo mkdir /usr/lib/jvm - sudo tar -xvf jdk-setup.tar.gz -C /usr/lib/jvm @@ -410,7 +410,9 @@ Resources: PropagateAtLaunch: 'true' DependsOn: - WSO2ISNodeLaunchConfigurationsuffix - +https://github: + com/aaujayasena/performance-is: + git: Outputs: InstanceID: Description: The Bastion ID diff --git a/two-node-cluster/2-node-cluster.yml b/two-node-cluster/2-node-cluster.yml index 98a48460..fb0c05a3 100644 --- a/two-node-cluster/2-node-cluster.yml +++ b/two-node-cluster/2-node-cluster.yml @@ -335,8 +335,8 @@ Resources: - - '#!/bin/bash' - 'export PATH=~/.local/bin:$PATH' - apt-get update - - apt-get install -y mysql-client - - apt-get install -y unzip + - DEBIAN_FRONTEND=noninteractive apt-get install -yq mysql-client + - DEBIAN_FRONTEND=noninteractive apt-get install -y unzip - curl -o jdk-setup.tar.gz https://s3.amazonaws.com/is-performance-test/java-setup/jdk-8u212-linux-x64.tar.gz - sudo mkdir /usr/lib/jvm - sudo tar -xvf jdk-setup.tar.gz -C /usr/lib/jvm @@ -384,7 +384,7 @@ Resources: - - '#!/bin/bash' - 'export PATH=~/.local/bin:$PATH' - apt-get update - - apt-get install -y nginx + - DEBIAN_FRONTEND=noninteractive apt-get install -yq nginx - mkdir -p /etc/nginx/ssl/is WSO2ISNodeLaunchConfigurationsuffix: @@ -413,8 +413,8 @@ Resources: - - '#!/bin/bash' - 'export PATH=~/.local/bin:$PATH' - apt-get update - - apt-get install -y mysql-client - - apt-get install -y unzip + - DEBIAN_FRONTEND=noninteractive apt-get install -yq mysql-client + - DEBIAN_FRONTEND=noninteractive apt-get install -y unzip - curl -o jdk-setup.tar.gz https://s3.amazonaws.com/is-performance-test/java-setup/jdk-8u212-linux-x64.tar.gz - sudo mkdir /usr/lib/jvm - sudo tar -xvf jdk-setup.tar.gz -C /usr/lib/jvm From 103c6c8994497e0c93072be2ab2fe44d7786aaac Mon Sep 17 00:00:00 2001 From: aaujayasena <39077751+aaujayasena@users.noreply.github.com> Date: Mon, 2 Dec 2019 11:44:02 +0530 Subject: [PATCH 2/2] Update single-node.yaml --- single-node/single-node.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/single-node/single-node.yaml b/single-node/single-node.yaml index a80c4418..bcfdd461 100755 --- a/single-node/single-node.yaml +++ b/single-node/single-node.yaml @@ -410,9 +410,7 @@ Resources: PropagateAtLaunch: 'true' DependsOn: - WSO2ISNodeLaunchConfigurationsuffix -https://github: - com/aaujayasena/performance-is: - git: + Outputs: InstanceID: Description: The Bastion ID