Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Drop saleor-master stage configuration from CI

Marcin Gębalaa10641fb072b
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 3d64fe7f15..72cb9205d3 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -46,21 +46,14 @@ jobs:
-d build_parameters[CIRCLE_JOB]=deploy \
https://circleci.com/api/v1.1/project/github/mirumee/saleor-demo/tree/master
fi
- - run:
- name: Deploy saleor master
- command: |
- apk add --upgrade --no-cache zip py-pip
- pip install awscli
- sh ./scripts/deploy_master.sh > /dev/null 2>&1
-
workflows:
version: 2
build-deploy:
jobs:
- - build:
- filters:
- branches:
- only: master
- tags:
- only: /demo.*/
+ - build:
+ filters:
+ branches:
+ only: master
+ tags:
+ only: /demo.*/
diff --git a/scripts/deploy_master.sh b/scripts/deploy_master.sh
deleted file mode 100755
index 142574f263..0000000000
--- a/scripts/deploy_master.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-VERSION=$CIRCLE_SHA1
-ZIP=$VERSION.zip
-
-cd deployment/elasticbeanstalk
-zip -r /tmp/$ZIP .
-
-aws s3 cp /tmp/$ZIP s3://$VERSIONS_BUCKET/$ZIP
-
-aws elasticbeanstalk create-application-version --application-name saleor-demo \
- --version-label $VERSION --source-bundle S3Bucket=$VERSIONS_BUCKET,S3Key=$ZIP
-
-# Update the environment to use the new application version
-aws elasticbeanstalk update-environment --environment-name $MASTER_ENV_NAME \
- --version-label $VERSION