Skip to content

Commit

Permalink
Execute maven or maven and postgres pods
Browse files Browse the repository at this point in the history
  • Loading branch information
psavidis committed Oct 31, 2024
1 parent f8a404e commit 2a02229
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .ci/config/stage-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ db-unit:
- 'postgresql'
podSpec:
cpu: 4
image: 'maven:3.8.5-eclipse-temurin-11'
images: ['maven:3.8.5-eclipse-temurin-11', 'postgres:17.0']
sql-scripts:
directory: 'distro/sql-script'
command: 'install -Pcheck-sql,'
Expand Down Expand Up @@ -141,7 +141,7 @@ platform-jdk-temurin-jdk-17-latest:
jdkVersion: 'jdk-17-latest'
podSpec:
cpu: 4
image: 'maven:3.9.7-eclipse-temurin-17'
images: ['maven:3.9.7-eclipse-temurin-17']
platform-jdk-temurin-jdk-21-latest:
directory: '.'
command: 'install source:jar source:test-jar -Pdistro,distro-ce,distro-wildfly'
Expand All @@ -151,7 +151,7 @@ platform-jdk-temurin-jdk-21-latest:
jdkVersion: 'jdk-21-latest'
podSpec:
cpu: 4
image: 'maven:3.9.7-eclipse-temurin-21'
images: ['maven:3.9.7-eclipse-temurin-21']
platform-jdk-temurin-jdk-11-latest:
directory: '.'
command: 'install source:jar source:test-jar
Expand All @@ -174,7 +174,7 @@ platform-jdk-temurin-jdk-11-latest:
jdkVersion: 'jdk-11-latest'
podSpec:
cpu: 4
image: 'maven:3.9.7-eclipse-temurin-11'
images: ['maven:3.9.7-eclipse-temurin-11']
platform-jdk-jdk-17-latest:
directory: '.'
command: 'install source:jar source:test-jar -Pdistro,distro-ce,distro-wildfly -Dskip.frontend.build=true'
Expand Down
6 changes: 3 additions & 3 deletions .ci/daily/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pipeline {
cambpmConditionalRetry([
podSpec: [
cpu: 4,
image: 'alpine:3.20'
images: ['alpine:3.20']
],
runSteps : {
sh "apk -U add openjdk17-jdk maven rsync openssh libstdc++ libgcc bash"
Expand Down Expand Up @@ -158,7 +158,7 @@ pipeline {
cambpmConditionalRetry([
podSpec: [
cpu: 32,
image: 'maven:3.9.7-eclipse-temurin-17'
images: ['maven:3.9.7-eclipse-temurin-17']
],
runSteps: {
cambpmRunMaven('.',
Expand Down Expand Up @@ -192,7 +192,7 @@ pipeline {
cambpmConditionalRetry([
podSpec: [
cpu: 32,
image: 'maven:3.9.7-eclipse-temurin-17'
images: ['maven:3.9.7-eclipse-temurin-17']
],
runSteps: {
cambpmRunMaven('.',
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pipeline {
cambpmConditionalRetry([
podSpec: [
cpu: 32,
image: 'maven:3.9.7-eclipse-temurin-17'
images: ['maven:3.9.7-eclipse-temurin-17']
],
suppressErrors: false,
runSteps: {
Expand Down

0 comments on commit 2a02229

Please sign in to comment.