From 4a404b1ce54cf4ca5a0d1304c5f964b703b1206e Mon Sep 17 00:00:00 2001 From: Ryan French Date: Thu, 5 Jan 2023 11:23:39 +0000 Subject: [PATCH] Remove circleci config --- .circleci/config.yml | 59 -------------------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index a7a8dca..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,59 +0,0 @@ -version: 2 -jobs: - build: - docker: - - image: circleci/golang:1.17 - working_directory: /go/src/github.com/ryanfrench/aws-auth - steps: - - checkout - - attach_workspace: - at: /tmp/artifacts - - run: - name: Install gox for cross-compiling - command: go get -u github.com/mitchellh/gox - - run: - name: Build artifacts with gox for windows/linux amd64 - command: gox -osarch="linux/amd64 windows/amd64" -output "bin/{{.Dir}}" ./... - - persist_to_workspace: - root: bin/ - paths: - - aws-auth.exe - - aws-auth - - store_artifacts: - path: bin/ - test: - docker: - - image: circleci/golang:1.17 - working_directory: /go/src/github.com/ryanfrench/aws-auth - steps: - - checkout - - run: make test-junit - - store_test_results: - path: report.xml - publish-release: - docker: - - image: circleci/golang:1.17 - working_directory: /go/src/github.com/ryanfrench/aws-auth - steps: - - checkout - - attach_workspace: - at: /tmp/artifacts - - run: - name: "Publish Release on GitHub" - command: | - go get github.com/tcnksm/ghr - VERSION=$(/tmp/artifacts/aws-auth version) - ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} /tmp/artifacts -workflows: - version: 2 - workflow: - jobs: - - build - - test - - publish-release: - requires: - - build - - test - filters: - branches: - only: master