-
Notifications
You must be signed in to change notification settings - Fork 6
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
1 parent
422f45c
commit 3dde080
Showing
20 changed files
with
127 additions
and
31 deletions.
There are no files selected for viewing
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,31 @@ | ||
name: Meltano - Spreadsheets Anywhere IP Addresses | ||
|
||
on: | ||
schedule: | ||
- cron: '0 10 * * *' | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
el_ssa_ip_addresses: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: data/ | ||
environment: prod | ||
env: | ||
MELTANO_ENVIRONMENT: prod | ||
MELTANO_SEND_ANONYMOUS_USAGE_STATS: 'false' | ||
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
cache: 'pip' | ||
- run: pip install -r requirements.txt | ||
- run: echo "${{secrets.MELTANO_ENV_FILE }}" > .env | ||
# Install Plugins | ||
- run: meltano install --schedule=spreadsheets_anywhere_el | ||
# Run Test | ||
- run: meltano run spreadsheets_anywhere_el |
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,35 @@ | ||
name: Meltano - Hub Metrics Publish | ||
|
||
on: | ||
schedule: | ||
- cron: '0 12 * * *' | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
hub_metrics_publish: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: data/ | ||
environment: prod | ||
env: | ||
MELTANO_ENVIRONMENT: prod | ||
MELTANO_SEND_ANONYMOUS_USAGE_STATS: 'false' | ||
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} | ||
TAP_SNOWFLAKE_METRICS_TABLES: '["b${{ github.SHA }}_MELTANO_HUB.FACT_VARIANT_HUB_METRICS"]' | ||
TAP_SNOWFLAKE_AUDIT_TABLES: '["b${{ github.SHA }}_MELTANO_HUB.HUB_METRICS_AUDIT"]' | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
cache: 'pip' | ||
- run: pip install -r requirements.txt | ||
- run: echo "${{secrets.MELTANO_ENV_FILE }}" > .env | ||
# Install Plugins | ||
- run: meltano install --schedule=hub_metrics_publish | ||
# Run Test | ||
- run: meltano run hub_metrics_publish |
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,35 @@ | ||
name: Meltano - Slack Publish | ||
|
||
on: | ||
schedule: | ||
- cron: '0 12 * * *' | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
slack_notifications: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: data/ | ||
environment: prod | ||
env: | ||
MELTANO_ENVIRONMENT: prod | ||
MELTANO_SEND_ANONYMOUS_USAGE_STATS: 'false' | ||
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} | ||
TAP_SNOWFLAKE_SINGER_ACTIVITY: '["MELTANO_HUB.SINGER_ACTIVITY_NOTIFICATIONS"]' | ||
TAP_SNOWFLAKE_MELTANO_ACTIVITY: '["MELTANO_HUB.MELTANO_ACTIVITY_NOTIFICATIONS"]' | ||
TARGET_APPRISE_SINGER_ACTIVITY_URIS: ${{ secrets.APPRISE_SINGER_ACTIVITY_WEBHOOK }} | ||
TARGET_APPRISE_MELTANO_ACTIVITY_URIS: ${{ secrets.APPRISE_MELTANO_ACTIVITY_WEBHOOK }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
cache: 'pip' | ||
- run: pip install -r requirements.txt | ||
- run: echo "${{secrets.MELTANO_ENV_FILE }}" > .env | ||
# Install Plugins | ||
- run: meltano install --schedule=slack_notifications | ||
# Run Test | ||
- run: meltano run slack_notifications |
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
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
{{ config(materialized='table') }} | ||
|
||
WITH source_meltano AS ( | ||
|
||
SELECT | ||
|
2 changes: 0 additions & 2 deletions
2
data/transform/models/staging/gitlab/stg_gitlab__merge_requests.sql
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
{{ config(materialized='table') }} | ||
|
||
WITH source_meltano AS ( | ||
|
||
SELECT | ||
|
2 changes: 0 additions & 2 deletions
2
data/transform/models/staging/gitlab/stg_gitlab__projects.sql
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
{{ config(materialized='table') }} | ||
|
||
WITH source AS ( | ||
|
||
SELECT | ||
|
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
File renamed without changes.
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