-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathbuildspec.yml
39 lines (37 loc) · 1.17 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: 0.2
phases:
install:
runtime-versions:
python: 3.9
pre_build:
commands:
- echo "Installing dependencies - `pwd`"
- echo "node use 18.18.0"
- n 18.18.0
- echo "npm install yarn"
- npm install --global yarn
- echo "yum install -y openldap-devel zlib-devel"
- yum install -y openldap-devel zlib-devel
- echo "install python requirements"
- pip uninstall -y pyOpenSSL
- pip install -r requirements/dev.txt
- echo "Updating pyenv"
- cd /root/.pyenv/plugins/python-build/../.. && git pull && cd -
- echo "Installing dependencies completed - `date`"
build:
commands:
- echo "Starting build `date` in `pwd`"
- invoke release.update-version $VERSION
- invoke clean
- invoke build package
- invoke docker.prepare-artifacts
- echo "Build completed `date`"
post_build:
commands:
- echo "Retrieving next stage buildspec `date` in `pwd`"
- aws s3 cp s3://solutions-build-assets/changelog-spec.yml ./buildspec.yml
- echo "Retrieving next stage buildspec complete"
- echo "Post build completed on `date`"
artifacts:
files:
- '**/*'