forked from apache/beam
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from apache/master
Update forked repository.
- Loading branch information
Showing
1,373 changed files
with
5,213 additions
and
3,432 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
.test-infra/jenkins/job_PostCommit_CommunityMetrics.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
* 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 CommonJobProperties as commonJobProperties | ||
|
||
job('beam_Prober_CommunityMetrics') { | ||
description('Health check probes for the Community Metrics infrastructure') | ||
commonJobProperties.setTopLevelMainJobProperties(delegate) | ||
|
||
commonJobProperties.enablePhraseTriggeringFromPullRequest(delegate, | ||
'Community Metrics Prober', | ||
'Run Community Metrics Prober') | ||
|
||
commonJobProperties.setAutoJob(delegate) | ||
|
||
commonJobProperties.enablePhraseTriggeringFromPullRequest( | ||
delegate, | ||
'Community Metrics Prober', | ||
'Run Community Metrics Prober') | ||
|
||
// Gradle goals for this job. | ||
steps { | ||
gradle { | ||
rootBuildScriptDir(commonJobProperties.checkoutDir) | ||
tasks(':communityMetricsProber') | ||
commonJobProperties.setGradleSwitches(delegate) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* 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: 'Community Metrics', | ||
gradleTask: ':communityMetricsPreCommit', | ||
triggerPathPatterns: ['^.test-infra/metrics/.*$'] | ||
) | ||
builder.build() | ||
|
37 changes: 37 additions & 0 deletions
37
.test-infra/jenkins/job_PreCommit_Java_Examples_Dataflow.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 'Java_Examples_Dataflow', | ||
gradleTask: ':javaExamplesDataflowPreCommit', | ||
triggerPathPatterns: [ | ||
'^model/.*$', | ||
'^sdks/java/.*$', | ||
'^runners/google-cloud-dataflow/.*$', | ||
'^examples/java/.*$', | ||
'^release/.*$', | ||
] | ||
) | ||
builder.build { | ||
publishers { | ||
archiveJunit('**/build/test-results/**/*.xml') | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* 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: 'RAT', | ||
gradleTask: ':rat' | ||
) | ||
builder.build() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
apply plugin: "base" | ||
apply plugin: "groovy" | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
// https://github.com/avast/gradle-docker-compose-plugin | ||
apply plugin: "com.avast.gradle.docker-compose" | ||
|
||
dependencies { | ||
testCompile library.groovy.groovy_all | ||
testCompile library.java.junit | ||
} | ||
|
||
task testMetricsStack { | ||
doLast { | ||
// TODO(BEAM-5837): Add some actual validation of the metrics stack | ||
println "Hello world!" | ||
} | ||
} | ||
dockerCompose.isRequiredBy(testMetricsStack) | ||
|
||
task preCommit { | ||
dependsOn testMetricsStack | ||
} | ||
|
||
task checkProber { | ||
dependsOn test | ||
} |
Oops, something went wrong.