diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..e3f81b9
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,7 @@
+version: 2
+updates:
+ - package-ecosystem: maven
+ directory: "/"
+ schedule:
+ interval: daily
+ open-pull-requests-limit: 10
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..ca99fe5
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,33 @@
+name: CI
+on:
+ push:
+ branches:
+ - '*'
+ pull_request:
+ branches:
+ - '*'
+permissions:
+ contents: read
+jobs:
+ ci:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ ubuntu-latest, windows-latest, macos-latest ]
+ java: [ 11, 17 ]
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Set up JDK ${{ matrix.java }}
+ uses: actions/setup-java@v1
+ with:
+ java-version: ${{ matrix.java }}
+ - name: Cache local Maven repository
+ uses: actions/cache@v2
+ with:
+ path: ~/.m2/repository
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ ${{ runner.os }}-maven-
+ - name: Build with Maven
+ run: mvn -B verify
diff --git a/.gitignore b/.gitignore
index fea1305..0b255f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@ dist/eap/docker/jboss-eap-openshift.zip
dist/wildfly/docker/wildfly-openshift.zip
hs_err_pid*
target/
+release.properties
diff --git a/Jenkinsfile b/Jenkinsfile
index f7c6325..c3168c2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -12,7 +12,7 @@ pipeline {
stage('Build') {
steps {
script {
- env.JAVA_HOME = tool('JDK 8')
+ env.JAVA_HOME = tool('JDK 11')
def mvnHome = tool 'Maven'
sh "${mvnHome}/bin/mvn clean install -Dmaven.test.failure.ignore=true"
junit '**/target/*-reports/*.xml'
@@ -23,12 +23,12 @@ pipeline {
stage('Deploy SNAPSHOT') {
when {
- branch 'master'
+ branch 'main'
}
steps {
configFileProvider([configFile(fileId: 'maven-settings-with-deploy-snapshot', variable: 'MAVEN_SETTINGS')]) {
script {
- env.JAVA_HOME = tool('JDK 8')
+ env.JAVA_HOME = tool('JDK 11')
def mvnHome = tool 'Maven'
sh "${mvnHome}/bin/mvn deploy -s $MAVEN_SETTINGS -DskipTests"
}
diff --git a/README.adoc b/README.adoc
index e90fd74..1070605 100644
--- a/README.adoc
+++ b/README.adoc
@@ -23,7 +23,7 @@ A sample configuration looks like this:
...
----
@@ -115,7 +115,7 @@ Labels are similar to namespaces; different labels can separate clusters running
Similarly to namespaces, labels also have to be defined when launching a pod, either via `--labels=