-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Shard python precommit #24204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shard python precommit #24204
Changes from all commits
6e73cd2
97518ed
5e701ae
906b8fb
057428f
d4f008c
285672f
6b1f481
5a5023f
19041fb
9fc21e1
c90a041
566e24e
a489ac1
9949840
08a9da6
776ca0d
d6386b9
0aff38e
0323822
d18f226
bea8f4a
0508e93
c3a6797
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| /* | ||
| * Licensed to the Apache Software Foundation (ASF) under one | ||
| * or more contributor license agreements. See the NOTICE file | ||
| * distributed with this work for additional information | ||
| * regarding copyright ownership. The ASF licenses this file | ||
| * to you under the Apache License, Version 2.0 (the | ||
| * "License"); you may not use this file except in compliance | ||
| * with the License. You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
|
|
||
| import PrecommitJobBuilder | ||
|
|
||
| PrecommitJobBuilder builder = new PrecommitJobBuilder( | ||
| scope: this, | ||
| nameBase: 'Python_Integration', | ||
| gradleTask: ':pythonPreCommitIT', | ||
| timeoutMins: 180, | ||
| triggerPathPatterns: [ | ||
| '^model/.*$', | ||
| '^sdks/python/.*$', | ||
| '^release/.*$', | ||
| ] | ||
| ) | ||
| builder.build { | ||
| // Publish all test results to Jenkins. | ||
| publishers { | ||
| archiveJunit('**/pytest*.xml') | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| /* | ||
| * Licensed to the Apache Software Foundation (ASF) under one | ||
| * or more contributor license agreements. See the NOTICE file | ||
| * distributed with this work for additional information | ||
| * regarding copyright ownership. The ASF licenses this file | ||
| * to you under the Apache License, Version 2.0 (the | ||
| * "License"); you may not use this file except in compliance | ||
| * with the License. You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
|
|
||
| import PrecommitJobBuilder | ||
|
|
||
| PrecommitJobBuilder builder = new PrecommitJobBuilder( | ||
| scope: this, | ||
| nameBase: 'Python_Dataframe', | ||
| gradleTask: ':pythonPreCommit', | ||
| gradleSwitches: [ | ||
| '-Pposargs=apache_beam/dataframe/' | ||
| ], | ||
| timeoutMins: 180, | ||
| triggerPathPatterns: [ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. so we do not yet change trigger pattern (e.g.. Gating precommits to tighter directories) in this PR (fine to me).
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right - I actually don't plan on changing the trigger pattern for any of these since the dependency logic isn't clear for any of them. For example, for Dataframes a change to an IO could actually break some of the tests I think since Dataframes can rely on specific IO behavior (I think). A change to most directories still have potential to impact all of these suites unfortunately. |
||
| '^model/.*$', | ||
| '^sdks/python/.*$', | ||
| '^release/.*$', | ||
| ] | ||
| ) | ||
| builder.build { | ||
| // Publish all test results to Jenkins. | ||
| publishers { | ||
| archiveJunit('**/pytest*.xml') | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| /* | ||
| * Licensed to the Apache Software Foundation (ASF) under one | ||
| * or more contributor license agreements. See the NOTICE file | ||
| * distributed with this work for additional information | ||
| * regarding copyright ownership. The ASF licenses this file | ||
| * to you under the Apache License, Version 2.0 (the | ||
| * "License"); you may not use this file except in compliance | ||
| * with the License. You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
|
|
||
| import PrecommitJobBuilder | ||
|
|
||
| PrecommitJobBuilder builder = new PrecommitJobBuilder( | ||
| scope: this, | ||
| nameBase: 'Python_Examples', | ||
| gradleTask: ':pythonPreCommit', | ||
| gradleSwitches: [ | ||
| '-Pposargs=apache_beam/examples/' | ||
| ], | ||
| timeoutMins: 180, | ||
| triggerPathPatterns: [ | ||
| '^model/.*$', | ||
| '^sdks/python/.*$', | ||
| '^release/.*$', | ||
| ] | ||
| ) | ||
| builder.build { | ||
| // Publish all test results to Jenkins. | ||
| publishers { | ||
| archiveJunit('**/pytest*.xml') | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| /* | ||
| * Licensed to the Apache Software Foundation (ASF) under one | ||
| * or more contributor license agreements. See the NOTICE file | ||
| * distributed with this work for additional information | ||
| * regarding copyright ownership. The ASF licenses this file | ||
| * to you under the Apache License, Version 2.0 (the | ||
| * "License"); you may not use this file except in compliance | ||
| * with the License. You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
|
|
||
| import PrecommitJobBuilder | ||
|
|
||
| PrecommitJobBuilder builder = new PrecommitJobBuilder( | ||
| scope: this, | ||
| nameBase: 'Python_Runners', | ||
| gradleTask: ':pythonPreCommit', | ||
| gradleSwitches: [ | ||
| '-Pposargs=apache_beam/runners/' | ||
| ], | ||
| timeoutMins: 180, | ||
| triggerPathPatterns: [ | ||
| '^model/.*$', | ||
| '^sdks/python/.*$', | ||
| '^release/.*$', | ||
| ] | ||
| ) | ||
| builder.build { | ||
| // Publish all test results to Jenkins. | ||
| publishers { | ||
| archiveJunit('**/pytest*.xml') | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| /* | ||
| * Licensed to the Apache Software Foundation (ASF) under one | ||
| * or more contributor license agreements. See the NOTICE file | ||
| * distributed with this work for additional information | ||
| * regarding copyright ownership. The ASF licenses this file | ||
| * to you under the Apache License, Version 2.0 (the | ||
| * "License"); you may not use this file except in compliance | ||
| * with the License. You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
|
|
||
| import PrecommitJobBuilder | ||
|
|
||
| PrecommitJobBuilder builder = new PrecommitJobBuilder( | ||
| scope: this, | ||
| nameBase: 'Python_Transforms', | ||
| gradleTask: ':pythonPreCommit', | ||
| gradleSwitches: [ | ||
| '-Pposargs=apache_beam/transforms/' | ||
| ], | ||
| timeoutMins: 180, | ||
| triggerPathPatterns: [ | ||
| '^model/.*$', | ||
| '^sdks/python/.*$', | ||
| '^release/.*$', | ||
| ] | ||
| ) | ||
| builder.build { | ||
| // Publish all test results to Jenkins. | ||
| publishers { | ||
| archiveJunit('**/pytest*.xml') | ||
| } | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.