Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Uh oh!
There was an error while loading. Please reload this page.
Shard python precommit #24204
Changes from all commits
6e73cd297518ed5e701ae906b8fb057428fd4f008c285672f6b1f4815a5023f19041fb9fc21e1c90a041566e24ea489ac1994984008a9da6776ca0dd6386b90aff38e0323822d18f226bea8f4a0508e93c3a6797File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
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). ContributorAuthor 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.
Uh oh!
There was an error while loading. Please reload this page.