-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
639 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Init-Cassandra Pipeline | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
|
||
jobs: | ||
deploy-init-cassandra: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Log in to Docker Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- name: Build and push multi-arch Docker image | ||
run: | | ||
docker buildx build \ | ||
--file init-cassandra.Dockerfile \ | ||
--platform linux/amd64,linux/arm64 \ | ||
--tag explorviz/init-cassandra . \ | ||
--push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#Gradle properties | ||
#Thu Apr 20 09:07:19 CEST 2023 | ||
#quarkusPluginVersion=3.2.9.Final | ||
quarkusPluginVersion=3.6.4 | ||
quarkusPluginVersion=3.8.3 | ||
quarkusPlatformArtifactId=quarkus-bom | ||
quarkusPluginId=io.quarkus | ||
quarkusPlatformGroupId=io.quarkus.platform | ||
#quarkusPlatformVersion=3.2.9.Final | ||
quarkusPlatformVersion=3.6.4 | ||
quarkusPlatformVersion=3.8.3 | ||
confluentAvroSerdeVersion=7.3.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM cassandra:3.11.14 | ||
|
||
COPY src/main/resources/init_script.cql ./init.cql | ||
|
||
CMD ["cqlsh", "cassandra-explorviz", "-f", "init.cql"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.