[ 
https://issues.apache.org/jira/browse/CASSANDRA-18133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17735399#comment-17735399
 ] 

Brandon Williams commented on CASSANDRA-18133:
----------------------------------------------

I don't think build-debian.sh actually builds with java8:

{noformat}
update-java-alternatives: directory does not exist: 
/usr/lib/jvm/java-1.1.8.0-openjdk-amd64
Cassandra will be built with Java 1.8
openjdk version "11.0.19" 2023-04-18
OpenJDK Runtime Environment (build 11.0.19+7-post-Debian-1)
OpenJDK 64-Bit Server VM (build 11.0.19+7-post-Debian-1, mixed mode, sharing)
javac 11.0.19
{noformat}

and build-rpms.sh noboolean doesn't work with j17:

{noformat}
Cassandra will be built with Java 17
openjdk version "1.8.0_372"
OpenJDK Runtime Environment (build 1.8.0_372-b07)
OpenJDK 64-Bit Server VM (build 25.372-b07, mixed mode)
javac 1.8.0_372
{noformat}


> In-tree build scripts
> ---------------------
>
>                 Key: CASSANDRA-18133
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18133
>             Project: Cassandra
>          Issue Type: Task
>          Components: CI
>            Reporter: Michael Semb Wever
>            Assignee: Michael Semb Wever
>            Priority: Normal
>             Fix For: 5.x
>
>
> Bring the artifact/deb/rpm build scripts (and associated docker images) from 
> cassandra-builds repo to the .build directory.
> -The declarative Jenkinsfile can then directly declare the artifacts jobs in 
> its pipeline. And the packaging jobs can be separated and run in parallel.- 
> EDIT: this bit has been moved to CASSANDRA-18594
> This addresses the epic's stated existing problems:
>  - difficult to pre-commit test jenkins and cassandra-build changes,
>  - CI development efforts is split between ci-cassandra and circleci, despite 
> ci-cassandra being our canonical and non-commercial CI,
>  - lacking parity of what is tested between ci-cassandra and circleci
>  - cassandra-builds as a separate repo (without release branches matching 
> in-tree) adds complexity to changing matrix values (jdks, pythons, dist)
>  - -mixture of jenkins dsl groovy, declarative and scripting pipeline.-
>  - -different pre-commit and post-commit jenkins pipelines are used.-
> In addition it addresses:
>  - -stage jobs don't always running on the same SHA as the pipeline's run,-
>  - infra issues around networking, specifically git cloning additional 
> cassandra-builds repository,
>  - -a more readable Jenkinsfile-
>  - more UX friendly build and test scripts



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to