1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
version: 0.2
#this build spec assumes the ubuntu 14.04 trusty image
#this build run simply verifies we haven't published something at this tag yet.
#if we have we fail the build and stop the pipeline, if we haven't we allow the pipeline to run.
phases:
install:
commands:
- sudo apt-get update -y
- sudo apt-get install python3 python3-pip -y
- pip3 install --upgrade setuptools
pre_build:
commands:
build:
commands:
- echo Build started on `date`
- cd aws-crt-python
- bash ./continuous-delivery/test-version-exists
post_build:
commands:
- echo Build completed on `date`
|