diff --git a/.circleci/config.yml b/.circleci/config.yml index 20bf6bc5..486d0dd4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,15 +17,15 @@ jobs: image: ubuntu-2004:202111-02 environment: &versions # https://github.com/kubernetes/kubernetes/releases - KUBECTL_VERSION: v1.23.1 + KUBECTL_VERSION: v1.23.3 # https://hub.docker.com/r/rancher/k3s/tags - K3S_VERSION: v1.22.5-k3s1 + K3S_VERSION: v1.23.3-k3s1 # https://github.com/rancher/k3d/releases K3D_VERSION: v4.4.8 # https://github.com/helm/helm/releases HELM_VERSION: v3.8.1 # https://golang.org/dl/ - GOLANG_VERSION: "1.17.8" + GOLANG_VERSION: "1.18" # https://github.com/kubernetes-sigs/kubebuilder/releases KUBEBUILDER_VERSION: 3.3.0 # https://github.com/mozilla/sops/releases @@ -41,7 +41,7 @@ jobs: # https://github.com/git-chglog/git-chglog/releases GIT_CHGLOG_VERSION: 0.15.1 # https://github.com/docker/buildx/releases - BUILDX_BINARY_VERSION: 0.8.0 + BUILDX_BINARY_VERSION: 0.8.1 DOCKER_BUILDKIT: 1 BUILDX_PLATFORMS: linux/amd64,linux/arm64 @@ -235,27 +235,17 @@ jobs: kubectl describe node k3d-operator-server-0 kubectl describe node k3d-operator-agent-0 - run: - name: make test + name: Unit tests and envtest integration tests command: | make test - # run helm tests + # helm tests - run: name: Test helm charts command: | make test-helm + # k3d integration tests - run: - name: Docker build - command: | - make docker-login - make docker-cross-build - no_output_timeout: 1h - - save_cache: - key: v2-modules-{{ .Branch }}-{{ checksum "go.sum" }} - paths: - - "/home/circleci/gogo/pkg" - # tests start here - - run: - name: Run Local Tests + name: In cluster integration tests command: | export GNUPGHOME="$(mktemp -d)" cat >$GNUPGHOME/foo <