From e5763d05f3ef58cc30f08f137ff64a44aad04fab Mon Sep 17 00:00:00 2001 From: Daisuke Morita Date: Tue, 17 Jul 2018 10:46:44 -0700 Subject: [PATCH] Remove Deploy From CircleCI CircleCI deploy (called when PR has been merged) action is now failing. The latest failure looks related to Docker container's change because of migrating circleCI 1.0 to 2.0, so it can be fixed. However, we do not use deployed package so far, therefore we can remove deploy part from circleCI config. We can bring back deploy part properly if necessary in future. --- .circleci/config.yml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0f3c9d7e6..c6324252f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,22 +20,6 @@ jobs: - run: sudo install etcd-v3.1.7-linux-amd64/etcd /usr/bin - run: go get github.com/mattn/goveralls - run: make test - deploy: - docker: - - image: circleci/golang:1.9 - working_directory: /go/src/github.com/cloudwan/gohan - steps: - - checkout - - run: - name: Upload package to Github - command: | - go get github.com/karalabe/xgo - ./tools/crosscompile.sh - sudo apt-get install -y zip - curl -L https://github.com/tcnksm/ghr/releases/download/v0.5.0/ghr_v0.5.0_linux_amd64.zip -o ghr_v0.5.0_linux_amd64.zip - unzip ghr_v0.5.0_linux_amd64.zip - chmod 0755 ghr - ./ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME -replace pre-release dist/ workflows: version: 2 @@ -43,9 +27,3 @@ workflows: jobs: - build - test - - deploy: - requires: - - test - filters: - branches: - only: master