Skip to content

Commit ca73afe

Browse files
authored
Merge branch 'master' into dependabot/maven/hbase-agent/org.eclipse.jetty-jetty-http-12.0.12
2 parents aa1efd3 + 696a641 commit ca73afe

File tree

1,083 files changed

+135275
-131737
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,083 files changed

+135275
-131737
lines changed

.asf.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ github:
2525
- java
2626
- python
2727
- docker
28+
autolink_jira:
29+
- RANGER
2830
enabled_merge_buttons:
2931
squash: true
3032
merge: false

.github/workflows/maven.yml

+32-10
Original file line numberDiff line numberDiff line change
@@ -26,41 +26,63 @@ name: CI
2626

2727
on:
2828
push:
29-
branches: [ "master" ]
3029
pull_request:
3130
branches: [ "master" ]
3231

32+
env:
33+
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
34+
3335
jobs:
3436
build-8:
35-
runs-on: ubuntu-latest
37+
runs-on: ubuntu-22.04
38+
timeout-minutes: 60
3639
steps:
3740
- uses: actions/checkout@v4
41+
- name: Cache for maven dependencies
42+
uses: actions/cache@v4
43+
with:
44+
path: |
45+
~/.m2/repository/*/*/*
46+
!~/.m2/repository/org/apache/ranger
47+
key: maven-repo-${{ hashFiles('**/pom.xml') }}
48+
restore-keys: |
49+
maven-repo-
3850
- name: Set up JDK 8
3951
uses: actions/setup-java@v4
4052
with:
4153
java-version: '8'
4254
distribution: 'temurin'
43-
cache: maven
4455
- name: build (8)
45-
run: mvn -T 8 clean install --no-transfer-progress -B -V
56+
run: mvn -T 8 clean verify --no-transfer-progress -B -V
4657
- name: Upload artifacts
4758
uses: actions/upload-artifact@v4
4859
with:
4960
name: target-8
5061
path: target/*
5162

5263
build-11:
53-
runs-on: ubuntu-latest
64+
needs:
65+
- build-8
66+
runs-on: ubuntu-22.04
67+
timeout-minutes: 60
5468
steps:
5569
- uses: actions/checkout@v4
70+
- name: Cache for maven dependencies
71+
uses: actions/cache/restore@v4
72+
with:
73+
path: |
74+
~/.m2/repository/*/*/*
75+
!~/.m2/repository/org/apache/ranger
76+
key: maven-repo-${{ hashFiles('**/pom.xml') }}
77+
restore-keys: |
78+
maven-repo-
5679
- name: Set up JDK 11
5780
uses: actions/setup-java@v4
5881
with:
5982
java-version: '11'
6083
distribution: 'temurin'
61-
cache: maven
6284
- name: build (11)
63-
run: mvn -T 8 clean install -pl '!knox-agent' --no-transfer-progress -B -V
85+
run: mvn -T 8 clean verify -pl '!knox-agent' --no-transfer-progress -B -V
6486
- name: Upload artifacts
6587
uses: actions/upload-artifact@v4
6688
with:
@@ -70,8 +92,8 @@ jobs:
7092
docker-build:
7193
needs:
7294
- build-8
73-
- build-11
74-
runs-on: ubuntu-latest
95+
runs-on: ubuntu-22.04
96+
timeout-minutes: 30
7597
steps:
7698
- uses: actions/checkout@v4
7799
- name: Download build-8 artifacts
@@ -85,7 +107,7 @@ jobs:
85107
cp version dev-support/ranger-docker/dist
86108
87109
- name: Cache downloaded archives
88-
uses: actions/cache@v3
110+
uses: actions/cache@v4
89111
with:
90112
path: dev-support/ranger-docker/downloads
91113
key: ${{ runner.os }}-ranger-downloads-${{ hashFiles('dev-support/ranger-docker/.env') }}

0 commit comments

Comments
 (0)