.gitlab-ci.yml: remove aws-upload-tags stage
This commit is contained in:
parent
7f97686b8f
commit
49a8669970
@ -2,7 +2,6 @@ stages:
|
|||||||
- go-fmt
|
- go-fmt
|
||||||
- go-test
|
- go-test
|
||||||
- build-src
|
- build-src
|
||||||
- aws-upload-tags
|
|
||||||
- build-docker
|
- build-docker
|
||||||
- docker-registry-master
|
- docker-registry-master
|
||||||
- docker-registry-tags
|
- docker-registry-tags
|
||||||
@ -22,25 +21,6 @@ build-src:
|
|||||||
- make devel
|
- make devel
|
||||||
- make prod
|
- 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:
|
build-docker:
|
||||||
stage: build-docker
|
stage: build-docker
|
||||||
image: docker:stable
|
image: docker:stable
|
||||||
|
Loading…
Reference in New Issue
Block a user