-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
6,403 additions
and
5,405 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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,40 @@ | ||
--- | ||
name: Offboarding Team Member | ||
about: Checklist for offboarding process. | ||
title: Team Member - [Name] | ||
labels: admin | ||
--- | ||
|
||
Name: | ||
|
||
Email Address: | ||
GitHub Username: | ||
Slack Username: | ||
|
||
**Offboard Privileges:** | ||
|
||
|
||
- [ ] Slack | ||
|
||
- [ ] Added to tools: | ||
|
||
- [ ] Github | ||
|
||
- [ ] Organization: Cal-ITP | ||
- [ ] Team: warehouse-users and warehouse-contributors (affects JupyterHub) | ||
- [ ] Update or remove code references to designated hand-off staff or [email protected] | ||
- [ ] Remove administrative privileges / pull request approvals | ||
|
||
- [ ] Google IAM (Cloud and BQ) | ||
|
||
- [ ] Metabase | ||
|
||
- [ ] Airtable | ||
|
||
- [ ] Meeting invites: | ||
|
||
- [ ] Standing meetings | ||
- [ ] Lunch n' Learn | ||
- [ ] All-hands | ||
- [ ] Data & Digital Services email list |
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
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 |
---|---|---|
|
@@ -12,6 +12,12 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: ~/.cache/pre-commit | ||
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pre-commit- | ||
- uses: pre-commit/[email protected] | ||
- uses: crate-ci/[email protected] # Set back to `master` after #967 on the typos repo is fixed | ||
with: | ||
|
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
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,10 @@ | ||
[sqlfluff] | ||
dialect = bigquery | ||
exclude_rules = AL09,L003,L010,L011,L022,L036,L038,L039,L059,L016,L029,L027,L032,L034,L014,L042,L055,L064,AM04,ST09 | ||
ignore = templating, parsing | ||
|
||
# Optional: If you have a specific dbt profile you want to use: | ||
profiles_dir = ./warehouse/ | ||
|
||
[sqlfluff:templater:dbt] | ||
project_dir = ./warehouse/models/ |
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 @@ | ||
warehouse/models/mart/ntd_validation/fct_ntd_rr20_service_checks.sql |
16 changes: 16 additions & 0 deletions
16
airflow/dags/create_external_tables/ntd_data_products/annual_database_service.yml
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,16 @@ | ||
operator: operators.ExternalTable | ||
bucket: gs://calitp-ntd-data-products | ||
prefix_bucket: true | ||
post_hook: | | ||
SELECT * | ||
FROM `{{ get_project_id() }}`.external_ntd_data_products.annual_database_service | ||
LIMIT 1; | ||
source_objects: | ||
- "annual-database-service/*.jsonl.gz" | ||
destination_project_dataset_table: "external_ntd_data_products.annual_database_service" | ||
source_format: NEWLINE_DELIMITED_JSON | ||
use_bq_client: true | ||
hive_options: | ||
mode: CUSTOM | ||
require_partition_filter: false | ||
source_uri_prefix: "annual-database-service/{dt:DATE}/{ts:TIMESTAMP}/{year:INTEGER}/" |
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.