Skip to content

Commit

Permalink
Fix permissions for legacy Cron scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
luabida committed Oct 11, 2022
1 parent 4f4ee21 commit c56e72a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@ jobs:
docker ps
make docker-wait-all
- name: Trigger all DAGs
run: |
make docker-console SERVICE=airflow CONSOLE='airflow dags trigger owid'
make docker-console SERVICE=airflow CONSOLE='airflow dags trigger foph'
make docker-console SERVICE=airflow CONSOLE='airflow dags trigger colombia'
make docker-console SERVICE=airflow CONSOLE='airflow dags trigger web_status_test'
- name: test cron scripts
run: |
make docker-run-cron SERVICE=superset
Expand Down
2 changes: 1 addition & 1 deletion docker/airflow/dags/tests/webservices_status_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"depends_on_past": False,
"start_date": pendulum.datetime(2022, 9, 26),
"email": ["[email protected]"],
"email_on_failure": False,
"email_on_failure": True,
"email_on_retry": False,
"retries": 3,
"retry_delay": timedelta(minutes=5),
Expand Down
6 changes: 5 additions & 1 deletion docker/postgresql/sql/dev/02-epigraphhub.sql
Original file line number Diff line number Diff line change
Expand Up @@ -23637,8 +23637,12 @@ GRANT ALL ON SCHEMA colombia TO dev_epigraph;
-- Name: SCHEMA switzerland; Type: ACL; Schema: -; Owner: dev_admin
--

GRANT ALL ON SCHEMA switzerland TO dev_epigraph;
GRANT USAGE ON SCHEMA switzerland TO dev_epigraph;
GRANT USAGE ON SCHEMA switzerland TO dev_epigraph;
GRANT ALL ON SCHEMA switzerland TO dev_epigraph;
GRANT ALL ON ALL TABLES IN SCHEMA switzerland TO dev_epigraph;
GRANT ALL ON ALL FUNCTIONS IN SCHEMA switzerland TO dev_epigraph;
GRANT ALL ON ALL SEQUENCES IN SCHEMA switzerland TO dev_epigraph;


--
Expand Down

0 comments on commit c56e72a

Please sign in to comment.