File tree Expand file tree Collapse file tree
ci-incr-build-cache-prepare Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,14 +53,7 @@ github:
5353 # Contexts are the names of checks that must pass. This is the value
5454 # of the job's `name` property if it's present.
5555 contexts :
56- - " Unit Tests"
57- - " Quarkus Tests"
58- - " Quarkus Integration Tests"
59- - " Integration Tests"
60- - regtest
61- - spark-plugin-regtest
62- - site
63- - " Helm tests"
56+ - " Required Checks"
6457
6558 features :
6659 wiki : false
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ inputs:
2929 job-instance :
3030 description : ' Job instance to prefer'
3131 default : ' gradle'
32+
3233runs :
3334 using : " composite"
3435 steps :
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ description: 'Save incremental Gradle caches'
1919inputs :
2020 job-name :
2121 description : ' job name'
22+ default : ${{ github.job }}
23+ save-on-push-to-main :
24+ description : ' Save only when GitHub ref is refs/heads/main'
25+ default : ' true'
2226 java-version :
2327 description : ' Java version'
2428 default : ' 21'
2731 steps :
2832 - name : Prepare Gradle caches archive
2933 shell : bash
34+ if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
3035 run : |
3136 if [[ -d ~/.gradle/caches/ ]] ; then
3237 echo "::group::Gradle caches / identify updated cache items"
6267 fi
6368 - name : Archive code-checks incremental
6469 uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
70+ if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
6571 with :
6672 name : ci-gradle-caches-${{ inputs.job-name }}-${{ inputs.java-version }}
6773 path : ~/ci-gradle-caches-${{ inputs.job-name }}-${{ inputs.java-version }}.tar
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #
2+ # Licensed to the Apache Software Foundation (ASF) under one
3+ # or more contributor license agreements. See the NOTICE file
4+ # distributed with this work for additional information
5+ # regarding copyright ownership. The ASF licenses this file
6+ # to you under the Apache License, Version 2.0 (the
7+ # "License"); you may not use this file except in compliance
8+ # with the License. You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing,
13+ # software distributed under the License is distributed on an
14+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+ # KIND, either express or implied. See the License for the
16+ # specific language governing permissions and limitations
17+ # under the License.
18+ #
19+
20+ name : CI main
21+ run-name : CI/${{github.ref_name}}
22+
23+ on :
24+ push :
25+ branches : [ "main", "release/*" ]
26+
27+ concurrency :
28+ group : ${{ github.workflow }}-${{ github.ref }}
29+ cancel-in-progress : false
30+
31+ jobs :
32+ ci-main :
33+ name : CI/${{ github.ref_name }}
34+ uses : ./.github/workflows/ci.yml
Original file line number Diff line number Diff line change 1+ #
2+ # Licensed to the Apache Software Foundation (ASF) under one
3+ # or more contributor license agreements. See the NOTICE file
4+ # distributed with this work for additional information
5+ # regarding copyright ownership. The ASF licenses this file
6+ # to you under the Apache License, Version 2.0 (the
7+ # "License"); you may not use this file except in compliance
8+ # with the License. You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing,
13+ # software distributed under the License is distributed on an
14+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+ # KIND, either express or implied. See the License for the
16+ # specific language governing permissions and limitations
17+ # under the License.
18+ #
19+
20+ name : CI/PR
21+
22+ on :
23+ pull_request :
24+ branches : [ "main", "release/*" ]
25+
26+ concurrency :
27+ group : ${{ github.workflow }}-${{ github.ref }}
28+ cancel-in-progress : true
29+
30+ jobs :
31+ ci-pr :
32+ name : CI/PR#${{ github.event.number }} ${{ github.event.pull_request.title }}
33+ uses : ./.github/workflows/ci.yml
You can’t perform that action at this time.
0 commit comments