From 52167305415b49c0409a40589276b401e66cade4 Mon Sep 17 00:00:00 2001 From: harshita-sharma011 Date: Tue, 24 Mar 2020 06:40:42 +0530 Subject: [PATCH] use single vpc for cluster Signed-off-by: harshita-sharma011 --- .gitlab-ci.yml | 98 +++++++++---------- stages/1-cluster-setup/Dockerfile | 71 ++++++++++++++ stages/1-cluster-setup/create-vpc.yml | 25 +++++ stages/1-cluster-setup/gcp | 21 ++-- stages/13-cluster-cleanup/cluster-cleanup | 10 +- .../13-cluster-cleanup/user-cluster-cleanup | 2 +- .../4-user-cluster-setup/cluster-create-check | 13 ++- 7 files changed, 170 insertions(+), 70 deletions(-) create mode 100644 stages/1-cluster-setup/Dockerfile create mode 100644 stages/1-cluster-setup/create-vpc.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fbdd84f..e903082 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ stages: ## Setup the kubernetes cluster cluster-create: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: CLUSTER-SETUP script: - chmod 755 ./stages/1-cluster-setup/gcp @@ -31,7 +31,7 @@ cluster-create: ## Deploy director-onprem director-deploy: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: PROVIDER-INFRA-SETUP dependencies: - cluster-create @@ -44,7 +44,7 @@ director-deploy: ## director health check jobs maya-io-server-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -56,7 +56,7 @@ maya-io-server-check: - .kube/ maya-ui-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -68,7 +68,7 @@ maya-ui-check: - .kube/ od-elasticsearch-logging-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -80,7 +80,7 @@ od-elasticsearch-logging-check: - .kube/ od-kibana-logging-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -92,7 +92,7 @@ od-kibana-logging-check: - .kube/ table-manager-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -104,7 +104,7 @@ table-manager-check: - .kube/ chat-server-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -116,7 +116,7 @@ chat-server-check: - .kube/ cloud-agent-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -128,7 +128,7 @@ cloud-agent-check: - .kube/ mysql-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -140,7 +140,7 @@ mysql-check: - .kube/ maya-grafana-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -152,7 +152,7 @@ maya-grafana-check: - .kube/ memcached-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -165,7 +165,7 @@ memcached-check: ## cortex infrastructure components jobs alertstore-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -177,7 +177,7 @@ alertstore-check: - .kube/ alertstore-tablemanager-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -189,7 +189,7 @@ alertstore-tablemanager-check: - .kube/ alertmanager-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -201,7 +201,7 @@ alertmanager-check: - .kube/ cassandra-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -213,7 +213,7 @@ cassandra-check: - .kube/ distributor-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -225,7 +225,7 @@ distributor-check: - .kube/ ingestor-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -237,7 +237,7 @@ ingestor-check: - .kube/ querier-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -249,7 +249,7 @@ querier-check: - .kube/ ruler-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -261,7 +261,7 @@ ruler-check: - .kube/ configs-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -273,7 +273,7 @@ configs-check: - .kube/ configs-db-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -285,7 +285,7 @@ configs-db-check: - .kube/ ingress-nginx-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: DIRECTOR-HEALTH-CHECK dependencies: - director-deploy @@ -297,7 +297,7 @@ ingress-nginx-check: - .kube/ cluster-setup-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: USER-CLUSTER-SETUP dependencies: - director-deploy @@ -311,7 +311,7 @@ cluster-setup-check: - .gcp/ create-apikey-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: USER-CLUSTER-CONNECT dependencies: - cluster-setup-check @@ -320,7 +320,7 @@ create-apikey-check: - ./stages/5-cluster-connect-check/create-apikey-check trrc01-cluster-connect-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: USER-CLUSTER-CONNECT dependencies: - cluster-setup-check @@ -334,7 +334,7 @@ trrc01-cluster-connect-check: - .gcp/ client-components-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: USER-CLUSTER-CONNECT dependencies: - cluster-setup-check @@ -343,7 +343,7 @@ client-components-check: - ./stages/5-cluster-connect-check/client-components-check director-self-cluster-connect-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: SELF-CLUSTER-CONNECT dependencies: - cluster-setup-check @@ -352,7 +352,7 @@ director-self-cluster-connect-check: - ./stages/6-self-cluster-connect/self-connect-cluster-check metrics-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: METRICS-CHECK dependencies: - cluster-setup-check @@ -361,7 +361,7 @@ metrics-check: - ./stages/7-metrics-check/metrics-check triv01-teaming-invite-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: TEAMING-CHECK dependencies: - cluster-setup-check @@ -370,7 +370,7 @@ triv01-teaming-invite-check: - ./stages/8-teaming-check/teaming-invite-check trrc02-teaming-change-role-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: TEAMING-CHECK dependencies: - cluster-setup-check @@ -379,7 +379,7 @@ trrc02-teaming-change-role-check: - ./stages/8-teaming-check/teaming-change-role-check trrc03-teaming-change-role-negative-check: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: TEAMING-CHECK dependencies: - cluster-setup-check @@ -398,7 +398,7 @@ topology-check: ## Openebs installation on DOP cluster tcid-iuoi01-openebs-self-install: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: OPENEBS-INSTALL-CHECK dependencies: - cluster-setup-check @@ -408,7 +408,7 @@ tcid-iuoi01-openebs-self-install: ## Openebs install check tcid-iuoi02-openebs-install: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: OPENEBS-INSTALL-CHECK dependencies: - cluster-setup-check @@ -418,7 +418,7 @@ tcid-iuoi02-openebs-install: ## Openebs control plane installation Check tcid-iuoi03-openebs-control-plane: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: OPENEBS-INSTALL-CHECK dependencies: - cluster-setup-check @@ -428,7 +428,7 @@ tcid-iuoi03-openebs-control-plane: ## Openebs data plane installation Check tcid-iuoi04-openebs-data-plane: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: OPENEBS-INSTALL-CHECK dependencies: - cluster-setup-check @@ -438,7 +438,7 @@ tcid-iuoi04-openebs-data-plane: ## Openebs reinstallation Check tcid-iuoi06-openebs-reinstallation: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: OPENEBS-INSTALL-CHECK dependencies: - cluster-setup-check @@ -448,7 +448,7 @@ tcid-iuoi06-openebs-reinstallation: ## openebs-resource-limit-installation tcid-iuoi14-openebs-resource-limit-installation: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: OPENEBS-INSTALL-CHECK dependencies: - cluster-setup-check @@ -458,7 +458,7 @@ tcid-iuoi14-openebs-resource-limit-installation: ## Pool Upgrade Check tcid-iuod08-pool-upgrade: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: OPENEBS-UPGRADE-CHECK dependencies: - cluster-setup-check @@ -468,7 +468,7 @@ tcid-iuod08-pool-upgrade: ## Volume Upgrade Check tcid-iuod12-volume-upgrade: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: OPENEBS-UPGRADE-CHECK dependencies: - cluster-setup-check @@ -478,7 +478,7 @@ tcid-iuod12-volume-upgrade: ## Pool upgrade check when one pod is not running tcid-iuod24-pool-upgrade-one-pod-not-running: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: OPENEBS-UPGRADE-CHECK dependencies: - cluster-setup-check @@ -488,7 +488,7 @@ tcid-iuod24-pool-upgrade-one-pod-not-running: ## Pool upgrade check when all pods are running tcid-iuod23-pool-upgrade-all-pod-running: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: OPENEBS-UPGRADE-CHECK dependencies: - cluster-setup-check @@ -498,7 +498,7 @@ tcid-iuod23-pool-upgrade-all-pod-running: ## Volume upgrade Jiva Check tcid-iuod27-volume-upgrade-jiva: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: OPENEBS-UPGRADE-CHECK dependencies: - cluster-setup-check @@ -508,7 +508,7 @@ tcid-iuod27-volume-upgrade-jiva: ## Upgrade the application with 3 replicas when one replica pod is not running tcid-iuod28-upgrade-replica-pod-pending: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: OPENEBS-UPGRADE-CHECK dependencies: - cluster-setup-check @@ -518,7 +518,7 @@ tcid-iuod28-upgrade-replica-pod-pending: ## Upgrade the application with 3 replicas when all replica pod is not running tcid-iuod30-upgrade-all-replica-pod-pending: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: OPENEBS-UPGRADE-CHECK dependencies: - cluster-setup-check @@ -528,7 +528,7 @@ tcid-iuod30-upgrade-all-replica-pod-pending: ## Upgrade the application with 3 replicas when two replica pod is not running tcid-iuod29-upgrade-two-replica-pod-pending: - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: OPENEBS-UPGRADE-CHECK dependencies: - cluster-setup-check @@ -538,7 +538,7 @@ tcid-iuod29-upgrade-two-replica-pod-pending: e2e-metrics: when: always - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 stage: E2E-METRICS dependencies: - cluster-create @@ -552,7 +552,7 @@ e2e-metrics: ## cluster cleanup cluster-cleanup: when: always - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 dependencies: - cluster-create stage: CLUSTER-CLEANUP @@ -563,7 +563,7 @@ cluster-cleanup: ## user cluster cleanup user-cluster-cleanup: when: always - image: harshshekhar15/gitlab-job:v1 + image: harshitasharma011/test:v6 dependencies: - cluster-setup-check stage: CLUSTER-CLEANUP diff --git a/stages/1-cluster-setup/Dockerfile b/stages/1-cluster-setup/Dockerfile new file mode 100644 index 0000000..7138e1b --- /dev/null +++ b/stages/1-cluster-setup/Dockerfile @@ -0,0 +1,71 @@ +FROM ubuntu:16.04 +ENV GCLOUD_SDK_VERSION=200.0.0 +ENV GCLOUD_SDK_URL=https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-${GCLOUD_SDK_VERSION}-linux-x86_64.tar.gz +ENV PATH="${PATH}:/opt/google-cloud-sdk/bin" +ENV TERM=xterm +ARG ANSIBLE_VERSION=2.6.2~ubuntu16.04.1 +ARG KOPS_VERSION=1.16.0 +ARG KUBECTL_VERSION=1.14.0 +# Install generally useful things +# +RUN rm -rf /var/lib/apt/lists/* +RUN apt-get update \ + && apt-get -y --force-yes install --no-install-recommends \ + curl \ + dnsutils \ + git \ + jq \ + net-tools \ + ssh \ + telnet \ + unzip \ + vim \ + wget \ + python \ + python-pip \ + bash \ + sudo \ + software-properties-common \ + apt-transport-https +#Install azure cli +# RUN AZ_REPO=$(lsb_release -cs) +# RUN echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ xenial main" | \ +# sudo tee /etc/apt/sources.list.d/azure-cli.list +# RUN curl -L https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - +# RUN sudo apt-get update +# RUN sudo apt-get install apt-transport-https azure-cli -y +# Update pip version +RUN pip install --upgrade pip +RUN pip install --upgrade setuptools +RUN pip install kubernetes +#Install gcloud +RUN mkdir -p /opt && \ + cd /opt && \ + wget -q -O - $GCLOUD_SDK_URL |tar zxf - && \ + /opt/google-cloud-sdk/install.sh -q +# Install Ansible +RUN sudo apt-get update -y \ + && sudo apt-get install -y \ + python3 \ + python3-pip +RUN sudo pip3 install --upgrade pip +RUN sudo -H pip3 install ansible==2.6.1 +#Install AWS CLI +# RUN sudo -H pip3 install awscli --upgrade +# RUN sudo -H pip install boto +# RUN sudo -H pip install boto3 +# RUN sudo -H pip install kubernetes +# RUN sudo -H pip install requests +# RUN sudo -H pip install google-auth +# Install Kubectl +ADD https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl /usr/local/bin/kubectl +RUN chmod +x /usr/local/bin/kubectl +# Install Kops +# +ADD https://github.com/kubernetes/kops/releases/download/1.15.0/kops-linux-amd64 /usr/local/bin/kops +RUN chmod +x /usr/local/bin/kops +# Install AWS IAM AUTHENTICATOR +# RUN sudo curl -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.10.3/2018-07-26/bin/linux/amd64/aws-iam-authenticator +# RUN sudo chmod +x /usr/local/bin/aws-iam-authenticator +# RUN curl --silent --location "https://github.com/weaveworks/eksctl/releases/download/latest_release/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp +# RUN sudo mv /tmp/eksctl /usr/local/bin \ No newline at end of file diff --git a/stages/1-cluster-setup/create-vpc.yml b/stages/1-cluster-setup/create-vpc.yml new file mode 100644 index 0000000..d2c7bfe --- /dev/null +++ b/stages/1-cluster-setup/create-vpc.yml @@ -0,0 +1,25 @@ +--- +- hosts: localhost + tasks: + - block: + + - name: VPC name + set_fact: + vpc: "oep-e2e-vpc" + + - name: echo VPC name + shell: echo {{ vpc }} + + - lineinfile: + create: yes + state: present + path: "~/logs/vpc" + line: "{{ vpc }}" + + - name: Test Passed + set_fact: + flag: "Test Passed" + rescue: + - name: Test Failed + set_fact: + flag: "Test Failed" \ No newline at end of file diff --git a/stages/1-cluster-setup/gcp b/stages/1-cluster-setup/gcp index 1687afa..ae376d1 100755 --- a/stages/1-cluster-setup/gcp +++ b/stages/1-cluster-setup/gcp @@ -8,20 +8,19 @@ gcloud auth activate-service-account --key-file=key.json gcloud config set project openebs-ci export GOOGLE_APPLICATION_CREDENTIALS="$path/key.json" -git clone https://github.com/mayadata-io/litmus.git -cd litmus/k8s/gcp/k8s-installer/ +ansible-playbook stages/1-cluster-setup/create-vpc.yml +# Cloning oep-e2e repository which contains all the test scripts +git clone https://$username:$password@github.com/mayadata-io/oep-e2e.git +cd oep-e2e/k8s/gcp/k8s-installer/ # set variables -job_id=$(echo CI_JOB_ID) -pipeline_id=$(echo CI_PIPELINE_ID) -commit_sha=$(echo CI_COMMIT_SHA) -# Create VPC -echo "CREATING VPC" -ansible-playbook create-vpc.yml --extra-vars "project=openebs-ci" +job_id=$CI_JOB_ID +pipeline_id=$CI_PIPELINE_ID +commit_sha=$CI_COMMIT_SHA # Create k8s cluster echo "CREATING CLUSTER" -ansible-playbook create-k8s-cluster.yml -vv --extra-vars "project=openebs-ci nodes=3 k8s_version=1.11.1" +ansible-playbook create-k8s-cluster.yml -vv --extra-vars "project=openebs-ci nodes=3 k8s_version=1.14.1 pipeline_id=$pipeline_id" pwd ls mkdir $path/.kube @@ -42,5 +41,5 @@ kubectl create clusterrolebinding default-admin --clusterrole cluster-admin --se kubectl create configmap kubeconfig --from-file=$path/.kube/admin.conf -n litmus # Create firewall-rule -FIREWALL_VPC="$VPC-firewall" -gcloud compute firewall-rules create $FIREWALL_VPC --network $VPC --action allow --direction ingress --rules tcp:30380 --source-ranges 0.0.0.0/0 +#FIREWALL_VPC="$VPC-firewall" +#gcloud compute firewall-rules create $FIREWALL_VPC --network $VPC --action allow --direction ingress --rules tcp:30380 --source-ranges 0.0.0.0/0 diff --git a/stages/13-cluster-cleanup/cluster-cleanup b/stages/13-cluster-cleanup/cluster-cleanup index 5e8721a..0caf9c3 100755 --- a/stages/13-cluster-cleanup/cluster-cleanup +++ b/stages/13-cluster-cleanup/cluster-cleanup @@ -23,13 +23,13 @@ ansible-playbook delete-k8s-cluster.yml # Delete firewall-rule # Export VPC network name -VPC=`cat $path/.kube/vpc` -echo $VPC -FIREWALL_VPC="$VPC-firewall" -gcloud compute firewall-rules delete $FIREWALL_VPC +# VPC=`cat $path/.kube/vpc` +# echo $VPC +# FIREWALL_VPC="$VPC-firewall" +# gcloud compute firewall-rules delete $FIREWALL_VPC # Delete VPC -ansible-playbook delete-vpc.yml --extra-vars "project=openebs-ci" +#ansible-playbook delete-vpc.yml --extra-vars "project=openebs-ci" echo $cluster_name diff --git a/stages/13-cluster-cleanup/user-cluster-cleanup b/stages/13-cluster-cleanup/user-cluster-cleanup index e777524..dd3f1f5 100644 --- a/stages/13-cluster-cleanup/user-cluster-cleanup +++ b/stages/13-cluster-cleanup/user-cluster-cleanup @@ -29,6 +29,6 @@ echo $VPC # gcloud compute firewall-rules delete $FIREWALL_VPC # Delete VPC -ansible-playbook delete-vpc.yml --extra-vars "project=openebs-ci" +#ansible-playbook delete-vpc.yml --extra-vars "project=openebs-ci" echo $cluster_name diff --git a/stages/4-user-cluster-setup/cluster-create-check b/stages/4-user-cluster-setup/cluster-create-check index 9cff2c1..765e5a1 100644 --- a/stages/4-user-cluster-setup/cluster-create-check +++ b/stages/4-user-cluster-setup/cluster-create-check @@ -8,17 +8,22 @@ gcloud auth activate-service-account --key-file=key.json gcloud config set project openebs-ci export GOOGLE_APPLICATION_CREDENTIALS="$path/key.json" +ansible-playbook stages/1-cluster-setup/create-vpc.yml # Fetch director url url=$(cat .kube/url) +# set variables +job_id=$CI_JOB_ID +pipeline_id=$CI_PIPELINE_ID +commit_sha=$CI_COMMIT_SHA -git clone https://github.com/mayadata-io/litmus.git +git clone https://$username:$password@github.com/mayadata-io/oep-e2e.git # Create VPC -echo "CREATING VPC" -ansible-playbook litmus/k8s/gcp/k8s-installer/create-vpc.yml --extra-vars "project=openebs-ci" +#echo "CREATING VPC" +#ansible-playbook oep-e2e/k8s/gcp/k8s-installer/create-vpc.yml --extra-vars "project=openebs-ci" # Create k8s cluster echo "CREATING CLUSTER" -ansible-playbook litmus/k8s/gcp/k8s-installer/create-k8s-cluster.yml -vv --extra-vars "project=openebs-ci nodes=3 k8s_version=1.11.1" +ansible-playbook oep-e2e/k8s/gcp/k8s-installer/create-k8s-cluster.yml -vv --extra-vars "project=openebs-ci nodes=3 k8s_version=1.11.1 pipeline_id=$pipeline_id" pwd ls mkdir $path/.gcp