Skip to content

Commit fc9fb80

Browse files
authored
Merge branch 'master' into fix-workflows-regression
2 parents 6c247bc + 650619e commit fc9fb80

86 files changed

Lines changed: 1534 additions & 1042 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/close_pylon_issue.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,26 @@ name: Close Pylon Ticket on Issue or Pull Request Closure
33
on:
44
issues:
55
types: [closed]
6-
pull_request:
6+
pull_request_target:
77
types: [closed]
88

99
jobs:
1010
close_pylon_ticket:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Check out the repository
14-
uses: actions/checkout@v2
15-
1613
- name: Extract Pylon Ticket ID
1714
id: extract_ticket_id
1815
run: |
1916
if [[ "${{ github.event_name }}" == 'issues' ]]; then
2017
ISSUE_BODY=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
2118
"https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}" | jq -r '.body')
2219
pylon_ticket_id=$(echo "$ISSUE_BODY" | grep -oP '(?<=<!-- pylon-ticket-id: )\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b(?= -->)')
23-
elif [[ "${{ github.event_name }}" == 'pull_request' ]]; then
20+
elif [[ "${{ github.event_name }}" =~ ^pull_request ]]; then
2421
PR_BODY=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
2522
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}" | jq -r '.body')
2623
pylon_ticket_id=$(echo "$PR_BODY" | grep -oP '(?<=<!-- pylon-ticket-id: )\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b(?= -->)')
2724
fi
28-
echo "::set-output name=pylon_ticket_id::$pylon_ticket_id"
25+
echo "pylon_ticket_id=$pylon_ticket_id" >> "$GITHUB_OUTPUT"
2926
3027
- name: Close Pylon Ticket
3128
if: steps.extract_ticket_id.outputs.pylon_ticket_id != ''

.github/workflows/create_pylon_issue.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,13 @@ name: Create Pylon Issue
33
on:
44
issues:
55
types: [opened]
6-
pull_request:
6+
pull_request_target:
77
types: [opened]
88

99
jobs:
1010
create_pylon_issue:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Check out the repository
14-
uses: actions/checkout@v2
15-
1613
- name: Install jq
1714
run: sudo apt-get install -y jq
1815

@@ -46,7 +43,7 @@ jobs:
4643
"https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}"
4744
4845
- name: Create Pylon Issue for Pull Request
49-
if: github.event_name == 'pull_request'
46+
if: contains(github.event_name, 'pull_request')
5047
run: |
5148
response=$(curl --request POST \
5249
--url https://api.usepylon.com/issues \

.github/workflows/remind-docs-and-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Remind docs and tests
22
on:
3-
pull_request:
3+
pull_request_target:
44
branches: ["master"]
55
jobs:
66
run:

.github/workflows/test-all-warehouses.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
dbt-version: ${{ inputs.dbt-version && fromJSON(format('["{0}"]', inputs.dbt-version)) || fromJSON('["1.3.0", null]') }}
28+
dbt-version: ${{ inputs.dbt-version && fromJSON(format('["{0}"]', inputs.dbt-version)) || fromJSON('["1.7.0", null]') }}
2929
warehouse-type:
3030
[
3131
postgres,
@@ -34,6 +34,8 @@ jobs:
3434
redshift,
3535
databricks,
3636
databricks_catalog,
37+
athena,
38+
clickhouse,
3739
]
3840
uses: ./.github/workflows/test-warehouse.yml
3941
with:

.github/workflows/test-main-warehouse.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Test main warehouse platform
22
on:
3-
pull_request:
3+
pull_request_target:
44
branches: ["master"]
55
paths:
66
- elementary/**
@@ -13,4 +13,5 @@ jobs:
1313
uses: ./.github/workflows/test-warehouse.yml
1414
with:
1515
warehouse-type: postgres
16+
elementary-ref: ${{ (github.event_name == 'pull_request_target' && github.event.pull_request.head.sha) || '' }}
1617
secrets: inherit

.github/workflows/test-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ jobs:
5454
redshift,
5555
databricks,
5656
databricks_catalog,
57+
athena,
58+
clickhouse,
5759
]
5860
needs: get-latest-release-tags
5961
uses: ./.github/workflows/test-warehouse.yml

.github/workflows/test-warehouse.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on:
1414
- databricks
1515
- databricks_catalog
1616
- spark
17+
- athena
18+
- clickhouse
1719
elementary-ref:
1820
type: string
1921
required: false
@@ -77,6 +79,7 @@ env:
7779
jobs:
7880
test:
7981
runs-on: ubuntu-latest
82+
environment: elementary_test_env # This is a github environment (not to be confused with env vars)
8083
defaults:
8184
run:
8285
working-directory: elementary

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ For additional information and help, you can use one of these channels:
9595
<a href="https://github.com/noaKurman"><img src="https://avatars.githubusercontent.com/u/16741969?v=4" width="50" height="50" alt=""/></a>
9696
<a href="https://github.com/NoyaArie"><img src="https://avatars.githubusercontent.com/u/31591071?v=4" width="50" height="50" alt=""/></a>
9797
<a href="https://github.com/ellakz"><img src="https://avatars.githubusercontent.com/u/18530437?v=4" width="50" height="50" alt=""/></a>
98+
<a href="https://github.com/NoyaOffer"><img src="https://avatars.githubusercontent.com/u/192613179?v=4" width="50" height="50" alt=""/></a>
99+
<a href="https://github.com/elazarlachkar"><img src="https://avatars.githubusercontent.com/u/62235929?v=4" width="50" height="50" alt=""/></a>
98100
<a href="https://github.com/ofek1weiss"><img src="https://avatars.githubusercontent.com/u/55920061?v=4" width="50" height="50" alt=""/></a>
99101
<a href="https://github.com/erikzaadi"><img src="https://avatars.githubusercontent.com/u/77775?v=4" width="50" height="50" alt=""/></a>
100102
<a href="https://github.com/dapollak"><img src="https://avatars.githubusercontent.com/u/13542197?v=4" width="50" height="50" alt=""/></a>
@@ -193,6 +195,10 @@ For additional information and help, you can use one of these channels:
193195
<a href="https://github.com/JanDintel"><img src="https://avatars.githubusercontent.com/u/3646888?v=4" width="50" height="50" alt=""/></a>
194196
<a href="https://github.com/kokorin"><img src="https://avatars.githubusercontent.com/u/1089148?v=4" width="50" height="50" alt=""/></a>
195197
<a href="https://github.com/slaupster"><img src="https://avatars.githubusercontent.com/u/9283885?v=4" width="50" height="50" alt=""/></a>
198+
<a href="https://github.com/talperetz1"><img src="https://avatars.githubusercontent.com/u/82938736?v=4" width="50" height="50" alt=""/></a>
199+
<a href="https://github.com/nkmr-jp"><img src="https://avatars.githubusercontent.com/u/8490118?v=4" width="50" height="50" alt=""/></a>
200+
<a href="https://github.com/dbt-markwan"><img src="https://avatars.githubusercontent.com/u/114556261?v=4" width="50" height="50" alt=""/></a>
201+
<a href="https://github.com/pedro-klein-ext-bayer"><img src="https://avatars.githubusercontent.com/u/181362556?v=4" width="50" height="50" alt=""/></a>
196202

197203

198204
<!-- markdownlint-restore -->

docs/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
FROM node:19
1+
FROM node:23
22

33
WORKDIR /app
44
RUN npm i -g mintlify
5-
RUN mintlify install
65

76
EXPOSE 3000
87
CMD ["mintlify", "dev"]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
You will connect Elementary Cloud to Clickhouse for syncing the Elementary schema (created by the [Elementary dbt package](/cloud/onboarding/quickstart-dbt-package)).
2+
3+
<Snippet file="cloud/integrations/create-user-operation.mdx" />
4+
5+
### Fill the connection form
6+
7+
Provide the following fields:
8+
9+
- **Host**: The hostname of your Clickhouse account to connect to. This can either be a hostname or an IP address.
10+
- **Port**: The port of your Clickhouse account to connect to.
11+
- **Elementary schema**: The name of your Elementary schema. Usually `[schema name]_elementary`.
12+
- **User**: The name of the for Elementary user.
13+
- **Password**: The password associated with the provided user.
14+
15+
<Snippet file="cloud/integrations/ip-allowlist.mdx" />

0 commit comments

Comments
 (0)