-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update sql schema autogen tool (#331)
* chore(tooling): swap out dbviz custom database diagram tool for SchemaSpy, remove dependencies in catalyst-ci postgresql base * chore(tooling): swap out dbviz custom database diagram tool for SchemaSpy, remove dependencies in catalyst-ci postgresql base * chore(tooling): refactored how the dependencies are downloaded and cached to avoid apt install executing every run (reduced network calls) * chore(tooling): refactored how the dependencies are downloaded and cached to avoid apt install executing every run (reduced network calls) * chore(tooling): Fix markdown warnings breaking the CI build. No warnings required on md file as it is just a container for SchemaSpy * chore(tooling): fix breaking CI issues * chore(tooling): fix breaking CI issues * refactor(tooling): modified approach to align with repo goals based on PR feedback. Removed seperate layers for package installs * refactor(tooling): re-ordered package install and download steps for improved caching * refactor(tooling): removed dbviz utility from repository, dbviz is no longer required and has been replaced with SchemaSpy for database schema visualizations diagram generation --------- Co-authored-by: Steven Johnson <[email protected]>
- Loading branch information
Showing
22 changed files
with
148 additions
and
1,590 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
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,15 @@ | ||
VERSION 0.8 | ||
|
||
# Base image for Java used in other targets to avoid improve caching | ||
java-base: | ||
FROM openjdk:21-jdk-slim | ||
|
||
SAVE ARTIFACT /usr/local/openjdk-21 /java | ||
|
||
COPY_DEPS: | ||
FUNCTION | ||
COPY +java-base/java /usr/local/openjdk-21 | ||
|
||
# Set environment variables for Java | ||
ENV JAVA_HOME=/usr/local/openjdk-21 | ||
ENV PATH=$JAVA_HOME/bin:$PATH |
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.