Skip to content

Commit

Permalink
Merge branch 'current' into fix/kms_key_name_for_snapshots_and_seeds_…
Browse files Browse the repository at this point in the history
…supported
  • Loading branch information
mirnawong1 authored Nov 30, 2022
2 parents a3f6aa1 + 38cc18a commit 77f2e22
Show file tree
Hide file tree
Showing 1,062 changed files with 47,054 additions and 13,597 deletions.
13 changes: 8 additions & 5 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Lower entries on this list take precedence

# Anything unmatched by selectors below
* @annafil @runleonarun
* @runleonarun

# Cloud docs and images are assigned to Leona
/website/docs/docs/dbt-cloud/dbt-cloud-changelog.md @runleonarun
Expand All @@ -10,15 +10,18 @@
/website/static/img/docs/dbt-cloud/ @runleonarun

# Blog content assigned to Developer experience team
/website/blog/ @dbt-labs/devex
/website/blog/ @runleonarun



# Adapter & Package Development Docs
/website/docs/docs/available-adapters.md/ @runleonarun @amychen1776 @dataders
/website/docs/reference/warehouse-profiles/ @runleonarun @amychen1776 @dataders
/website/docs/guides/building-packages @runleonarun @amychen1776 @dataders @dbeatty10
/website/docs/docs/supported-data-platforms.md/ @runleonarun @dataders
/website/docs/reference/warehouse-profiles/ @runleonarun @dataders
/website/docs/reference/resource-configs/ @runleonarun @dataders
/website/docs/guides/building-packages @runleonarun @amychen1776 @dataders @dbeatty10
/website/docs/contributing/building-a-new-adapter @runleonarun @dataders @dbeatty10
/website/docs/contributing/testing-a-new-adapter @runleonarun @dataders @dbeatty10
/website/docs/guides/creating-new-materializations @runleonarun @dataders @dbeatty10
/website/docs/docs/dbt-cloud/cloud-configuring-dbt-cloud/ @runleonarun @dataders @dbeatty10


54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/contribute-to-developer-blog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Contribute to the dbt Developer Blog
description: >
For proposing a new post on the dbt Developer Blog.
labels: ["content","developer blog"]
body:
- type: markdown
attributes:
value: |
We're excited to hear about your idea for the dbt Developer Blog. This template will help lay out the proposed post and then we will work with on next steps!
- type: input
id: contact
attributes:
label: Contact Details
description: How can we get in touch with you?
placeholder: your preferred email and/or dbt Slack handle
validations:
required: true

- type: checkboxes
id: read-contribution
attributes:
label: I have read the dbt Developer Blog contribution guidelines.
description: You can find the contribution guide [here](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/developer-blog.md)
options:
- label: I have read the dbt Developer Blog contribution guidelines.
validations:
required: true

- type: checkboxes
id: author_type
attributes:
label: Which of these best describes you?
options:
- label: I am a dbt Community member or partner contributing to the Developer Blog
- label: I work for dbt Labs and am creating this issue for a community or marketing approved piece.
validations:


- type: textarea
attributes:
label: >
What is the topic of your post?
description: |
Please provide a short (~ 1 paragraph) summary as well as who this post is targeted towards (ie people interested in learning more about dbt snapshots or advanced Jinja users)
validations:
required: true

- type: textarea
attributes:
label: Link to an initial outline.
description: Please link to a short outline in Notion, or Google Docs
validations:
required: true
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/direct-from-marketing.yml

This file was deleted.

79 changes: 0 additions & 79 deletions .github/ISSUE_TEMPLATE/promote-discussion-to-blog.yml

This file was deleted.

7 changes: 5 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<!---
Describe your changes, and why you're making them. Is this linked to an open
issue, a pull request on dbt core, etc?
To learn more about the writing conventions used in the dbt Labs docs, see the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md).
-->

## To-do before merge
Expand All @@ -14,8 +16,8 @@ Include any notes about things that need to happen before this PR is merged, e.g

## Prerelease docs
If this change is related to functionality in a prerelease version of dbt (delete if not applicable):
- [ ] I've added versioning components, as described in ["Versioning Docs"](../contributing/versioningdocs.md)
- [ ] I've added a note to the prerelease version's [Migration Guide](../website/docs/docs/guides/migration-guide)
- [ ] I've added versioning components, as described in ["Versioning Docs"](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/versioningdocs.md)
- [ ] I've added a note to the prerelease version's [Migration Guide](https://github.com/dbt-labs/docs.getdbt.com/tree/current/website/docs/guides/migration/versions)

## Checklist
If you added new pages (delete if not applicable):
Expand All @@ -25,3 +27,4 @@ If you added new pages (delete if not applicable):
If you removed existing pages (delete if not applicable):
- [ ] The page has been removed from `website/sidebars.js`
- [ ] An entry has been added to `_redirects`
- [ ] [Run link testing](https://github.com/dbt-labs/docs.getdbt.com#running-the-cypress-tests-locally) to update the links that point to the deleted page
18 changes: 18 additions & 0 deletions .github/workflows/create_next_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
push:
branches:
- "current"

jobs:
pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: pull-request
uses: repo-sync/pull-request@v2
with:
source_branch: "current"
destination_branch: "next"
pr_title: "Merge current branch into next"
pr_body: "*An automated PR to keep the next branch up to date with current*"
github_token: ${{ secrets.GITHUB_TOKEN }}
47 changes: 47 additions & 0 deletions .github/workflows/cypress_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: cypress tests

on:
pull_request:
branches:
- current

jobs:
start-workflow:
name: start workflow
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: install node
uses: actions/setup-node@v2
with:
node-version: '16.13.1'

- name: npm install
run: cd website && npm ci

- name: setup env
run: |
PR_NUMBER=$(jq --raw-output .pull_request.number ${{ github.event_path }})
echo "PR_NUMBER=${PR_NUMBER}" >> ${GITHUB_ENV}
- name: run cypress e2e
uses: cypress-io/github-action@v4
with:
command: npx cypress run
browser: chrome
working-directory: website
spec: cypress/e2e/*.cy.js
wait-on: https://deploy-preview-${{ env.PR_NUMBER }}--docs-getdbt-com.netlify.app
wait-on-timeout: 600
env:
CYPRESS_BASE_URL: https://deploy-preview-${{ env.PR_NUMBER }}--docs-getdbt-com.netlify.app

- name: Screenshot artifact upload
uses: actions/upload-artifact@v2
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
28 changes: 19 additions & 9 deletions .github/workflows/labelsizer.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
name: Add size label to PR
on:
pull_request_target
name: labeler

on: [pull_request_target]

jobs:
build:
name: Add Size Label to PR
labeler:
runs-on: ubuntu-latest
name: Label the PR size
steps:
- name: Add Size Label to PR
uses: WizardOhio24/[email protected]
with:
- uses: codelytv/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
size-label-color: '10, size: x-small | 50, size: small | 250, size: medium | 500, size: large | 100000, size: x-large'
xs_label: 'size: x-small'
xs_max_size: '10'
s_label: 'size: small'
s_max_size: '50'
m_label: 'size: medium'
m_max_size: '250'
l_label: 'size: large'
l_max_size: '100000'
xl_label: 'size: x-large'
fail_if_xl: 'false'
files_to_ignore: ''

7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ website/build/
website/yarn.lock
website/node_modules
website/i18n/*

# Local vs code
.vscode
# Local Netlify folder
.netlify

.vscode
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"spellright.language": [
"en"
],
"spellright.documentTypes": [
"latex",
"plaintext"
]
}
Loading

0 comments on commit 77f2e22

Please sign in to comment.