Commit 59eb2d7a authored by carlosperate's avatar carlosperate

Circle CI now deploys using AWS CLI, this will fix its build status.

parent d5daefab
......@@ -40,6 +40,9 @@ dependencies:
- node --version
- npm --version
# Install AWS command line tool
- sudo pip install awscli
override:
# Build and pack
- python package/build_pyinstaller.py linux
......@@ -47,13 +50,8 @@ dependencies:
- cd package/electron && npm run release
- python package/pack_ardublockly.py
# Get the releases files as a environmenta variable
- cd releases
- for entry in *; do export ardublocklyZipFile="$entry"; done && echo $ardublocklyZipFile
# Automatically cache and restore many dependencies between builds
cache_directories:
- "~/installers"
# Get the releases files into the AWS S3 bucket
- export AWS_DEFAULT_REGION=us-west-2 && cd releases && for entry in *; do aws s3 cp $entry s3://ardublockly-builds/linux/$entry; done
# Customize test commands
test:
......@@ -61,21 +59,6 @@ test:
- python ardublocklyserver/tests/sketchcreator_test.py
- python ardublocklyserver/tests/compilersettings_test.py
# Customize deployment commands
deployment:
staging:
branch: [master, circleci, electron]
codedeploy:
appname-1234:
application_root: /releases
region: us-west-2
revision_location:
revision_type: S3
s3_location:
bucket: ardublockly-builds
key_pattern: linux/ardublockly_{BUILD_NUM}_64bit_{BRANCH}_{SHORT_COMMIT}.zip
deployment_group: my-deployment-group
general:
artifacts:
- "releases/*"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment