From 3cf6fb5b964b679373965623d3d0181b677a3bf5 Mon Sep 17 00:00:00 2001 From: patoarvizu Date: Sun, 19 Jul 2020 12:35:26 -0400 Subject: [PATCH 1/3] Upgrade k3d to 3.0.0 --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e1d9759..f38eb24 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,7 +49,7 @@ jobs: - run: name: Install k3d command: | - wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v1.6.0 bash + wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v3.0.0 bash - save_cache: key: kms-vault-operator-golang-cache-{{ checksum "go.sum" }} paths: @@ -57,9 +57,9 @@ jobs: - run: name: Run all tests command: | - k3d create --publish 8200:30028 --image rancher/k3s:v1.0.0 -t=0 - export KUBECONFIG="$(k3d get-kubeconfig)" - k3d import-images patoarvizu/kms-vault-operator:latest + export KUBECONFIG=~/.k3d/k3s-default-config + k3d cluster create --image rancher/k3s:v1.0.0 --port 8200:30028@server[0] --wait + k3d image import patoarvizu/kms-vault-operator:latest kubectl apply -f https://raw.githubusercontent.com/patoarvizu/common-manifests/master/prometheus-operator/crds.yaml kubectl apply -f https://raw.githubusercontent.com/patoarvizu/common-manifests/master/vault/vault-operator.yaml kubectl apply -f https://raw.githubusercontent.com/patoarvizu/common-manifests/master/cert-manager/cert-manager-v0.14.1.yaml From 6d364768232508a477936772742c2f19d1cc9b32 Mon Sep 17 00:00:00 2001 From: patoarvizu Date: Thu, 30 Jul 2020 20:49:26 -0400 Subject: [PATCH 2/3] Upgrade to latest machine image; add --verbose --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f38eb24..1f7488f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ jobs: build: machine: enabled: true - image: circleci/classic:201808-01 + image: ubuntu-1604:202007-01 environment: OPERATOR_SDK_VERSION: 0.15.2 GOPATH: /home/circleci/go @@ -58,7 +58,7 @@ jobs: name: Run all tests command: | export KUBECONFIG=~/.k3d/k3s-default-config - k3d cluster create --image rancher/k3s:v1.0.0 --port 8200:30028@server[0] --wait + k3d cluster create --image rancher/k3s:v1.0.0 --port 8200:30028@server[0] --wait --verbose k3d image import patoarvizu/kms-vault-operator:latest kubectl apply -f https://raw.githubusercontent.com/patoarvizu/common-manifests/master/prometheus-operator/crds.yaml kubectl apply -f https://raw.githubusercontent.com/patoarvizu/common-manifests/master/vault/vault-operator.yaml From 93c109aaa0a1dc4dd8a6d595ac88c8d29c6612d3 Mon Sep 17 00:00:00 2001 From: patoarvizu Date: Thu, 30 Jul 2020 22:39:44 -0400 Subject: [PATCH 3/3] Remove '--verbose' --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1f7488f..8bcedbd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -58,7 +58,7 @@ jobs: name: Run all tests command: | export KUBECONFIG=~/.k3d/k3s-default-config - k3d cluster create --image rancher/k3s:v1.0.0 --port 8200:30028@server[0] --wait --verbose + k3d cluster create --image rancher/k3s:v1.0.0 --port 8200:30028@server[0] --wait k3d image import patoarvizu/kms-vault-operator:latest kubectl apply -f https://raw.githubusercontent.com/patoarvizu/common-manifests/master/prometheus-operator/crds.yaml kubectl apply -f https://raw.githubusercontent.com/patoarvizu/common-manifests/master/vault/vault-operator.yaml