From 1cb1a45983564f5e1b66bf33f1e05f9a9499b17c Mon Sep 17 00:00:00 2001 From: Ciaran Moran Date: Thu, 7 Dec 2023 17:27:58 +0000 Subject: [PATCH] remove stale CircleCI config --- .circleci/config.yml | 56 -------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index ea95f9871..000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,56 +0,0 @@ -version: 2 -jobs: - build: - machine: - image: ubuntu-2004:202201-02 - environment: - # Flag that this is a CI build to the Makefile - IS_CI_BUILD: 1 - steps: - # Checkout the repo - - checkout - # Build all binaries and docker images - - run: make build-all - - store_artifacts: - path: ./bin/amd64 - - store_artifacts: - path: ./bin/arm64 - # TODO: Push to a dev registry - test: - machine: - image: ubuntu-2004:202201-02 - steps: - # Checkout the repo - - checkout - # Workaround so that /go/bin is writable by the circleci user - - run: sudo mkdir -p /go/bin && sudo chown -R circleci /go/bin - # Run unit tests, TODO - #- run: go test ./... - # Restore bin/docs from a previous build if it exists - - restore_cache: - key: bin-docs - # Save the bin/docs directory, containing the builder image for the docs - - save_cache: - key: bin-docs - name: "Caching ./bin/docs for future builds..." - paths: - - ./bin/docs - # Restore bin/cache from a previous build if it exists - - restore_cache: - key: bin-cache - # Run autogeneration and see if there are differences - - run: make autogen && make tidy-in-docker && make api-docs && git status --short - # Save the bin/cache directory - - save_cache: - key: bin-cache - paths: - - ./bin/cache - # Check so that there weren't any modified files - - run: echo "This fails if there are modified files, otherwise succeeds." && git status --short && git --no-pager diff && [[ -z $(git status --short) ]] && echo "Success, no diff!" - -workflows: - version: 2 - build_and_test: - jobs: - - build - - test