Commit 5711a10e authored by Neil Spink's avatar Neil Spink

upgrade CI/CD to python 3.6

parent bbfa8136
Pipeline #41180419 failed with stages
in 4 minutes and 36 seconds
......@@ -9,23 +9,23 @@ stages:
- deploy
build:
image: python:2.7
image: python:3.6
stage: build
script:
- echo "Building"
- pip install -r source/requirements.txt -t source/
- pip3 install -r source/requirements.txt -t source/
artifacts:
paths:
- source/
- test-data/
test:
image: python:2.7
image: python:3.6
stage: test
script:
- echo "Testing"
- pip install -r source/requirements.txt
- pip install -r source/requirements_unit_test.txt
- pip3 install -r source/requirements.txt
- pip3 install -r source/requirements_unit_test.txt
- nose2 -v
package:
......@@ -45,7 +45,7 @@ deploy:
image: python:latest
stage: deploy
script:
- pip install awscli
- pip3 install awscli
- aws s3 cp source/source.zip s3://$S3_BUCKET/
- aws s3 cp deployment/website-monitor-list.yml s3://$S3_BUCKET/
- aws cloudformation package --template-file ./deployment/aws-create-lambda.json --s3-bucket $S3_BUCKET --output-template template-export.yml
......
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