Skip to content
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

SLCORE-716: Mend / Promote task to use Java 17 #1216

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
- mvn -B -e -V -Pits dependency:go-offline # populate cache including ITs deps too
cleanup_before_cache_script: cleanup_maven_repository

test_linux_task:

Check warning on line 91 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L91

task "test_linux" depends on task "build", but their only_if conditions are different

Check warning on line 91 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L91

task "test_linux" depends on task "build", but their only_if conditions are different
# Run unit tests on Linux with Java 17 and SonarQube analysis on Next
depends_on:
- build
Expand All @@ -110,7 +110,7 @@
path: '**/target/surefire-reports/TEST-*.xml'
format: junit

test_windows_task:

Check warning on line 113 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L113

task "test_windows" depends on task "build", but their only_if conditions are different

Check warning on line 113 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L113

task "test_windows" depends on task "build", but their only_if conditions are different
# Run UTs on Windows (Java 17)
depends_on:
- build
Expand All @@ -131,7 +131,7 @@
path: '**/target/surefire-reports/TEST-*.xml'
format: junit

inspect_orchestrator_cache_task:

Check warning on line 134 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L134

task "inspect_orchestrator_cache" depends on task "build", but their only_if conditions are different

Check warning on line 134 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L134

task "inspect_orchestrator_cache" depends on task "build", but their only_if conditions are different
<<: *ONLY_IF_EXCEPT_NIGHTLY
depends_on: build
eks_container:
Expand All @@ -155,20 +155,19 @@
<<: *CONTAINER_DEFINITION
env:
WS_APIKEY: VAULT[development/kv/data/mend data.apikey]
JDK_VERSION: "11"
JDK_VERSION: "17"
<<: *MAVEN_CACHE_DEFINITION
whitesource_script:
- source cirrus-env QA
- source set_maven_build_version $BUILD_NUMBER
- mvn clean install -DskipTests
- source ws_scan.sh
cleanup_before_cache_script: cleanup_maven_repository
allow_failures: "true"
always:
ws_artifacts:
path: "whitesource/**/*"

qa_task:

Check warning on line 170 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L170

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 170 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L170

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 170 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L170

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 170 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L170

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 170 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L170

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 170 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L170

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 170 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L170

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 170 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L170

task "qa" depends on task "build", but their only_if conditions are different
# Run ITs
depends_on:
- build
Expand Down Expand Up @@ -223,7 +222,7 @@
log_artifacts:
path: "**/target/**/sonarqube*/logs/*.log"

promote_task:

Check warning on line 225 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L225

task "promote" depends on task "mend_scan", but their only_if conditions are different

Check warning on line 225 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L225

task "promote" depends on task "build", but their only_if conditions are different

Check warning on line 225 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L225

task "promote" depends on task "mend_scan", but their only_if conditions are different

Check warning on line 225 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L225

task "promote" depends on task "build", but their only_if conditions are different
# Promotion
depends_on:
- build
Expand All @@ -237,7 +236,7 @@
cpu: 2
memory: 4G
env:
JDK_VERSION: "11"
JDK_VERSION: "17"
ARTIFACTORY_PROMOTE_ACCESS_TOKEN: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-promoter access_token]
GITHUB_TOKEN: VAULT[development/github/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-promotion token]
<<: *MAVEN_CACHE_DEFINITION
Expand Down
Loading