This page is mean to help developer to release this the SDK.
# Get the latest compose with DSE
curl -o docker-compose-dse.yml https://raw.githubusercontent.com/datastax/astra-db-java/refs/heads/main/docker-compose.yml
# Start docker
docker-compose -f ./docker-compose-dse.yml up -d docker run -it --rm --network container:$(docker ps | grep dse | cut -b 1-12) cassandra:latest cqlsh -u cassandra -p cassandra
To run the tests you need 3 different environments: Dev, PROD and a local installation. For Astra DEV and production you should have the following environment variables sets: ASTRA_DB_APPLICATION_TOKEN_DEV and ASTRA_DB_APPLICATION_TOKEN.
- Generate Jacoco Report
mvn clean test jacoco:report - Push to SONAR
mvn clean test jacoco:report verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=clun_astra-db-java- Start the
ssh-agent
eval "$(ssh-agent -s)"- Add the ssh key to the agent
cd ~/.ssh
ssh-add githubff4j- Deploy
mvn -pl astra-db-java,langchain4j-astradb -am release:prepare -DskipTests=true -Dmaven.test.skip=true
mvn -pl astra-db-java,langchain4j-astradb -am release:perform -DskipTests=true -Dmaven.test.skip=truemvn release:perform -Darguments="-DskipTests"