From 2c191608c60a3a3a01deaa5e49225c214f783d78 Mon Sep 17 00:00:00 2001 From: Robert McNees Date: Wed, 3 Jul 2024 07:32:27 -0400 Subject: [PATCH] Add dependabot configuration --- .github/dependabot.yml | 23 ++++++++++ .../continuous-integration-build.yml | 4 +- Jenkinsfile | 44 ------------------- name-processor/pom.xml | 4 +- name-sink/pom.xml | 4 +- name-source/pom.xml | 4 +- 6 files changed, 31 insertions(+), 52 deletions(-) create mode 100644 .github/dependabot.yml delete mode 100644 Jenkinsfile diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..35e0111 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,23 @@ +version: 2 +updates: + + - package-ecosystem: "maven" + directories: + - "/name-processor" + - "/name-sink" + - "/name-source" + ignore: + - dependency-name: "*" + update-types: ["version-update:semver-patch"] + schedule: + interval: "monthly" + target-branch: "main" + groups: + guide-dependencies-maven: + patterns: + - "*" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" \ No newline at end of file diff --git a/.github/workflows/continuous-integration-build.yml b/.github/workflows/continuous-integration-build.yml index 6a80539..f429ba8 100644 --- a/.github/workflows/continuous-integration-build.yml +++ b/.github/workflows/continuous-integration-build.yml @@ -15,10 +15,10 @@ jobs: steps: - name: Checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '17' distribution: 'temurin' diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 0652ab4..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,44 +0,0 @@ -pipeline { - agent none - - triggers { - pollSCM 'H/10 * * * *' - } - - options { - disableConcurrentBuilds() - buildDiscarder(logRotator(numToKeepStr: '14')) - } - - stages { - stage("test: baseline (jdk8)") { - agent { - docker { - image 'harbor-repo.vmware.com/dockerhub-proxy-cache/library/adoptopenjdk/openjdk8:latest' - args '-v $HOME/.m2:/tmp/jenkins-home/.m2' - } - } - options { timeout(time: 30, unit: 'MINUTES') } - steps { - sh 'test/run.sh' - } - } - - } - - post { - changed { - script { - slackSend( - color: (currentBuild.currentResult == 'SUCCESS') ? 'good' : 'danger', - channel: '#sagan-content', - message: "${currentBuild.fullDisplayName} - `${currentBuild.currentResult}`\n${env.BUILD_URL}") - emailext( - subject: "[${currentBuild.fullDisplayName}] ${currentBuild.currentResult}", - mimeType: 'text/html', - recipientProviders: [[$class: 'CulpritsRecipientProvider'], [$class: 'RequesterRecipientProvider']], - body: "${currentBuild.fullDisplayName} is reported as ${currentBuild.currentResult}") - } - } - } -} diff --git a/name-processor/pom.xml b/name-processor/pom.xml index 2fa2014..a49ff98 100644 --- a/name-processor/pom.xml +++ b/name-processor/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.1.0 + 3.3.1 com.example.stream @@ -15,7 +15,7 @@ Demo project for Spring Boot 17 - 2022.0.0 + 2023.0.2 diff --git a/name-sink/pom.xml b/name-sink/pom.xml index ed518c9..0174af1 100644 --- a/name-sink/pom.xml +++ b/name-sink/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.1.0 + 3.3.1 com.example.stream @@ -15,7 +15,7 @@ Demo project for Spring Boot 17 - 2022.0.0 + 2023.0.2 diff --git a/name-source/pom.xml b/name-source/pom.xml index 055fcfe..a1a5b1a 100644 --- a/name-source/pom.xml +++ b/name-source/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.1.0 + 3.3.1 com.example.stream @@ -15,7 +15,7 @@ Demo project for Spring Boot 17 - 2022.0.0 + 2023.0.2