From 79ecabb4f6795a09dd6dae7cf2f8bf81cbd47d90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Naveiras?= Date: Thu, 22 Jun 2023 13:21:37 +0100 Subject: [PATCH] Remove circleci configuration We don't need this configuration anymore --- .circleci/config.yml | 151 ------------------------------------------- 1 file changed, 151 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index a53d0aa6..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,151 +0,0 @@ ---- -version: 2 - -references: - docker_golang: &docker_golang - docker: - - image: golang:1.19.3 - working_directory: /go/src/github.com/gocardless/theatre - -jobs: - check-generated-resources: - <<: *docker_golang - steps: - - checkout - - run: - name: Install prettier - command: | - curl -sL https://deb.nodesource.com/setup_10.x > setup-node_10.x - chmod +x setup-node_10.x && ./setup-node_10.x - apt install -y nodejs npm - npm install -g prettier - - run: - name: Ensure generated CRDs and manifests are up to date - command: make manifests && git diff --exit-code config/ - - vet: - <<: *docker_golang - steps: - - checkout - - run: - name: Ensure no go vet errors - command: | - go vet ./cmd/rbac-manager/... - go vet ./cmd/theatre-consoles/... - go vet ./cmd/theatre-secrets/... - go vet ./cmd/vault-manager/... - go vet ./cmd/workloads-manager/... - - unit-integration: - <<: *docker_golang - steps: - - checkout - - run: - name: Install ginkgo test runner - command: go install github.com/onsi/ginkgo/ginkgo@v1.16.5 - - run: - name: Install envtest binaries for k8s 1.22.x - command: | - go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest - setup-envtest use -p path 1.22.x - - run: - name: Run tests - no_output_timeout: 20m - command: | - source <(setup-envtest use -i -p env 1.22.x) - ginkgo -race -randomizeSuites -randomizeAllSpecs -r -v ./... - - - build: - <<: *docker_golang - steps: - - checkout - - run: - name: Build test binaries - command: make bin/acceptance.linux_amd64 - - persist_to_workspace: - root: /go/src/github.com/gocardless/theatre - paths: ['bin'] - - acceptance: - machine: - image: ubuntu-2004:202201-02 - resource_class: large - steps: - - checkout - - attach_workspace: - at: workspace - - run: - name: Install tooling - command: | - sudo bash < /tmp/release-notes - git tag "${CURRENT_VERSION}" - git push --tags - - /tmp/goreleaser --rm-dist --release-notes /tmp/release-notes - -workflows: - version: 2 - build-integration: - jobs: - - check-generated-resources - - vet - - unit-integration - - build - - acceptance: - requires: [build] - - release: - requires: [acceptance] - filters: - branches: {only: master}