Skip to content

Commit 0aa7115

Browse files
committed
Merge branch 'master' into release/0.11.5
2 parents 959ad31 + cebccfd commit 0aa7115

File tree

3 files changed

+58
-177
lines changed

3 files changed

+58
-177
lines changed

.github/workflows/ado_sync.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Sync issue to Azure DevOps work item
2+
3+
on:
4+
issues:
5+
types:
6+
[opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned]
7+
issue_comment:
8+
types: [created, edited, deleted]
9+
10+
concurrency:
11+
group: issue-${{ github.event.issue.number }}
12+
cancel-in-progress: false
13+
14+
jobs:
15+
alert:
16+
if: ${{ !github.event.issue.pull_request }}
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: danhellem/github-actions-issue-to-work-item@master
20+
env:
21+
ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}"
22+
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"
23+
ado_organization: "${{ vars.ADO_ORGANIZATION }}"
24+
ado_project: "${{ vars.ADO_PROJECT_NAME }}"
25+
ado_area_path: "${{ vars.ADO_AREA_PATH }}"
26+
ado_iteration_path: "${{ vars.ADO_ITERATION_PATH }}"
27+
ado_wit: ${{ (contains(github.event.issue.title, 'FEATURE') || contains(github.event.issue.title, 'DOCS')) && 'Product Backlog Item' || 'Bug' }}
28+
ado_new_state: "New"
29+
ado_active_state: ${{ (contains(github.event.issue.title, 'FEATURE') || contains(github.event.issue.title, 'DOCS')) && 'Active' || 'Committed' }}
30+
ado_close_state: ${{ (contains(github.event.issue.title, 'FEATURE') || contains(github.event.issue.title, 'DOCS')) && 'Closed' || 'Done' }}
31+
ado_bypassrules: true
32+
log_level: 100

LICENSE.md

Lines changed: 0 additions & 177 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright (c) Business Thinking Ltd. 2019-2023
3+
* This software includes code developed by the AutomateDV (f.k.a dbtvault) Team at Business Thinking Ltd. Trading as Datavault
4+
*/
5+
6+
{%- macro sqlserver_datepart_too_small_error(period) -%}
7+
8+
{%- set error_message -%}
9+
This datepart ({{ period }}) is too small and cannot be used for this purpose in MS SQL Server, consider using a different datepart value (e.g. day).
10+
vault_insert_by materialisations are not intended for this purpose, please see https://automate-dv.readthedocs.io/en/latest/materialisations/
11+
{%- endset -%}
12+
13+
{{- exceptions.raise_compiler_error(error_message) -}}
14+
15+
{%- endmacro -%}
16+
17+
{%- macro sqlserver_max_iterations_error() -%}
18+
19+
{%- set error_message -%}
20+
Max iterations is 100,000. Consider using a different datepart value (e.g. day) or loading data for a shorter time period.
21+
vault_insert_by materialisations are not intended for this purpose, please see https://automate-dv.readthedocs.io/en/latest/materialisations/
22+
{%- endset -%}
23+
24+
{{- exceptions.raise_compiler_error(error_message) -}}
25+
26+
{%- endmacro -%}

0 commit comments

Comments
 (0)