fix smoke test workflow
This commit is contained in:
@@ -9,7 +9,9 @@ on:
|
||||
|
||||
jobs:
|
||||
smoke-test:
|
||||
runs-on: ubuntu-latest
|
||||
# Stejný label jako deploy.yml — výchozí act_runner má typicky jen `self-hosted`,
|
||||
# ne `ubuntu-latest` (ten by vyžadoval GITEA_RUNNER_LABELS s docker:// image).
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
||||
1
.idea/data_source_mapping.xml
generated
1
.idea/data_source_mapping.xml
generated
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DataSourcePerFileMappings">
|
||||
<file url="file://$PROJECT_DIR$/../ems-cursor-db-pracovni/porovnani-view-status.sql" value="26ebef46-ff23-475b-8adc-082723263a02" />
|
||||
<file url="file://$PROJECT_DIR$/db/migration/V009__postgrest_roles.sql" value="26ebef46-ff23-475b-8adc-082723263a02" />
|
||||
<file url="file://$PROJECT_DIR$/db/views/R__z_postgrest_ems_anon_grants.sql" value="26ebef46-ff23-475b-8adc-082723263a02" />
|
||||
</component>
|
||||
|
||||
1
.idea/ems-cursor.iml
generated
1
.idea/ems-cursor.iml
generated
@@ -2,6 +2,7 @@
|
||||
<module type="DBE_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<content url="file://$MODULE_DIR$/../ems-cursor-db-pracovni" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
|
||||
1
.idea/sqldialects.xml
generated
1
.idea/sqldialects.xml
generated
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="SqlDialectMappings">
|
||||
<file url="file://$PROJECT_DIR$/../ems-cursor-db-pracovni/porovnani-view-status.sql" dialect="PostgreSQL" />
|
||||
<file url="file://$PROJECT_DIR$/db/migration/V009__postgrest_roles.sql" dialect="PostgreSQL" />
|
||||
<file url="file://$PROJECT_DIR$/db/views/R__z_postgrest_ems_anon_grants.sql" dialect="PostgreSQL" />
|
||||
</component>
|
||||
|
||||
@@ -36,3 +36,4 @@ GRANT SELECT ON ems.baseline_load_forecast_accuracy TO ems_anon;
|
||||
GRANT SELECT ON ems.vw_baseline_load_forecast_accuracy_daily TO ems_anon;
|
||||
|
||||
|
||||
grant select on ems.asset_heat_pump to ems_anon;
|
||||
|
||||
@@ -127,7 +127,7 @@ Produkční compose mapuje frontend na **`127.0.0.1:8080`**, backend na **`127.0
|
||||
|
||||
| Workflow | Účel | Poznámka |
|
||||
|----------|------|----------|
|
||||
| `.gitea/workflows/test.yml` | Smoke (soubory, layout) | `runs-on: ubuntu-latest` stáhne image; nepotřebuje Docker. |
|
||||
| `.gitea/workflows/test.yml` | Smoke (soubory, layout) | `runs-on: self-hosted` — stejný runner jako deploy; bez extra labelu `ubuntu-latest` na act_runneru by job s `ubuntu-latest` nikdy nenašel runnera. |
|
||||
| `.gitea/workflows/deploy.yml` | Deploy po pushi na `main` | Job kontejner + mounty + viz sekce 5. |
|
||||
|
||||
`workflow_dispatch` na deploy umožňuje ruční opakování bez prázdného commitu.
|
||||
|
||||
Reference in New Issue
Block a user