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

fix deployment issues #2

Merged
merged 3 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 17 additions & 15 deletions deploy/docker-bake.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{
"variable": {
"TESTGEN_VERSION": {
"default": ""
"variable": {
"TESTGEN_VERSION": {}
},
"target": {
"testgen": {
"args": {
"TESTGEN_VERSION": "${TESTGEN_VERSION}"
},
"dockerfile": "Dockerfile",
"tags": [
"datakitchen/dataops-testgen:v${TESTGEN_VERSION}",
"datakitchen/dataops-testgen:v${index(regex(\"([0-9]+\\\\.[0-9]+)\\\\.[0-9]+\", TESTGEN_VERSION), 0)}",
"datakitchen/dataops-testgen:v${index(regex(\"([0-9]+)\\\\.[0-9]+\\\\.[0-9]+\", TESTGEN_VERSION), 0)}"
],
"context": ".",
"platforms": ["linux/amd64", "linux/arm64"]
}
}
},
"target": {
"testgen": {
"args": {
"TESTGEN_VERSION": "${TESTGEN_VERSION}"
},
"dockerfile": "Dockerfile",
"tags": ["datakitchen/testgen-trial:${TESTGEN_VERSION}"],
"context": ".",
"platforms": ["linux/amd64", "linux/arm64"]
}
}
}
1 change: 0 additions & 1 deletion testgen/settings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import os


IS_DEBUG: bool = os.getenv("TESTGEN_DEBUG", "no").lower() == "yes"
"""
When True invalidates the cache with the bootstrapped application
Expand Down
Empty file.
5 changes: 5 additions & 0 deletions testgen/template/dbupgrade/0000_incremental_upgrade.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- ===========================================
-- | Initial App DB Schema Upgrade |
-- ===========================================

SELECT 1;
3 changes: 1 addition & 2 deletions testgen/ui/views/test_suites.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

import streamlit as st

from testgen.ui.services import connection_service
from testgen.ui.services import table_group_service
import testgen.ui.services.authentication_service as authentication_service
import testgen.ui.services.form_service as fm
import testgen.ui.services.test_suite_service as test_suite_service
Expand All @@ -14,6 +12,7 @@
from testgen.commands.run_observability_exporter import export_test_results
from testgen.ui.components import widgets as testgen
from testgen.ui.navigation.page import Page
from testgen.ui.services import connection_service, table_group_service
from testgen.ui.services.string_service import empty_if_null
from testgen.ui.session import session

Expand Down