Skip to content

Commit

Permalink
fix: separate crds into per-engine folders
Browse files Browse the repository at this point in the history
  • Loading branch information
CCOLLOT committed Jan 31, 2025
1 parent a38d824 commit 36c9b40
Show file tree
Hide file tree
Showing 18 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/generate-provider-sql-models.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ done
rm -rf $TEMP_DIR/models/k8s/
rm $TEMP_DIR/models/kcl.mod
mv $TEMP_DIR/models/* $DEST_DIR
#

mkdir -p $DEST_DIR/v1alpha1/mssql
mkdir -p $DEST_DIR/v1alpha1/postgresql
mkdir -p $DEST_DIR/v1alpha1/mysql

mv $DEST_DIR/v1alpha1/postgresql*.* $DEST_DIR/v1alpha1/postgresql/
mv $DEST_DIR/v1alpha1/mssql*.* $DEST_DIR/v1alpha1/mssql/
mv $DEST_DIR/v1alpha1/mysql*.* $DEST_DIR/v1alpha1/mysql/

# Cleanup temporary directory
rm -rf $TEMP_DIR

Expand Down

0 comments on commit 36c9b40

Please sign in to comment.