Skip to content

Commit

Permalink
Removed release step from circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
michelvocks committed Jun 29, 2018
1 parent e8709d2 commit c872510
Showing 1 changed file with 1 addition and 42 deletions.
43 changes: 1 addition & 42 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,51 +38,10 @@ jobs:
make release
- store_artifacts:
path: gaia-linux-amd64
build_and_release_job:
working_directory: /go/src/github.com/gaia-pipeline/gaia
docker:
- image: circleci/golang:1.10.3-browsers
steps:
- checkout
- setup_remote_docker:
docker_layer_caching: true
- run:
name: install nvm, node, and npm
command: |
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
echo 'export NVM_DIR=$HOME/.nvm' >> $BASH_ENV
touch $HOME/.nvmrc
echo 'source $NVM_DIR/nvm.sh' >> $BASH_ENV
- run:
name: install goreleaser
command: |
wget https://github.com/goreleaser/goreleaser/releases/download/v0.79.0/goreleaser_Linux_x86_64.tar.gz
tar -zxvf goreleaser_Linux_x86_64.tar.gz goreleaser -C /usr/bin/
- run:
name: install docker client and login
command: |
set -x
VER="17.12.1-ce"
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
docker login -u $DOCKER_USER -p $DOCKER_PASS
- run:
name: build and release
command: |
goreleaser

workflows:
version: 2
test_and_compile:
jobs:
- integration_tests
- compile
build_and_release:
jobs:
- build_and_release_job:
filters:
tags:
only: /^v.*/
branches:
only: master
- compile

0 comments on commit c872510

Please sign in to comment.