Skip to content

Commit 1d1a601

Browse files
authored
Move to GitHub resources: (#1965)
- enable GitHub Issues - replace Jenkins by GitHub Action
1 parent adb9779 commit 1d1a601

4 files changed

Lines changed: 119 additions & 202 deletions

File tree

.asf.yaml

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,43 @@
1515
# limitations under the License.
1616
#
1717

18-
notifications:
19-
pullrequests: commits@karaf.apache.org
2018
github:
19+
description: "Apache Karaf, the enterprise modulith runtime"
20+
homepage: https://karaf.apache.org
21+
labels:
22+
- apache
23+
- karaf
24+
- osgi
25+
- modulith
26+
27+
enabled_merge_buttons:
28+
merge: false
29+
rebase: false
30+
squash: true
31+
32+
del_branch_on_merge: true
33+
34+
protected_branches:
35+
main:
36+
required_pull_request_reviews:
37+
require_code_owner_reviews: false
38+
required_approving_review_count: 0
39+
required_linear_history: true
40+
required_status_checks:
41+
strict: false
42+
contexts:
43+
- build
44+
45+
features:
46+
wiki: false
47+
issues: true
48+
projects: true
49+
2150
autolink_jira:
2251
- KARAF
52+
53+
notifications:
54+
commits: commits@karaf.apache.org
55+
issues: issues@karaf.apache.org
56+
pullrequests: commits@karaf.apache.org
57+
jira_options: link label

.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: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+
runs-on: ubuntu-latest
32+
permissions:
33+
contents: read
34+
35+
steps:
36+
- uses: actions/checkout@v4
37+
- name: Set up JDK 11
38+
uses: actions/setup-java@v4
39+
with:
40+
java-version: '11'
41+
distribution: 'temurin'
42+
architecture: 'x64'
43+
- name: Building
44+
run: mvn -U -B -e clean install -DskipTests -Prat
45+
- name: Tests
46+
run: mvn -B -fae -e test

Jenkinsfile

Lines changed: 0 additions & 200 deletions
This file was deleted.

0 commit comments

Comments
 (0)