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

Updaet DSE image builds based on docker-images #208

Merged
merged 9 commits into from
Sep 23, 2022
Merged

Conversation

emerkle826
Copy link
Contributor

@emerkle826 emerkle826 commented Sep 22, 2022

Updates the DSE image builds to match (as closely as possible) the official builds for DSE Docker images with Management API embedded.

Fixes: #209

.github/workflows/ci.yaml Outdated Show resolved Hide resolved
@@ -0,0 +1,180 @@
# Copyright DataStax, Inc, 2017
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of the Docker build files were generated from the docker-images repo with the changes from this PR:
https://github.com/riptano/docker-images/pull/87
There are some slight modifications to the build files as that PR will add a released Management API bundle to the DSE image, where the files in this PR will compile the latest Management API bundles and add them to the images built in this repo.

Copy link
Contributor

@adejanovski adejanovski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, pending CI passing and probably a line that should be uncommented before merging?

.github/workflows/ci.yaml Outdated Show resolved Hide resolved
.github/workflows/docker-release.yaml Show resolved Hide resolved
@@ -131,6 +131,9 @@ jobs:
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push'}}
needs: build-dse
runs-on: ubuntu-latest
strategy:
matrix:
jdk-version: [jdk8, jdk11]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the jdk8 builds?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't necessarily, but I believe the cass-operator default DSE image is a JDK8 based image. The official DSE images have a -java11 suffix to the image tag for JDK11 based images, while the JDK8 based images do not have a suffix for the tag.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, the DSE images aren't official, just used for testing at the moment. But it doesn't hurt to build both as the official build process will.

@emerkle826 emerkle826 merged commit 5b3a5d8 into master Sep 23, 2022
@emerkle826 emerkle826 deleted the dse-docker branch September 23, 2022 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

K8SSAND-1800 ⁃ Update DSE builds to match official builds
2 participants