From 2c450f1e85cf4ae7787165d7fb6a5a1fdf441643 Mon Sep 17 00:00:00 2001 From: Richard Peres Date: Wed, 2 Jun 2021 13:22:27 +0200 Subject: [PATCH] Install Kuttl in circle ci Signed-off-by: Richard Peres --- .circleci/config.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7aed91185..f68df46d3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -136,9 +136,16 @@ orbs: steps: - checkout: path: /home/circleci/nifikop - - attach_workspace: # Attach artifact from workdir + - attach_workspace: # Attach artifact from workdir at: /home/circleci - # Unit tests steps + - run: + name: Setup kuttl + command: | + set -x + sudo chmod o+w /usr/local/bin/ + curl -L https://github.com/kudobuilder/kuttl/releases/download/v0.1.0/kubectl-kuttl_0.1.0_linux_x86_64 -o /usr/local/bin/kuttl + chmod +x /usr/local/bin/kuttl + # Start all kuttl tests - run: name: Kuttl Tests command: make run-kuttl-tests