44jobs :
55 " test " :
66 docker :
7- - image : circleci/python:3.8.5
7+ - image : circleci/python:3.8
88 working_directory : ~/fdk-python
99 steps :
1010 - checkout
3434 tox -epy3.8
3535 " deploy " :
3636 docker :
37- - image : circleci/python:3.8.5
37+ - image : circleci/python:3.8
3838 working_directory : ~/fdk-python
3939 steps :
4040 - checkout
5555 git branch --set-upstream-to=origin/${CIRCLE_BRANCH} ${CIRCLE_BRANCH}
5656
5757 ./build-images.sh 3.6
58+ ./build-images.sh 3.7
5859 ./build-images.sh 3.7.1
60+ ./build-images.sh 3.8
5961 ./build-images.sh 3.8.5
6062 ./release.sh
6163 ./release_images.sh
8082 policy_bundle_file_path : .circleci/.anchore/policy_bundle.json
8183 - anchore/parse_reports
8284
85+ " python37_security_check " :
86+ executor : anchore/anchore_engine
87+ working_directory : ~/fdk-python
88+ steps :
89+ - setup_remote_docker :
90+ docker_layer_caching : false
91+ - checkout
92+ - run :
93+ name : Python 3.7 build
94+ command : |
95+ apk add bash
96+ ./build-images.sh 3.7
97+ - anchore/analyze_local_image :
98+ image_name : " fnproject/python:3.7-dev fnproject/python:3.7"
99+ timeout : ' 500'
100+ policy_failure : true
101+ policy_bundle_file_path : .circleci/.anchore/policy_bundle.json
102+ - anchore/parse_reports
103+
83104 " python371_security_check " :
84105 executor : anchore/anchore_engine
85106 working_directory : ~/fdk-python
@@ -99,6 +120,25 @@ jobs:
99120 policy_bundle_file_path : .circleci/.anchore/policy_bundle.json
100121 - anchore/parse_reports
101122
123+ " python38_security_check " :
124+ executor : anchore/anchore_engine
125+ working_directory : ~/fdk-python
126+ steps :
127+ - setup_remote_docker :
128+ docker_layer_caching : false
129+ - checkout
130+ - run :
131+ name : Python 3.8 build
132+ command : |
133+ apk add bash
134+ ./build-images.sh 3.8
135+ - anchore/analyze_local_image :
136+ image_name : " fnproject/python:3.8-dev fnproject/python:3.8"
137+ timeout : ' 500'
138+ policy_failure : true
139+ policy_bundle_file_path : .circleci/.anchore/policy_bundle.json
140+ - anchore/parse_reports
141+
102142 " python385_security_check " :
103143 executor : anchore/anchore_engine
104144 working_directory : ~/fdk-python
@@ -137,5 +177,7 @@ workflows:
137177 - master
138178 jobs :
139179 - " python36_security_check"
180+ - " python37_security_check"
140181 - " python371_security_check"
182+ - " python38_security_check"
141183 - " python385_security_check"
0 commit comments