File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 27
27
git clone --branch master https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
28
28
cp ./../buildscript/master_deply_v4.2.sh .
29
29
./master_deply_v4.2.sh -d ECS -e DEV -t $CIRCLE_BUILD_NUM -s submission-processor-es
30
+
31
+ " build-prod " :
32
+ docker :
33
+ - image : docker:18.06.0-ce-git
34
+ steps :
35
+ # Initialization.
36
+ - checkout
37
+ - setup_remote_docker
38
+ - run :
39
+ name : Installation of build dependencies.
40
+ command : |
41
+ apk add --no-cache bash
42
+ apk add --no-cache jq py-pip sudo curl
43
+ pip install --upgrade pip
44
+ sudo pip install awscli --upgrade
45
+ sudo curl -o /usr/local/bin/ecs-cli https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-linux-amd64-latest
46
+ sudo pip install docker-compose
47
+ sudo chmod +x /usr/local/bin/ecs-cli
48
+ - run :
49
+ name : Installation of build dependencies.
50
+ command : ./build.sh DEV
51
+ - deploy :
52
+ command : |
53
+ git clone --branch master https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
54
+ cp ./../buildscript/master_deply_v4.2.sh .
55
+ ./master_deply_v4.2.sh -d ECS -e PROD -t $CIRCLE_BUILD_NUM -s submission-processor-es
30
56
31
57
32
58
workflows :
@@ -38,3 +64,7 @@ workflows:
38
64
filters :
39
65
branches :
40
66
only : develop
67
+ - " build-prod " :
68
+ filters :
69
+ branches :
70
+ only : master
You can’t perform that action at this time.
0 commit comments