-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
39 lines (32 loc) · 1.34 KB
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
box: debian
validate-json:
box: python:2.7
steps:
- script:
name: validate JSON
code: |
python -m json.tool < contestInterface/i18n/fr/be.json
python -m json.tool < contestInterface/i18n/fr/translation.json
python -m json.tool < contestInterface/i18n/nl/be.json
python -m json.tool < contestInterface/i18n/nl/translation.json
python -m json.tool < contestInterface/i18n/de/be.json
python -m json.tool < contestInterface/i18n/de/translation.json
python -m json.tool < teacherInterface/i18n/fr/countryBE.json
python -m json.tool < teacherInterface/i18n/fr/be.json
python -m json.tool < teacherInterface/i18n/fr/translation.json
python -m json.tool < teacherInterface/i18n/nl/countryBE.json
python -m json.tool < teacherInterface/i18n/nl/be.json
python -m json.tool < teacherInterface/i18n/nl/translation.json
python -m json.tool < teacherInterface/regions/BE/domains.json
deploy-static-files:
steps:
- script:
name: Upload static files to S3
code: |
REGION=eu-central-1
info 'Installing pip...'
sudo apt-get update
sudo apt-get install -y python-pip libpython-all-dev
info 'Installing the AWS CLI...';
sudo pip install awscli;
./bin/upload_static_to_s3.sh