forked from awslabs/open-data-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildspec.yml
24 lines (23 loc) · 716 Bytes
/
buildspec.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
version: 0.2
phases:
install:
runtime-versions:
python: 3.8
nodejs: 14
commands:
- pip install -r requirements.txt
pre_build:
commands:
- bash _scripts/add_metadata.sh
- bash _scripts/test.sh
- pip install awscli --upgrade
- git clone https://github.com/awslabs/open-data-registry-browser.git
- mkdir -p open-data-registry-browser/data-sources/awslabs-open-data-registry
- cp -R datasets open-data-registry-browser/data-sources/awslabs-open-data-registry/
- cd open-data-registry-browser
- npm install
build:
commands:
- BASE_URL=https://registry.opendata.aws npm run build
- cd ../
- bash _scripts/deploy.sh