Skip to content

Commit

Permalink
build images in 2.7 for python code in CC builds
Browse files Browse the repository at this point in the history
Problem:
Build tools in CC repos use python 2.7 rather than 3.x, meaning that python code used in the build process fails when run in the 3.x build for CCCL nightly regressions.

Analysis:
Choice to use 3.x rather than 2.7 for "deploy" section was based on a slight speed advantage. Build can be moved back to 3.x when python code in CC repose is 3.x compatible.

Solution:
Deploy changed to 2.7
  • Loading branch information
recursivelycurious committed Jan 4, 2018
1 parent 221aff4 commit 2da8704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ deploy:
skip_cleanup: true
script: ./build-tools/system-test-img.sh F5Networks/marathon-bigip-ctlr $MARATHON_BIGIP_CTLR_COMMIT_ISH ./build-tools/build-runtime-images.sh $DOCKER_NAMESPACE
on:
python: "3.5"
python: "2.7"
all_branches: true
# push k8s dev-image for nightly regression tests
- provider: script
skip_cleanup: true
script: ./build-tools/system-test-img.sh F5Networks/k8s-bigip-ctlr $K8S_BIGIP_CTLR_COMMIT_ISH "make prod" $DOCKER_NAMESPACE
on:
python: "3.5"
python: "2.7"
all_branches: true

0 comments on commit 2da8704

Please sign in to comment.