From 4862bb9aaeef29e11df667590bded11beb03e3cf Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 11 Jan 2023 17:43:07 +0300 Subject: [PATCH] drop CircleCI support It stopped running our tests/builds, but we don't care, Github works well. --- .circleci/config.yml | 138 ------------------------------------------- README.md | 1 - 2 files changed, 139 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index acf83b9cd..000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,138 +0,0 @@ -version: 2.1 - -executors: - go1_17: - docker: - - image: cimg/go:1.17 - go1_18: - docker: - - image: cimg/go:1.18 - go1_19: - docker: - - image: cimg/go:1.19 - -commands: - gomod: - steps: - - restore_cache: - keys: [deps-v2-] - - run: - name: Download go module dependencies - command: go mod download - - save_cache: - key: deps-v2-{{ checksum "go.sum" }}-{{ checksum "go.sum" }} - paths: [/home/circleci/go/pkg/mod] - -jobs: - lint: - working_directory: /home/circleci/go/src/github.com/nspcc-dev/neo-go - # TODO: temp workaround, need to upgrade to go1_18 after https://github.com/golangci/golangci-lint/issues/2649 is resolved. - executor: go1_17 - steps: - - checkout - - gomod - - run: - name: go-lint - command: | - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.49.0 - make lint - - test_1_17: - working_directory: /home/circleci/go/src/github.com/nspcc-dev/neo-go - executor: go1_17 - steps: - - checkout - - run: git submodule sync - - run: git submodule update --init - - gomod - - run: - command: go test -v -race ./... - no_output_timeout: 15m - - test_1_18: - working_directory: /home/circleci/go/src/github.com/nspcc-dev/neo-go - executor: go1_18 - steps: - - checkout - - run: git submodule sync - - run: git submodule update --init - - gomod - - run: - command: go test -v -race ./... - no_output_timeout: 15m - - test_1_19: - working_directory: /home/circleci/go/src/github.com/nspcc-dev/neo-go - executor: go1_19 - steps: - - checkout - - run: git submodule sync - - run: git submodule update --init - - gomod - - run: - command: go test -v -race ./... - no_output_timeout: 15m - - build_cli: - working_directory: /home/circleci/go/src/github.com/nspcc-dev/neo-go - executor: go1_19 - steps: - - checkout - - gomod - - run: make build - - store_artifacts: - path: bin - destination: / - - build_image: - working_directory: /home/circleci/go/src/github.com/nspcc-dev/neo-go - executor: go1_19 - docker: - - image: golang:1-alpine - steps: - - run: apk update && apk add git make curl tar - - checkout - - gomod - - setup_remote_docker: - version: 20.10.6 - - run: - name: Install Docker client - command: | - set -x - VER="20.10.6" - curl -L -o /tmp/docker-$VER.tgz https://download.docker.com/linux/static/stable/x86_64/docker-$VER.tgz - tar -xz -C /tmp -f /tmp/docker-$VER.tgz - mv /tmp/docker/* /usr/bin - - run: make image - - -workflows: - version: 2 - workflow: - jobs: - - lint: - filters: - tags: - only: v/[0-9]+\.[0-9]+\.[0-9]+/ - - test_1_17: - filters: - tags: - only: v/[0-9]+\.[0-9]+\.[0-9]+/ - - test_1_18: - filters: - tags: - only: v/[0-9]+\.[0-9]+\.[0-9]+/ - - test_1_19: - filters: - tags: - only: v/[0-9]+\.[0-9]+\.[0-9]+/ - - build_cli: - filters: - tags: - only: v/[0-9]+\.[0-9]+\.[0-9]+/ - - build_image: - requires: - - build_cli - filters: - tags: - only: v/[0-9]+\.[0-9]+\.[0-9]+/ diff --git a/README.md b/README.md index b3365be38..bef2d78a2 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,6 @@
[![codecov](https://codecov.io/gh/nspcc-dev/neo-go/branch/master/graph/badge.svg)](https://codecov.io/gh/nspcc-dev/neo-go) -[![CircleCI](https://circleci.com/gh/nspcc-dev/neo-go/tree/master.svg?style=shield)](https://circleci.com/gh/nspcc-dev/neo-go/tree/master) [![GithubWorkflows Tests](https://github.com/nspcc-dev/neo-go/actions/workflows/run_tests.yml/badge.svg)](https://github.com/nspcc-dev/neo-go/actions/workflows/run_tests.yml) [![Report](https://goreportcard.com/badge/github.com/nspcc-dev/neo-go)](https://goreportcard.com/report/github.com/nspcc-dev/neo-go) [![GoDoc](https://godoc.org/github.com/nspcc-dev/neo-go?status.svg)](https://godoc.org/github.com/nspcc-dev/neo-go)