-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Use of GitHub Actions, and enable dependabot #1497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
05c3d14
fdcd933
c23ef1d
f6f60fc
82985aa
2cf3e7c
98a37d4
cbfd8d5
95a17dd
ab3f6e8
7864a66
29151fe
72072da
2473f96
dcdabdb
25ebb49
deefb42
b051180
f2f9a26
e25c8a0
6a5b465
4c034eb
e12071b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # | ||
| # 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. | ||
| # | ||
|
|
||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| ignore: | ||
| - dependency-name: "*" | ||
| update-types: ["version-update:semver-major"] | ||
| - package-ecosystem: "maven" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| open-pull-requests-limit: 50 | ||
| ignore: | ||
| - dependency-name: "*" | ||
| update-types: ["version-update:semver-major"] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| # 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. | ||
|
|
||
| name: CI Nightly | ||
|
|
||
| on: | ||
| schedule: | ||
| - cron: '0 3 * * *' | ||
|
|
||
| jobs: | ||
| build: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| strategy: | ||
| matrix: | ||
| os: [ ubuntu-24.04, ubuntu-22.04, macos-26, macos-15, windows-2025, windows-2022 ] | ||
| java-version: [ 17, 21, 24 ] | ||
|
|
||
| runs-on: ${{ matrix.os }} | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up JDK | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: ${{ matrix.java-version }} | ||
| distribution: temurin | ||
| - name: Build | ||
| run: mvn -U -B -e clean install -DskipTests | ||
| - name: Verify | ||
| run: mvn apache-rat:check | ||
|
|
||
| test: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| strategy: | ||
| matrix: | ||
| os: [ ubuntu-24.04, ubuntu-22.04, macos-26, macos-15, windows-2025, windows-2022 ] | ||
| java-version: [ 17, 21, 24 ] | ||
|
|
||
| runs-on: ${{ matrix.os }} | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up JDK | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: ${{ matrix.java-version }} | ||
| distribution: temurin | ||
| - name: Test | ||
| run: mvn -B -e -fae test |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| # 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. | ||
|
|
||
| name: CI Quick | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ "main", "activemq-6.1.x", "activemq-5.19.x" ] | ||
| pull_request: | ||
| branches: [ "main", "activemq-6.1.x", "activemq-5.19.x" ] | ||
|
|
||
| jobs: | ||
| build: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| strategy: | ||
| matrix: | ||
| os: [ ubuntu-24.04, macos-26, windows-2025 ] | ||
| java-version: [ 17, 21 ] | ||
|
|
||
| runs-on: ${{ matrix.os }} | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up JDK | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: ${{ matrix.java-version }} | ||
| distribution: temurin | ||
| - name: Build | ||
| run: mvn -U -B -e clean install -DskipTests | ||
| - name: Verify | ||
| run: mvn apache-rat:check | ||
|
|
||
| test: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| runs-on: ubuntu-24.04 | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up JDK | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: 17 | ||
| distribution: temurin | ||
| - name: Test | ||
| run: mvn -B -e -fae test |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| # | ||
| # 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. | ||
| # | ||
|
|
||
| name: Deploy | ||
|
|
||
| on: | ||
| schedule: | ||
| - cron: '0 0 * * *' | ||
|
|
||
| jobs: | ||
| deploy: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| runs-on: ubuntu-24.04 | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up JDK | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: 17 | ||
| distribution: temurin | ||
| - name: Deploy | ||
| run: mvn -B -e deploy -Pdeploy -DskipTests | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,6 +27,10 @@ pipeline { | |
| } | ||
| } | ||
|
|
||
| triggers { | ||
| cron('0 0 * * *') | ||
| } | ||
|
|
||
| tools { | ||
| // ... tell Jenkins what java version, maven version or other tools are required ... | ||
| maven 'maven_3_latest' | ||
|
|
@@ -42,7 +46,7 @@ pipeline { | |
| } | ||
|
|
||
| parameters { | ||
| choice(name: 'nodeLabel', choices: ['ubuntu', 's390x', 'arm', 'Windows']) | ||
| choice(name: 'nodeLabel', choices: [ 's390x']) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we keep the other architectures for manual runs (specifically for sonar on ubuntu)? This contribution auto-detects and select s390x based on cron trigger:
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, sure. If it's executed on demand (not on PR), I'm totally fine with that. The purpose is really to have stable and fast checks on PR. |
||
| choice(name: 'jdkVersion', choices: ['jdk_17_latest', 'jdk_21_latest', 'jdk_24_latest', 'jdk_17_latest_windows', 'jdk_21_latest_windows', 'jdk_24_latest_windows']) | ||
| booleanParam(name: 'deployEnabled', defaultValue: false) | ||
| booleanParam(name: 'parallelTestsEnabled', defaultValue: true) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.