From 49a86699702c32a4017179be765d102a48ab8dda Mon Sep 17 00:00:00 2001 From: Adhityaa Chandrasekar Date: Tue, 31 Mar 2020 06:13:30 -0400 Subject: [PATCH] .gitlab-ci.yml: remove aws-upload-tags stage --- .gitlab-ci.yml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c0ff706..ae59336 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,6 @@ stages: - go-fmt - go-test - build-src - - aws-upload-tags - build-docker - docker-registry-master - docker-registry-tags @@ -22,25 +21,6 @@ build-src: - make devel - make prod -aws-upload-tags: - stage: aws-upload-tags - image: debian:buster - environment: aws-upload-tags - variables: - AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID - AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY - only: - - tags - before_script: - - bash $CI_PROJECT_DIR/scripts/gitlab-ci-build-prescript - script: - - export GOPATH=/go - - export PATH=$PATH:/go/bin - - cd /go/src/$CI_PROJECT_NAME - - make prod - - cd build/prod && tar -zcvf /commento-linux-amd64-$(git describe --tags).tar.gz . - - aws s3 cp /commento-linux-amd64-$(git describe --tags).tar.gz s3://commento-release/ - build-docker: stage: build-docker image: docker:stable