Skip to content

Commit 67de32b

Browse files
feat: add new GitHub workflow for dbsync config tests
1 parent 70fdb11 commit 67de32b

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/env_nightly_dbsync_config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CLUSTERS_COUNT=1
2+
CLUSTER_ERA=conway
3+
COMMAND_ERA=conway
4+
MARKEXPR=dbsync or dbsync_config
5+
DBSYNC_REV=13.6.0.4
6+
DBSYNC_TAR_URL=https://github.com/IntersectMBO/cardano-db-sync/releases/download/13.6.0.4/cardano-db-sync-13.6.0.4-linux.tar.gz
7+
DBSYNC_SKIP_INDEXES=true
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Nightly tests dbsync
2+
3+
on:
4+
schedule:
5+
- cron: '15 01 * * *'
6+
workflow_dispatch:
7+
8+
jobs:
9+
nightly_job:
10+
if: github.repository_owner == 'IntersectMBO' || github.event_name != 'schedule'
11+
# reusable workflow from local repo and same branch as this config
12+
uses: ./.github/workflows/regression_reusable.yaml
13+
with:
14+
env-path: .github/env_nightly_dbsync_config
15+
secrets:
16+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
CI_FAIL_MAILS: ${{ secrets.NIGHTLY_FAIL_MAILS }}
18+
GMAIL_USERNAME: ${{ secrets.GMAIL_USERNAME }}
19+
GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}

0 commit comments

Comments
 (0)