1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00

.gitlab-ci.yml: add automated aws push on release

This commit is contained in:
Adhityaa Chandrasekar
2018-12-29 00:06:39 -05:00
parent f63639782c
commit 642076a231
2 changed files with 35 additions and 12 deletions

View File

@ -0,0 +1,17 @@
#!/usr/bin/env bash
mkdir -p /go/src /go/bin /go/pkg
ln -s $CI_PROJECT_DIR /go/src/$CI_PROJECT_NAME
apt update
apt install -y curl gnupg git make golang python
export GOPATH=/go
export PATH=$PATH:/go/bin
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt install -y nodejs
npm install -g yarn@1.10.0
apt install -y python python-pip
pip install awscli