Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Move deployment scripts to a subdirectory
Artur Smęt7bab0a57edca
diff --git a/.circleci/config.yml b/.circleci/config.ymlindex acd3031556..e8374c6ec3 100644--- a/.circleci/config.yml+++ b/.circleci/config.yml@@ -6,7 +6,8 @@ jobs:- image: docker:17.09.0-ce-gitsteps:- checkout- - setup_remote_docker+ - setup_remote_docker:+ docker_layer_caching: true- run:name: Set versioncommand: |@@ -14,7 +15,6 @@ jobs:- run:name: Build application Docker imagecommand: |- docker pull mirumee/saleor:latestdocker build \--build-arg AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \--build-arg AWS_LOCATION=$AWS_LOCATION \@@ -22,7 +22,7 @@ jobs:--build-arg AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \--build-arg AWS_STORAGE_BUCKET_NAME=$AWS_STORAGE_BUCKET_NAME \--build-arg STATIC_URL=$STATIC_URL \- --cache-from=mirumee/saleor:latest -t mirumee/saleor:latest .+ -t mirumee/saleor:latest .- run:name: Run testscommand: |diff --git a/Dockerrun.aws.json b/deployment/elasticbeanstalk/Dockerrun.aws.jsonsimilarity index 100%rename from Dockerrun.aws.jsonrename to deployment/elasticbeanstalk/Dockerrun.aws.jsondiff --git a/scripts/deploy_master.sh b/scripts/deploy_master.shindex d618b3b5c4..e0a1eff78f 100755--- a/scripts/deploy_master.sh+++ b/scripts/deploy_master.sh@@ -3,13 +3,14 @@VERSION=$CIRCLE_SHA1ZIP=$VERSION.zip-zip -r $ZIP Dockerrun.aws.json+cd deployment/elasticbeanstalk+zip -r /tmp/$ZIP .-aws s3 cp $ZIP s3://$VERSIONS_BUCKET/$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+#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+#aws elasticbeanstalk update-environment --environment-name $MASTER_ENV_NAME \+# --version-label $VERSION