Skip to content

Commit 00923e7

Browse files
committed
Use of GitHub Actions, and enable dependabot
Keep a backup of Jenkinsfile for now
1 parent 718ce02 commit 00923e7

File tree

5 files changed

+152
-2
lines changed

5 files changed

+152
-2
lines changed

.asf.yaml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,33 @@ github:
3030
- stomp
3131
- java
3232
- jms
33+
3334
enabled_merge_buttons:
3435
squash: true
35-
merge: true
36-
rebase: true
36+
merge: false
37+
rebase: false
38+
39+
del_branch_on_merge: true
40+
41+
protected_branches:
42+
main:
43+
required_pull_request_reviews:
44+
require_code_owner_reviews: false
45+
required_approving_review_count: 0
46+
required_linear_history: true
47+
required_status_checks:
48+
strict: false
49+
contexts:
50+
- build
51+
52+
features:
53+
wiki: false
54+
issues: false
55+
projects: false
56+
3757
autolink_jira:
3858
- AMQ
59+
3960
notifications:
4061
commits: commits@activemq.apache.org
4162
issues: gitbox@activemq.apache.org

.github/dependabot.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
version: 2
21+
updates:
22+
- package-ecosystem: "github-actions"
23+
directory: "/"
24+
schedule:
25+
interval: "daily"
26+
ignore:
27+
- dependency-name: "*"
28+
update-types: ["version-update:semver-major"]
29+
- package-ecosystem: "maven"
30+
directory: "/"
31+
schedule:
32+
interval: "daily"
33+
open-pull-requests-limit: 50
34+
ignore:
35+
- dependency-name: "*"
36+
update-types: ["version-update:semver-major"]

.github/workflows/build.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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: Build
21+
22+
on:
23+
push:
24+
branches: [ "main" ]
25+
pull_request:
26+
branches: [ "main" ]
27+
28+
jobs:
29+
build:
30+
31+
permissions:
32+
contents: read
33+
34+
strategy:
35+
matrix:
36+
os: [ ubuntu-latest, windows-latest ]
37+
java-version: [ 17, 21, 24, 25 ]
38+
39+
runs-on: ${{ matrix.os }}
40+
41+
steps:
42+
- uses: actions/checkout@v4
43+
- name: Set up JDK
44+
uses: actions/setup-java@v4
45+
with:
46+
java-version: ${{ matrix.java-version }}
47+
- name: Build
48+
run: mvn -U -B -e clean install -DskipTests
49+
- name: Verify
50+
run: mvn apache-rat:check
51+
- name: Test
52+
run: mvn -B -e -fae test -Dsurefire.rerunFailingTestsCount=3

.github/workflows/deploy.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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: Deploy
21+
22+
on:
23+
schedule:
24+
- cron: '0 0 * * *'
25+
26+
jobs:
27+
deploy:
28+
29+
permissions:
30+
contents: read
31+
32+
runs-on: ubuntu-latest
33+
34+
steps:
35+
- uses: actions/checkout@v4
36+
- name: Set up JDK
37+
uses: actions/setup-java@v4
38+
with:
39+
java-version: 17
40+
- name: Deploy
41+
run: mvn -B -e deploy -Pdeploy -DskipTests
File renamed without changes.

0 commit comments

Comments
 (0)