@@ -62,45 +62,61 @@ jobs:
62
62
docker :
63
63
- image : rishabhpoddar/supertokens_python_driver_testing
64
64
resource_class : large
65
+ parameters :
66
+ fdi-version :
67
+ type : string
68
+ parallelism : 4
65
69
steps :
66
70
- checkout
67
71
- run : update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk-15.0.1/bin/java" 2
68
72
- run : update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/jdk-15.0.1/bin/javac" 2
69
73
-
run :
git config --global url."https://github.com/".insteadOf ssh://[email protected] /
70
74
- run : echo "127.0.0.1 localhost.org" >> /etc/hosts
71
75
- run : make with-fastapi
72
- - run : (cd .circleci/ && ./websiteFastApi.sh)
76
+ - run : (cd .circleci/ && ./websiteFastApi.sh << parameters.fdi-version >> )
73
77
- slack/status
74
78
test-website-flask :
75
79
docker :
76
80
- image : rishabhpoddar/supertokens_python_driver_testing
77
81
resource_class : large
82
+ parameters :
83
+ fdi-version :
84
+ type : string
85
+ parallelism : 4
78
86
steps :
79
87
- checkout
80
88
- run : update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk-15.0.1/bin/java" 2
81
89
- run : update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/jdk-15.0.1/bin/javac" 2
82
90
-
run :
git config --global url."https://github.com/".insteadOf ssh://[email protected] /
83
91
- run : echo "127.0.0.1 localhost.org" >> /etc/hosts
84
92
- run : make with-flask
85
- - run : (cd .circleci/ && ./websiteFlask.sh)
93
+ - run : (cd .circleci/ && ./websiteFlask.sh << parameters.fdi-version >> )
86
94
- slack/status
87
95
test-website-django :
88
96
docker :
89
97
- image : rishabhpoddar/supertokens_python_driver_testing
90
98
resource_class : large
99
+ parameters :
100
+ fdi-version :
101
+ type : string
102
+ parallelism : 4
91
103
steps :
92
104
- checkout
93
105
- run : update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk-15.0.1/bin/java" 2
94
106
- run : update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/jdk-15.0.1/bin/javac" 2
95
107
-
run :
git config --global url."https://github.com/".insteadOf ssh://[email protected] /
96
108
- run : echo "127.0.0.1 localhost.org" >> /etc/hosts
97
109
- run : make with-django
98
- - run : (cd .circleci/ && ./websiteDjango.sh)
110
+ - run : (cd .circleci/ && ./websiteDjango.sh << parameters.fdi-version >> )
99
111
- slack/status
100
112
test-website-drf-async :
101
113
docker :
102
114
- image : rishabhpoddar/supertokens_python_driver_testing
103
115
resource_class : large
116
+ parameters :
117
+ fdi-version :
118
+ type : string
119
+ parallelism : 4
104
120
steps :
105
121
- checkout
106
122
- run : update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk-15.0.1/bin/java" 2
@@ -114,12 +130,16 @@ jobs:
114
130
- run : echo "alias pip3='python -m pip'" >> ~/.bashrc
115
131
- run : echo "127.0.0.1 localhost.org" >> /etc/hosts
116
132
- run : make with-drf
117
- - run : (cd .circleci/ && ./websiteDrfAsync.sh)
133
+ - run : (cd .circleci/ && ./websiteDrfAsync.sh << parameters.fdi-version >> )
118
134
- slack/status
119
135
test-website-drf-sync :
120
136
docker :
121
137
- image : rishabhpoddar/supertokens_python_driver_testing
122
138
resource_class : large
139
+ parameters :
140
+ fdi-version :
141
+ type : string
142
+ parallelism : 4
123
143
steps :
124
144
- checkout
125
145
- run : update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk-15.0.1/bin/java" 2
@@ -133,27 +153,35 @@ jobs:
133
153
- run : echo "alias pip3='python -m pip'" >> ~/.bashrc
134
154
- run : echo "127.0.0.1 localhost.org" >> /etc/hosts
135
155
- run : make with-drf
136
- - run : (cd .circleci/ && ./websiteDrfSync.sh)
156
+ - run : (cd .circleci/ && ./websiteDrfSync.sh << parameters.fdi-version >> )
137
157
- slack/status
138
158
test-website-django2x :
139
159
docker :
140
160
- image : rishabhpoddar/supertokens_python_driver_testing
141
161
resource_class : large
162
+ parameters :
163
+ fdi-version :
164
+ type : string
165
+ parallelism : 4
142
166
steps :
143
167
- checkout
144
168
- run : update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk-15.0.1/bin/java" 2
145
169
- run : update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/jdk-15.0.1/bin/javac" 2
146
170
-
run :
git config --global url."https://github.com/".insteadOf ssh://[email protected] /
147
171
- run : echo "127.0.0.1 localhost.org" >> /etc/hosts
148
172
- run : make with-django2x
149
- - run : (cd .circleci/ && ./websiteDjango2x.sh)
173
+ - run : (cd .circleci/ && ./websiteDjango2x.sh << parameters.fdi-version >> )
150
174
- slack/status
151
175
test-website-flask-nest-asyncio :
152
176
docker :
153
177
- image : rishabhpoddar/supertokens_python_driver_testing
154
178
resource_class : large
155
179
environment :
156
180
SUPERTOKENS_NEST_ASYNCIO : " 1"
181
+ parameters :
182
+ fdi-version :
183
+ type : string
184
+ parallelism : 4
157
185
steps :
158
186
- checkout
159
187
- run : update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk-15.0.1/bin/java" 2
@@ -162,7 +190,7 @@ jobs:
162
190
- run : echo "127.0.0.1 localhost.org" >> /etc/hosts
163
191
- run : make with-flask
164
192
- run : python -m pip install nest-asyncio
165
- - run : (cd .circleci/ && ./websiteFlask.sh)
193
+ - run : (cd .circleci/ && ./websiteFlask.sh << parameters.fdi-version >> )
166
194
- slack/status
167
195
test-authreact-fastapi :
168
196
docker :
@@ -306,6 +334,9 @@ workflows:
306
334
- test-dev-tag-as-not-passed
307
335
context :
308
336
- slack-notification
337
+ matrix :
338
+ parameters :
339
+ fdi-version : placeholder
309
340
filters :
310
341
tags :
311
342
only : /dev-v[0-9]+(\.[0-9]+)*/
@@ -316,6 +347,9 @@ workflows:
316
347
- test-dev-tag-as-not-passed
317
348
context :
318
349
- slack-notification
350
+ matrix :
351
+ parameters :
352
+ fdi-version : placeholder
319
353
filters :
320
354
tags :
321
355
only : /dev-v[0-9]+(\.[0-9]+)*/
@@ -326,6 +360,9 @@ workflows:
326
360
- test-dev-tag-as-not-passed
327
361
context :
328
362
- slack-notification
363
+ matrix :
364
+ parameters :
365
+ fdi-version : placeholder
329
366
filters :
330
367
tags :
331
368
only : /dev-v[0-9]+(\.[0-9]+)*/
@@ -336,6 +373,9 @@ workflows:
336
373
- test-dev-tag-as-not-passed
337
374
context :
338
375
- slack-notification
376
+ matrix :
377
+ parameters :
378
+ fdi-version : placeholder
339
379
filters :
340
380
tags :
341
381
only : /dev-v[0-9]+(\.[0-9]+)*/
@@ -346,6 +386,9 @@ workflows:
346
386
- test-dev-tag-as-not-passed
347
387
context :
348
388
- slack-notification
389
+ matrix :
390
+ parameters :
391
+ fdi-version : placeholder
349
392
filters :
350
393
tags :
351
394
only : /dev-v[0-9]+(\.[0-9]+)*/
@@ -356,6 +399,9 @@ workflows:
356
399
- test-dev-tag-as-not-passed
357
400
context :
358
401
- slack-notification
402
+ matrix :
403
+ parameters :
404
+ fdi-version : placeholder
359
405
filters :
360
406
tags :
361
407
only : /dev-v[0-9]+(\.[0-9]+)*/
0 commit comments